reset vrrp master interface <interface> group <group-id>
Forces a transition of the VRRP state to the backup state for an interface.
- interface
- An interface to force to the backup state. Include the type keyword and the interface identifier (for example, dataplane dp0p1p2). For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
- group-id
- A VRRP group within the interface to force to the backup state.
Operational mode
Use this command to force the VRRP master interface to transition to the backup state.
The following example shows how to force the VRRP master interface to the backup state. Notice that before the run command is entered, the state is master, and after the command is entered, it is backup. Also, notice the change in “Master router”.
vyatta@vyatta:~$ reset vrrp master interface dp0p192p1 group 1
Forcing vyatta-dp0p192p1-1 to BACKUP...
vyatta@vyatta:~$ show vrrp
RFC Addr Last Sync
Interface Group State Compliant Owner Transition Group
--------- ----- ----- --------- ----- ---------- -----
dp0p192p1 1 MASTER dp0vrrp1 no 5s <none>