To do...
3.
Enable the ambiguous Dot1q/QinQ
termination-enabled Layer 3
Ethernet/aggregate subinterface to
transmit broadcasts and multicasts
Configuring Dot1q termination
Based on the range of VLAN IDs in the VLAN-tagged packets that can be terminated by a Layer 3
Ethernet subinterface, Dot1q termination falls into two categories:
Unambiguous Dot1q termination, which terminates VLAN-tagged packets with the specified VLAN
•
ID. Dot1q packets with any other VLAN tag are not allowed to pass through this subinterface. When
the subinterface sends out a packet, it adds a VLAN tag carrying the specified VLAN ID to the
packet.
Ambiguous Dot1q termination, which terminates VLAN-tagged packets with VLAN IDs in the
•
specified range. Dot1q packets whose VLAN IDs are not in the range are not allowed to pass
through this subinterface. When a packet is sent out the subinterface, the packet is tagged with a
VLAN ID: for an IPv4/MPLS packet, the VLAN ID is obtained by searching the ARP entries; for a
PPPoE packet, the VLAN ID is obtained by searching the PPPoE session entries; for a DHCP relay
packet, the VLAN ID is obtained by searching the DHCP session entries.
Configuring unambiguous Dot1q termination
To configure unambiguous Dot1q termination:
To do...
1.
Enter system view
2.
Enter
interface
view
3.
Enable Dot1q termination on the
subinterface, and configure the
subinterface to terminate the Dot1q
packets with the specified VLAN ID
Unambiguous Dot1q termination configuration example
Network requirements
As shown in
connected to Switch B. Host A and Host C belong to VLAN 10, and Host B and Host D belong to VLAN
20. It is required that:
Enter Layer 3 Ethernet
subinterface view
Enter Layer 3
aggregate subinterface
view
Figure
59, Host A and Host B are connected to Switch A, and Host C and Host D are
Use the command...
vlan-termination broadcast
enable
Use the command...
system-view
interface interface-type
interface-number.subnumber
interface route-aggregation
interface-number.subnumber
vlan-type dot1q vid vlan-id
165
Remarks
Required.
By default, an ambiguous
Dot1q/QinQ
termination-enabled Layer 3
Ethernet/aggregate
subinterface does not transmit
broadcasts and multicasts.
Remarks
—
Required.
Use either command.
Required.