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.
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. |
Usage Scenario
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.
<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
<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