H3C S3100 Series Command Manual page 964

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Syntax
vlan-vpn tpid value
undo vlan-vpn tpid
View
System view
Parameters
value: User-defined TPID value (in hexadecimal format), in the range 0x0001 to 0xFFFF.
Description
Use the vlan-vpn tpid command to set the global TPID value. With the TPID value set , the port fills the
value to the TPID field of the outer tag to be added for a packet and, upon receiving a packet, compares
the TPID value with the TPID field of the packet to determine whether the packet carries a VLAN tag or
not.
Use the undo vlan-vpn tpid command to restore the default TPID value.
The default TPID value is 0x8100.
For the position and function of the TPID field in a packet, refer to VLAN Operation.
The TPID field in an Ethernet frame has the same position with the protocol type field in a frame without
a VLAN tag. To prevent other devices in the network from recognizing the tag-encapsulated packets of
the current switch as protocol packets, you are not allowed to set the TPID value to any of the values in
the table below.
Table 1-2 Common Ethernet frame protocol type values
ARP
IP
MPLS
IPX
IS-IS
LACP
802.1x
Examples
# Set the global TPID value to 0x9100.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan-vpn tpid 9100
Protocol type
0x0806
0x0800
0x8847/0x8848
0x8137
0x8000
0x8809
0x888E
1-3
Value

Advertisement

Table of Contents
loading

Table of Contents