Follow this procedure to strip VLAN tags to support the encapsulation type expected by your traffic-analysis tools.
Note
In the examples that follow the configuration commands for this task, bold font is used to show the relationship between the items you configure and then bind. The example parameters and optional settings are only a partial set of those available. For more information, see the Extreme 9920 Software Command Reference, 21.1.0.0 .device(config)#
The specified ACL and configured actions will be bound to a listener policy.
device(config)# ip access-list acl3-ipv4 device(config-ip-acl)# seq 12 permit ip any any count
Note
A listener policy supports only one of each of each ACL type: IP, IPv6, MAC .device(config)# listener-policy lp-10 5 device(config-listener-policy)# match ip access-list acl3-ipv4 device(config-listener-policy)# strip vlan-tag device(config-listener-policy)# description "ipv4 listener policy, strip vlan tag"
Note
An egress can be associated with only one listener policy.device(config-egress)# egress e3 device(config-egress)# set listener-policy lp-3 device(config-egress)# description DirectTool device(config-egress)# precedence 1 interface ethernet 1/14
device(config)# egress-group eg_5 device(config-egress-group)# description e-group_5 device(config-egress-group)# set egress e3
Note
A route-map policy supports only one match-ACL per layer.device(config)# route-map R2 10 device(config-route-map)# match ip access-list acl3-ipv4 device(config-route-map)# set egress-group eg_5 device(config-route-map)# forward-action permit
Note
An ingress group can be associated with only one route map.device(config)# ingress-group TAP_TRAFFIC device(config-ingress-group)# set route-map R2
Note
In the following example, traffic is coming in on slot/port-number 2/3.interface ethernet 1/3 description From_TAP ingress-group TAP_TRAFFIC no shutdown
Note
In the following example, traffic is leaving on slot/port-number 2/14.interface ethernet 2/14 description To_Tool no shutdown