< Home

vrrp vrid track business-group

Function

The vrrp vrid track business-group command configures the VRRP group to track the status of the cluster business group.

The undo vrrp vrid track business-group command disables the VRRP group from tracking the status of the cluster business group.

Format

vrrp vrid virtual-router-id track business-group business-group-id

undo vrrp vrid virtual-router-id track business-group [ business-group-id ]

Parameters

Parameter Description Value
virtual-router-id

Specifies the VRRP group ID.

The VRRP group must have been created.

business-group-id

Specifies the ID of the cluster business group bound to the VRRP group.

The business group ID must have been created.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

The vrrp vrid track business-group command is used for cluster VRRP traffic diversion. After a business group is bound to a VRRP group, if the business group state is master, the VRRP state is master, too. In normal situations, traffic is forwarded through the devices in the local DC. If the interface fails, the business group status changes, which causes the VRRP status change for traffic diversion.

Example

# Configure VRRP group 1 to track the status of cluster business group 1.

C_No1_M<sysname> system-view
C_No1_M[sysname] interface Eth-Trunk 1
C_No1_M[sysname-Eth-Trunk1] vrrp vrid 1 track business-group 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic