The vrrp vrid virtual-ip command sets a virtual IP address for a VRRP group.
The undo vrrp vrid command deletes a VRRP group.
vrrp vrid virtual-router-ID virtual-ip virtual-address [ ip-mask | ip-mask-length ] { active | standby }
undo vrrp vrid virtual-router-ID [ virtual-ip virtual-address ]
| Parameter | Description | Value |
|---|---|---|
virtual-router-ID |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
virtual-address |
Specifies the virtual IP address of a VRRP group. |
The value is in dotted decimal notation. |
ip-mask |
Specifies the subnet mask in dotted decimal notation. |
The value is in dotted decimal notation. |
ip-mask-length |
Specifies the subnet mask length. |
The value ranges from 1 to 32. |
{ active | standby } |
Indicates that the VRRP group works at the active or standby state by default. |
- |
When configuring a VRRP group, note the following points: