beautypg.com

4 dot1q-tunnel selective enable, 4 dot1q-tunnel selective enable -28 – PLANET WGSW-52040 User Manual

Page 259

background image

17-28

dot1q-tunnel enable

no dot1q-tunnel enable

Function:

Set the access port of the switch to dot1q-tunnel mode; the no command restores to default.

Parameter:

None.

Command Mode:

Port Mode.

Default:

Dot1q-tunnel function disabled on the port by default.

Usage Guide:

After enabling dot1q-tunnel on the port, data packets without VLAN tag (referred to as tag) will be packed with a tag

when entering through the port; those with tag will be packed with an external tag. The TPID in the tag is the global

configuration TPID. it default value is 0x8100, and the VLAN ID is the VLAN ID the port belongs to. Data packets with

double tags will be forwarded according to MAC address and external tag, till the external tag is removed when

transmitted outside from the access port. Since the length of the data packet may be over sized when packed with

external tag, it is recommended to use this command associating the Jumbo function. Normally this command is

used on access ports. This command can not be used when vlan-translation enabled.

Example:

Join port1 into VLAN3, enable dot1q-tunnel function.

Switch(config)#vlan 3

Switch(Config-Vlan3)#switchport interface ethernet 1/1

Switch(Config-Vlan3)#exit

Switch(config)#interface ethernet 1/1

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

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

Switch(config)#

17.1.4 dot1q-tunnel selective enable

Command:

dot1q-tunnel selective enable

no dot1q-tunnel selective enable