Perform this procedure to map an ACL to an ingress policy and an egress and define actions for a matching ACL.
device(config)#
device(config)# ip access-list acl-name
device(config)# listener-policy lp-2 device(config-listener-policy)# match ip access-list acl5-ipv4 device(config-listener-policy)# strip-brtag device(config-listener-policy)# vlan vl-4085 device(config-listener-policy)# description “ABCD”
device(config-egress)# egress e2 device(config-egress)# set listener-policy lp-2 device(config-egress)# precedence 1 interface ethernet 1/14
device(config-egress-group)# egress-group eg_1 device(config-egress-group)# description egress-group_1 device(config-egress-group)# set egress e2
device(config-route-map)# route-map R1 10 device(config-route-map)# forward-action permit device(config-route-map)# match ip access-list test_1 device(config-route-map)# set egress-group eg_1
Note
In the following example, traffic is leaving on slot/port number 2/14.interface ethernet 2/14 speed 100000 description To_Tool no shutdown
Note
In the following example, traffic is coming in on slot/port number 2/3.interface ethernet 2/3 description From_TAP ingress-group TAP_TRAFFIC no shutdown
ingress-group TAP_TRAFFIC set route-map R1 10