123
Configuring TPID on a Layer 3 Ethernet/aggregate
subinterface
To configure VLAN termination on a Layer 3 Ethernet subinterface or Layer 3 aggregate subinterface,
follow these steps to configure the TPID value in the outer VLAN tag of packets received and sent by the
subinterface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
•
Enter Layer 3 Ethernet interface view
:
interface
interface-type interface-number
•
Enter Layer 3 aggregate interface view
:
interface route-aggregation
interface-number
Use either command.
Configurations made in Layer
3 Ethernet interface view take
effect on all subinterfaces.
Configurations made in Layer
3 aggregate interface view
take effect on all the Layer 3
aggregate subinterfaces of
the interface.
3.
Set the TPID value in the
outer VLAN tag of
packets received and
sent by the interface.
dot1q ethernet-type
hex-value
Optional.
By default, the TPID value in
the outer VLAN tag is
0x8100.
If the interface receives and
sends QinQ packets, the TPID
value in the inner VLAN tag of
packets is always 0x8100,
and is not configurable.
If not specified, the TPID value in the outer VLAN tag of packets takes the default value 0x8100.
Configuring TPID on a Layer 2 Ethernet or aggregate interface
To configure VLAN termination on a VLAN interface, set the TPID value in the outer VLAN tag of packets
received and sent by Layer 2 physical interfaces in the corresponding VLAN. If not specified, the TPID
value in the outer VLAN tag of packets takes the default value 0x8100.
To set the TPID value for VLAN-tagged packets on a Layer 2 Ethernet or aggregate interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
•
Enter Layer 2 Ethernet interface view
:
interface
interface-type
interface-number
•
Enter Layer 2 aggregate interface
view
:
interface bridge-aggregation
interface-number
Use either command.
Configurations made in Layer 2
aggregate interface view take
effect on all the member interfaces
in the aggregation group.