track admin-vrrp

Function

The track admin-vrrp command binds a VRRP-disabled interface to a specified mVRRP group.

The undo track admin-vrrp command deletes the binding between a VRRP-disabled interface and an mVRRP group.

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

Format

track admin-vrrp interface { interface-type interface-number | interface-name } vrid virtual-router-id

undo track admin-vrrp

Parameters

Parameter Description Value
vrid virtual-router-id

Specifies the ID of an mVRRP group.

The value is an integer ranging from 1 to 255.

interface interface-type interface-number

Specifies the type and number of the interface on which an mVRRP group resides.

-

Views

200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, FlexE sub-interface view, GE sub-interface view, GE interface view, Global VE sub-interface view, PW-VE sub-interface view, Tunnel interface view, VE sub-interface view, VE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

To enable the status of a VRRP-disabled interface to change with the status of the interface on which an mVRRP group resides, run the track admin-vrrp command to bind the VRRP-disabled interface to the mVRRP group.

Prerequisites

An mVRRP group has been created.

Precautions

The service interface and the interface on which an mVRRP group resides cannot be the same interface. If they are the same interface, the service Flow Up/Flow Down state and the interface Up/Down state affect each other.

Example

# Create VRRP group 1 on GE 0/1/0 and configure it as an mVRRP group. Then bind GE 0/1/0.1 to VRRP group 1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ip address 10.1.1.1 24
[*HUAWEI-GigabitEthernet0/1/0] vrrp vrid 1 virtual-ip 10.1.1.111
[*HUAWEI-GigabitEthernet0/1/0] admin-vrrp vrid 1
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] interface GigabitEthernet 0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] track admin-vrrp interface GigabitEthernet0/1/0 vrid 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >