< Home

admin-vrrp vrid

Function

The admin-vrrp vrid command specifies an mVRRP group.

The undo admin-vrrp vrid command deletes the specified mVRRP group.

By default, no mVRRP group is configured.

Format

admin-vrrp vrid virtual-router-id

undo admin-vrrp vrid virtual-router-id

Parameters

Parameter

Description

Value

vrid virtual-router-id

Specifies the virtual router ID (VRID) of an mVRRP group.

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

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An mVRRP group can be bound to VRRP groups. Once bound, the mVRRP group determines the master and backup status of the bound VRRP groups. mVRRP is used when multiple VRRP groups coexist, decreasing the number of VRRP Advertisement packets sent and minimize network bandwidth and system resource consumption.

mVRRP provides the following functions:

  • An mVRRP group used as the gateway can process both VRRP Advertisement packets and service packets.

  • An mVRRP group that is not used as the gateway can only process VRRP Advertisement packets.

Precautions

An mVRRP group cannot be bound to another mVRRP group.

Example

# Create VRRP group 1 on VLANIF 10 and configure it as an mVRRP group.
<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ip address 10.1.1.1 24
[HUAWEI-Vlanif10] vrrp vrid 1 virtual-ip 10.1.1.111
[HUAWEI-Vlanif10] admin-vrrp vrid 1
# Create VRRP group 1 on GE0/0/1 and configure it as an mVRRP group.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] ip address 10.1.1.1 24
[HUAWEI-GigabitEthernet0/0/1] vrrp vrid 1 virtual-ip 10.1.1.111
[HUAWEI-GigabitEthernet0/0/1] admin-vrrp vrid 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >