The vrrp-id command binds an RBP to a specified VRRP group.
The undo vrrp-id command unbinds an RBP from a VRRP group.
By default, no RBP is bound to a VRRP group .
Parameter | Description | Value |
---|---|---|
vrid |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
interface interface-type interface-number |
Specifies the type and number of an interface configured with a VRRP group. |
- |
odd-mac |
Binds an RBP to a VRRP group in odd MAC address mode. |
- |
even-mac |
Binds an RBP to a VRRP group in even MAC address mode. |
- |
Usage Scenario
Before applying an RBP to the interface with a VRRP group configured, run the vrrp-id command to bind the RBP to the VRRP group. You can run the command to bind an RBP to a VRRP group in odd or even MAC address mode.
Prerequisites
An RBP has been created using the remote-backup-profile command in the system view.
Follow-up Procedure
Run the remote-backup-profile command in the interface view to bind the RBP to the interface with the VRRP group configured.
Precautions
The ID of the VRRP group bound with an RBP must be the same as the ID of the VRRP group configured on the corresponding interface.