interfaces dataplane <interface> vrrp vrrp-group <group-id> track-interface <interface>
Tracks an interface by monitoring whether the interface is up or down and sets the state of the VRRP instance accordingly.
If the interface goes down, the VRRP instance is set to the FAULT state.
- interface
- The interface type and identifier. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
- group-id
- The VRRP group to which the interface belongs. The identifier ranges from 1 through 255.
- interface
- The interface to be tracked.
After the interface is up, the VRRP instance reverts to the previous state.
Configuration mode
interfaces dataplane interface {
vrrp {
vrrp-group group-id {
track-interface interface
}
}
}
Use the set form of the command to set the interface tracking and check whether the interface is up or down and set the state of the VRRP instance accordingly.
Use the delete form of the command to remove the interface tracking.
Use the show form of the command to display whether the interface tracking is enabled.