195
no dot1q-tunnel enable
Function:
Set the access port of the switch to dot1q-tunnel mode; the “
no dot1q-tunnel
enable
” 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 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.
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-Ethernet1/1)# dot1q-tunnel enable
Switch(Config-Ethernet1/1)# exit
6.3.3.2 dot1q-tunnel tpid
Command: dot1q-tunnel tpid {8100|9100|9200|<0-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 8100.
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 9100, the port TPID will be set to 9100, this way switch will receive and
process data packets normally.
Example:
Set port10 of the switch to trunk port and sends data packet with a TPID of
9100
Switch(Config)#interface ethernet 1/10
Switch(Config-Ethernet1/10)#switchport mode trunk
Switch(Config-Ethernet1/10)#dot1q-tunnel tpid 9100