R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

160
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
Use one of the commands.
3. Enable QinQ termination
on the subinterface, and
configure the subinterface
to terminate the
VLAN-tagged packets
whose outermost two layers
of VLAN tags match the
specified values.
vlan-type dot1q vid vlan-id second-dot1q
{ vlan-list | any }
By default, QinQ
termination is not
enabled.
Enabling a VLAN termination-enabled interface to
transmit broadcasts and multicasts
By default, an ambiguous Dot1q/QinQ termination-enabled interface drops broadcasts and multicasts
they receive, instead of transmitting them. You can enable an interface configured with ambiguous
Dot1q/QinQ termination to transmit broadcasts and multicasts.
To enable a VLAN termination-enabled interface to transmit broadcasts and multicasts:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
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
Use one of the commands.
3. Enable the interface to
transmit broadcasts and
multicasts
vlan-termination broadcast enable
By default, an ambiguous
Dot1q/QinQ termination-enabled
subinterface does not transmit
broadcasts and multicasts.
Configuring the TPID for VLAN-tagged packets
To configure VLAN termination on a Layer 3 Ethernet subinterface or Layer 3 aggregate 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