Specifying an IPv4 VRRP control VLAN

VLAN termination enables an interface to remove the VLAN tags of a packet and deliver the packet to Layer 3 forwarding or other processing pipelines. The following VLAN termination categories are available:

By default, an ambiguous termination-enabled Layer 3 subinterface drops broadcast and multicast packets that it receives. You can enable the interface to transmit broadcast packets and multicast packets as needed. The packets are transmitted within all VLANs whose VLAN packets are configured to be terminated by the subinterface.

Figure 21: VRRP control VLAN

As shown in Figure 21, ambiguous VLAN termination is configured for VLAN 10 and VLAN 20 on the Layer 3 Ethernet subinterfaces on routers. To allow the master to regularly send VRRP advertisements in multicast to the backups, enable the VLAN termination-enabled subinterfaces to transmit broadcast packets and multicast packets. Then, the master can send VRRP advertisements within all VLANs whose VLAN packets are configured to be terminated by the subinterfaces. If ambiguous VLAN termination is configured on the Layer 3 Ethernet subinterfaces for a large range of VLANs, the VRRP advertisements might overload the subinterfaces. This adversely affects the performance of the routers.

To solve this problem, perform the following tasks:

The following categories of VRRP control VLANs are available:

For more information about VLAN termination, see Layer 2—LAN Switching Configuration Guide.

Configuration guidelines

Configuration procedure

To specify a VRRP control VLAN:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 3 Ethernet subinterface view or Reth subinterface view.

interface interface-type interface-number

N/A

3. Specify a VRRP control VLAN.

  • Specify a VRRP control VLAN for the ambiguous Dot1q termination-enabled subinterface:vrrp dot1q vid vlan-id

  • Specify a VRRP control VLAN for the ambiguous QinQ termination-enabled subinterface:vrrp dot1q vid vlan-id secondary-dot1q secondary-vlan-id

By default, no VRRP control VLAN is specified. The master sends VRRP advertisements within all VLANs whose VLAN packets are configured to be terminated by the subinterface.