< Home

vrrp vrid track admin-vrrp vrid

Function

The vrrp vrid track admin-vrrp vrid command binds a VRRP group to an mVRRP group.

The undo vrrp vrid track admin-vrrp command unbinds a VRRP group from an mVRRP group.

By default, no VRRP group is bound to an mVRRP group.

Format

vrrp vrid virtual-router-id1 track admin-vrrp interface interface-type interface-number vrid virtual-router-id2 unflowdown

undo vrrp vrid virtual-router-id1 track admin-vrrp

Parameters

Parameter

Description

Value

vrid virtual-router-id1

Specifies the VRID of a VRRP group.

The value is an integer that ranges from 1 to 255.

vrid virtual-router-id2

Specifies the VRID of an mVRRP group.

The value is an integer that ranges from 1 to 255.

interface-type interface-number

Specifies the type and number of an interface configured with an mVRRP group.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

unflowdown

Allows the interface where a VRRP group bound to an mVRRP group is configured to remain in Up state if the mVRRP group is in Backup or Initialize state.

-

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If multiple VRRP groups are configured on the device, each group sends VRRP Advertisement packets to maintain its state machine. As a result, a large number of VRRP Advertisement packets are generated, which occupy network bandwidth resources and cause CPU performance to deteriorate. To solve the problem, run the vrrp vrid track admin-vrrp vrid command to bind a VRRP group to an mVRRP group. After a VRRP group is bound to an mVRRP group, the VRRP group does not send VRRP Advertisement packets to negotiate the Master and Backup states. The mVRRP group determines the status of the bound VRRP group. This method greatly reduces the impact of VRRP Advertisement packets on network bandwidth and CPU performance.

This mode is used on a network where uplink and downlink traffic can be transmitted along different paths. unflowdown can be configured to allow the mVRRP group to determine the status of its bound VRRP group. Uplink traffic travels through the master and then reaches the upper-layer network, and downlink traffic travels through either the master or backup to reach users.

Prerequisites

A VRRP group and an mVRRP group have been created.

Precautions

The vrrp vrid track admin-vrrp vrid command can be used only on the interface where the bound VRRP group is configured. This command cannot be used on the interface where an mVRRP group is configured.

VRRP4 and VRRP6 can be configured on an interface simultaneously. However, there are limitations:
  • A VRRP4 group can be bound to only an mVRRP4 group, and a VRRP6 group can be bound to only an mVRRP6 group.
  • At most one VRRP4 group and one VRRP6 group can be configured on an interface. In addition, unflowdown must be used. An interface cannot be configured with multiple VRRP4 or VRRP6 groups.

If multiple service VRRP backup groups are configured on an interface, a single service VRRP backup group can be bound to the mVRRP backup group.

Example

# Bind VRRP group 1 to mVRRP group 2 on the VLANIF interface.
<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] vrrp vrid 1 track admin-vrrp interface vlanif 20 vrid 2 unflowdown
# Bind VRRP group 1 to mVRRP group 2 on the Ethernet interface.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] vrrp vrid 1 track admin-vrrp interface GigabitEthernet 0/0/2 vrid 2 unflowdown
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >