Configuring an mVRRP Group
mVRRP is used when multiple VRRP groups coexist. mVRRP helps decrease the number of VRRP Advertisement packets to be sent and minimize network bandwidth consumption.
Usage Scenario
Figure 4-7 shows mVRRP. At the aggregation layer on a MAN, a switch is usually dual-homed to two Devices. Multiple VRRP groups can be configured on the two routers to transmit various types of services. Each VRRP backup group maintains its own state machine, which causes the routers to exchange a lot of VRRP Advertisement packets.
To simplify VRRP operations and decrease bandwidth consumption, configure a VRRP backup group as an mVRRP group and bind other service VRRP groups to the mVRRP group. The mVRRP group determines the status of the service VRRP groups.
- Multiple service VRRP groups can be bound to an mVRRP group. An mVRRP group cannot be bound to another mVRRP group.
- An mVRRP group provides the following functions:
- When the mVRRP group functions as a gateway, it determines the master/backup status of devices in the backup group and transmits service packets.
- When the mVRRP group does not function as a gateway, it determines the master/backup status of devices in the backup group but does not transmit service packets.
Object |
Usage Scenario |
---|---|
Common VRRP backup group |
If multiple VRRP groups are configured to forward traffic, large numbers of VRRP Advertisement packets are generated, which consumes network bandwidth resources and affects CPU performance. To resolve this issue, configure an mVRRP group and bind common VRRP groups to the mVRRP group. The mVRRP group sends VRRP Advertisement packets to determine the master/backup status of the common VRRP groups. |
VRRP-disabled interface |
An mVRRP group can be bound to VRRP-disabled interfaces. A master/backup mVRRP switchover can trigger an active/standby switchover on these interfaces, preventing traffic loss. |
Service PW |
An mVRRP group can be bound to service PWs. A master/backup mVRRP switchover can trigger a primary/secondary switchover on these service PWs, preventing traffic loss. |
Pre-configuration Tasks
Before configuring an mVRRP group, complete the following tasks:
Configure network layer attributes for interfaces to ensure network connectivity.
Configure basic VRRP functions if the mVRRP group functions as a gateway.
Creating an mVRRP Group
You can create an mVRRP group. Other common VRRP groups can be bound to the mVRRP group and become service VRRP groups. The mVRRP group determines the master/backup status of the service VRRP groups.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run admin-vrrp vrid virtual-router-id [ ignore-if-down ]
An mVRRP group is created.
Among multiple VRRP groups configured on two devices, the master device in a backup group has to broadcast VRRP Advertisement packets to the backup device through a user-side device. If the user-side device does not support broadcast, it cannot transparently forward VRRP Advertisement packets from the master device to the backup device. mVRRP can be enabled on interfaces directly connecting the master device to the backup device, implementing VRRP status negotiation.
If either of the directly connected VRRP-enabled interfaces fails, the VRRP status on the other VRRP-enabled interface becomes Initialize, causing service interruptions. To prevent this issue, configure the ignore-if-down parameter in the admin-vrrp vrid command. This setting helps the other VRRP-enabled device to ignore an interface Down event and ensures proper service transmission.
Adding the directly connected interfaces to an inter-board trunk for an mVRRP group is recommended, ensuring the link reliability. Do not run the shutdown command on either of the directly connected VRRP-enabled interfaces, preventing two master devices from coexisting or adversely affecting service forwarding.
- (Optional) Run vrrp vrid virtual-router-id initialize state-hold-time timer-value
An Initialize state hold time is configured for the mVRRP group.
After the mVRRP group is configured to ignore an interface Down event, you can run the command.
- Run commit
The configuration is committed.
Configuring Bindings for an mVRRP Group
VRRP groups, VRRP-disabled interfaces, and service PWs can be bound to an mVRRP group. After the bindings are configured, the mVRRP group determines the status of the bound objects.
Context
Object |
Usage Scenario |
---|---|
Common VRRP group |
If multiple VRRP groups are configured to forward traffic, large numbers of VRRP Advertisement packets are generated, which consumes network bandwidth resources and affects CPU performance. To resolve this issue, configure an mVRRP group and bind common VRRP groups to the mVRRP group. The mVRRP group sends VRRP Advertisement packets to determine the master/backup status of the common VRRP groups. |
VRRP-disabled interface |
VRRP-disabled interfaces can be bound to an mVRRP group. A master/backup mVRRP switchover can trigger an active/standby switchover on these interfaces, preventing traffic loss. |
Service PW |
Service PWs can be bound to an mVRRP group. A master/backup mVRRP switchover can trigger a primary/secondary switchover on these service PWs, preventing traffic loss. |
Verifying the mVRRP Group Configuration
You can view the status of an mVRRP group and verify the configuration.
Procedure
- Run the display vrrp binding admin-vrrp [ interface interface-type1 interface-number1 ] [ vrid virtual-router-id1 ] member-vrrp [ interface interface-type2 interface-number2 ] [ vrid virtual-router-id2 ] command to check the bindings between an mVRRP group and service VRRP groups.
- Run the display vrrp binding admin-vrrp [ interface interface-type1 interface-number1 ] [ vrid virtual-router-id ] member-interface [ interface interface-type2 interface-number2 ] command to check the bindings between an mVRRP group and VRRP-disabled interfaces.
- Run the display mpls l2vc track admin-vrrp [ interface interface-type1 interface-number1 vrid virtual-router-id ] command to check the bindings between an mVRRP group and service PWs.
- Run the display vrrp [ interface interface-type interface-number [ virtual-router-id ] ] [ brief ] command to check brief information about all VRRP groups or a specific one.