4 dot1q-tunnel tpid, 4 dot1q-tunnel tpid -48 – PLANET XGS3-24042 User Manual

Page 202

Advertising
background image

12-48

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 8100 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, and also on trunk ports however

only when associating the VLAN translation function. This command and dot1q-tunnel tpid are

mutually exclusive.

Example:

Join port1 into VLAN3, enable dot1q-tunnel function.

Switch(config)#vlan 3

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

Switch(Config-Vlan3)#exit

Switch(config)#interface ethernet 1/0/1

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

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

Switch(config)#

12.1.4 dot1q-tunnel tpid

Command:

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

Function:

Configure the type (TPID) of the protocol of switch trunk port.

Command Mode:

Port Mode.

Default:

TPID on the port is defaulted at 0x8100.

Usage Guide:

This function is to facilitate internetworking with equipments of other manufacturers. If the

equipment connected with the switch trunk port sends data packet with a TPID of 0x9100, the port

TPID will be set to 0x9100, this way switch will receive and process data packets normally. This

command and dot1q-tunnel enable are mutually exclusive.

Example:

Set port10 of the switch to trunk port and sends data packet with a TPID of 0x9100.

Advertising
This manual is related to the following products: