strip

Removes the specified headers from incoming packets (802.1BR, VN, or VLAN).

Syntax

strip [ br-tag | vlan-tag | vn-tag ]
no strip [ br-tag | vlan-tag | vn-tag ]

Parameters

br-tag
Strips 802.1BR tag from the packet header.
vlan-tag
Strips vlan tag from the packet header.
vn-tag
Strips VN tag from the packet header.

Modes

Listener-policy config mode

Usage Guidelines

vn-tag cannot be enabled if br-tag is already enabled.

The no strip command removes the strip configuration.

Table 1. Error messages
Message Reason
Error: VN tag strip already enabled for listener policy name when strip br-tag is configured already You must configure VN and BR tag-stripping in separate listener policies.
Error: BR tag strip already enabled for listener policy name when strip vn-tag is configured already

Examples

The following example removes the specified headers.

device# configure terminal   
device(config)# listener-policy lp1 <sId>  
device(config-listener-policy)#  strip br-tag 
device(config-listener-policy)# strip vlan-tag 

listener-policy rt 45 
  strip br-tag  
  strip vlan-tag

NPB(config-listener-policy)# strip vn-tag 
device(config-listener-policy)# strip vn-tag    
Error: BR Tag Strip already enabled for listener policy abc 

device(config-listener-policy)# strip br-tag  
Error: VN Tag Strip already enabled for listener policy abc