Configures forwarding actions by VLAN ID to be performed on outgoing packets.
no vlan
vlan-idListener-policy config mode
The following example configures the VLAN ID for listener policy, and then uses the show command to verify the configuration.
device# configure terminal device(config)# listener-policy lp1 12 device(config-listener-policy)# vlan 500 device(config-listener-policy)# end device# device# show listener-policy lpl 12 forward-action permit match ip access-list test_2 (active) truncate 512 strip vn-tag vlan 500 Policy matches: 0 packets, 0 bytes, 0 Packets/sec, 0 Bits/sec
The following example removes the VLAN ID configuration from the listener policy, and then uses the show command to verify the VLAN ID is removed from the configuration.
device# configure terminal device(config)# listener-policy lp1 12 device(config-listener-policy)# no vlan device(config-listener-policy)# end device# device# show listener-policy lpl 12 forward-action permit match ip access-list test_2 (active) truncate 512 strip vn-tag Policy matches: 0 packets, 0 bytes, 0 Packets/sec, 0 Bits/sec