R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)

129
Ste
p
Command
Remarks
2. Enter interface view.
Enter Layer 3 Ethernet subinterface
view:
interface interface-type
interface-number.subnumber
Enter Layer 3 aggregate subinterface
view:
interface route-aggregation
interface-number.subnumber
Enter Layer 3 VE subinterface view:
interface virtual-ethernet
interface-number.subnumber
Enter VE-L3VPN-Access subinterface
view:
interface ve-l3vpn-access
interface-number.subnumber
Use one of the
commands.
3. Enable Dot1q termination on the
subinterface, and configure the
subinterface to terminate the
VLAN-tagged packets whose
outermost VLAN IDs match the
specified VLAN ID.
vlan-type dot1q vid vlan-id N/A
Configuring the TPID for VLAN-tagged packets
To configure VLAN termination on a Layer 3 Ethernet subinterface, Layer 3 aggregate subinterface, Layer
3 VE subinterface, or VE-L3VPN-Access subinterface, set the TPID value in the outermost VLAN tag of
packets received and sent by the main interface. When the interface receives a packet, it checks the TPID
value in the outermost VLAN tag of the packet. If the TPID value is 0x8100 or the configured value, the
interface considers the packet as a VLAN-tagged packet. When sending a packet, the interface sets the
TPID value in the outermost VLAN tag to the configured value, and sets the TPID values in the other VLAN
tags to 0x8100 if the packet carries two or more layers of VLAN tags.
To set the TPID value for VLAN-tagged packets:
Ste
p
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
Enter Layer 3 VE interface view:
interface virtual-ethernet
interface-number
Enter VE-L3VPN-Access interface view:
interface ve-l3vpn-access
interface-number
Configurations made in
interface view take effect on all
subinterfaces.