beautypg.com

3 dot1q-tunnel tpid – PLANET XGS3-24040 User Manual

Page 154

background image

11-20

mutually exclusive.

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)#

11.1.3 dot1q-tunnel tpid

Command:

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

Function:

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

Parameter:

None.

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.

Switch(config)#interface ethernet 1/10

Switch(Config-If-Ethernet1/10)#switchport mode trunk

Switch(Config-If-Ethernet1/10)#dot1q-tunnel tpid 0x9100