mac

147
4.1.4 dot1q-tunnel selective enable
Command: dot1q-tunnel selective enable
no dot1q-tunnel selective enable
Function: Specify a port to enable selective QinQ, the no command restores the default
value.
Parameter: None.
Command Mode: Port mode
Default: Do not enable selective QinQ.
Usage Guide: Enable selective QinQ command should associates with hybrid mode, and
it should not be used with dot1q-tunnel enable synchronously.
Example: Enable dot1q-tunnel selective enable of port1.
Switch#config
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#dot1q-tunnel selective enable
4.1.5 dot1q-tunnel selective s-vlan
Command: dot1q-tunnel selective s-vlan <s-vlan> c-vlan <c-vid-list>
no dot1q-tunnel selective s-vlan <s-vlan> c-vlan <c-vid-list>
Function: Add the mapping relation between users VLAN ID list and SP VLAN ID for
selective QinQ, the no command deletes the mapping.
Parameters: s-vlan is SP VLAN ID, c-vid-list is the range of users VLAN ID.
Command Mode: Global/ port mode
Default: There is no mapping relation.
Usage Guide: This command is used to configure the mapping relation for selective QinQ.
If packets match the mapping relation, they will be tagged with SP vlan tag as the outer
VLAN tag.
Example: Packets of VLAN 100 through VLAN 200 are tagged with the tag of VLAN 1000
as the outer VLAN tag on Ethernet1/1.
Switch#config
Switch(config)# dot1q-tunnel selective s-vlan 1000 c-vlan 100-200
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#dot1q-tunnel selective enable
Switch(Config-If-Ethernet1/1)#exit
Switch(config)#
4.1.6 dot1q-tunnel tpid