Previous Topic: What is an Access Map?Next Topic: Using VACLs to Capture Traffic


Configure an Access Map

Use this procedure to configure an access map.

Follow these steps:

  1. Define the access map using the following format:
    VLAN access-map map_name [0-65535]
    

    For example:

    vlan access-map SA-Capture 10 
    
  2. Configure the match clause using the following format:
    match ip address acl_name 
    

    For example:

    match ip address 101 
    
  3. Configure the action clause using the following format:
    Action {forward | forward [capture] | drop | redirect }
    

    For example:

    action forward 
    
  4. Apply the access map to the VLAN using the vlan filter command.

Example:

NetQoS--SPAN--ConfigureAccessMap--scr

The VACL in the example is configured to deny ICMP traffic on VLAN 10. The ACL permits TCP and UDP traffic only, which implicitly denies all other Layer 3 traffic. The access map applies the ACL with a priority of 30 and specifies that traffic meeting the ACL is forwarded to its destination. The vlan filter command applies the access map to VLAN 10.