3Com 10014299 Network Router User Manual


 
330 CHAPTER 21: CONFIGURING IP APPLICATION
Figure 122 Format of VLAN tag
TPID (Tag Protocol Identifier) field has two bytes. When its value is 0X8100, it
means the Ethernet frame header contains VLAN tag. The third and fourth byte
are TCI (Tag Control Information) fields, with the higher three bits being user
priority field, the fourth being the instruction of standard encapsulation format
and the other 12 bits being VLAN IDs whose value ranges from 0 to 4094 (the
value must begin with 1 on routers).
Configure VLAN VLAN Configuration includes:
Create Ethernet subinterface.
Specify the VLAN to which Ethernet subinterface belongs.
Configure IP address of Ethernet subinterface.
1 Create Ethernet subinterface
Among the VLAN configuration tasks of the 3Com Router series, Ethernet
subinterface should first be created and then other functions are to be configured.
After deleting Ethernet subinterface, the original interface parameters will be
invalidated.
Please implement the following configuration under the system view.
Table 362 Create Ethernet subinterface
By default, Ethernet subinterface is not created.
2 Specify the VLAN on which Ethernet subinterface is located
In order to enable a certain Ethernet subinterface to receive and transmit VLAN
message, it is necessary to specify to which VLAN the subinterface belongs, i.e., to
specify the ID number of the VLAN.
Please implement the following configuration under Ethernet subinterface view.
Table 363 Specify the VLAN on which Ethernet subinterface is located
By default, Ethernet subinterface does not specify VLAN ID.
It must be noted that if VLAN ID is not specified for the created Ethernet
subinterface, the Ethernet subinterface can only carry IPX data, but cannot
configure IP address to carry IP data.
3 Configure IP address of Ethernet subinterface
TCI(Tag Control Information)
0Priority
*
VLAN ID
Byte 1 Byte 2 Byte 3 Byte 4
1
75643
021 7 056 4321
TPID(Tag Protocol Identifier)
100 0000 0000000
7056 4321 7056 4321
Operation Command
Create Ethernet subinterface and enter
Ethernet subinterface view
interface ethernet
interface-number.subinterface-number
Delete specified Ethernet subinterface undo interface ethernet
interface-number.subinterface-number
Operation Command
Specify the VLAN on which Ethernet
subinterface is located
vlan-type dot1q vid vlan-id
Remove the specification for the
belonging of the Ethernet subinterface
undo vlan-type