6 dot1q-tunnel tpid, 6 dot1q-tunnel tpid -30 – PLANET WGSW-52040 User Manual

Page 261

Advertising
background image

17-30

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. If the c-vlan value configured by user is a range, 8 ranges

are supported by per port. If it is a single value, it can be configured more than one.

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)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)# dot1q-tunnel selective s-vlan 1000 c-vlan 100-200

Switch(Config-If-Ethernet1/1)# dot1q-tunnel selective enable

Switch(Config-If-Ethernet1/1)#exit

Switch(config)#

17.1.6 dot1q-tunnel tpid

Command:

dot1q-tunnel tpid {0x8100|0x9100|0x9200| <1-65535> }

Function:

Configure the global protocol type (TPID) of the switch.

Parameter:

None.

Command Mode:

Global Mode.

Default:

TPID on global is defaulted at 0x8100.

Usage Guide:

Advertising