< Home

track vrrp

Function

The track vrrp command binds an IPv4 VRRP group to an HSB group.

The undo track vrrp command unbinds an IPv4 VRRP group from an HSB group.

By default, no HSB group is bound to an IPv4 VRRP group.

Format

track vrrp vrid virtual-router-id interface interface-type interface-number

undo track vrrp [ vrid virtual-router-id interface interface-type interface-number ]

Parameters

Parameter

Description

Value

vrid virtual-router-id

Specifies the ID of an IPv4 VRRP group bound to an HSB group.

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

interface interface-type interface-number

Specifies the type and number of the interface in an IPv4 VRRP group.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

Views

HSB group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the track vrrp command to bind a VRRP group to an HSB group. The HSB group negotiates the service status based on the VRRP status. By monitoring the changes in the bound HSB channel status and VRRP status, the HSB group instructs service modules to perform batch backup, real-time backup, and status synchronization.

Prerequisites

An HSB group has been configured.

Example

# Bind VLANIF100 in IPv4 VRRP group 4 to HSB group 0.

<HUAWEI> system-view
[HUAWEI] hsb-group 0
[HUAWEI-hsb-group-0] track vrrp vrid 4 interface vlanif 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >