The admin-vrrp vrid command creates a management Virtual Router Redundancy Protocol (mVRRP) group or designates a common VRRP group as an mVRRP group.
The undo admin-vrrp vrid command deletes an mVRRP group or restores an mVRRP group with a virtual IP address to a common VRRP group.
By default, no mVRRP group is configured.
Parameter | Description | Value |
---|---|---|
ignore-if-down |
Indicates that an mVRRP group ignores an interface Down event. If an interface on which an mVRRP group is configured goes Down, the status of the mVRRP group becomes Master, not Initialize. |
- |
vrid virtual-router-id |
Specifies the ID of an mVRRP group. |
The value is an integer ranging from 1 to 255. |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
A lot of VRRP packets are sent by multiple master devices when multiple common VRRP groups are configured. The VRRP packets consume network bandwidth resources and burden the system. The admin-vrrp vrid command can be run to configure an mVRRP group. The mVRRP group sends VRRP packets and determines the status of services VRRP groups that are bound to the mVRRP group. Using mVRRP reduces resource consumption.
Prerequisites
A VRRP group has been created using the vrrp vrid virtual-ip command in the interface view if an mVRRP group is used as a gateway.
Follow-up Procedure
After the admin-vrrp vrid command is run, run the vrrp vrid track admin-vrrp command on the interface on which a service VRRP group is configured to bind the service VRRP group to the mVRRP group.
Precautions
After the undo admin-vrrp vrid command is run to delete an mVRRP group, the associations between service VRRP groups and the mVRRP group are automatically deleted.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/9 [~HUAWEI-GigabitEthernet0/1/9] ip address 10.2.1.1 24 [*HUAWEI-GigabitEthernet0/1/9] vrrp vrid 2 virtual-ip 10.2.1.111 [*HUAWEI-GigabitEthernet0/1/9] admin-vrrp vrid 2 ignore-if-down
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/8 [~HUAWEI-GigabitEthernet0/1/8] ip address 10.1.1.1 24 [*HUAWEI-GigabitEthernet0/1/8] vrrp vrid 1 virtual-ip 10.1.1.111 [*HUAWEI-GigabitEthernet0/1/8] admin-vrrp vrid 1