interfaces dataplane <interface> vrrp vrrp-group <group-id> track-interface <interface> weight value <num>
Sets the weight for a VRRP group, which determines by how much the priority of a group is decremented or incremented when an interface goes down.
- interface
- The interface type and identifier. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
- vrrp-group group-id
- The VRRP group to which the interface belongs. The identifier ranges from 1 through 255.
- track-interface interface
- The interface to be tracked.
After the interface is up, the VRRP instance reverts to the previous state.
- value num
- The value to increment or decrement the priority. Number can range from 1 through 254. If weight 'value' is provided, 'type' must be provided and vice versa.
Configuration mode
interfaces dataplane interfaces {
vrrp {
vrrp-group group-id {
track-interface interface {
weight {
value num
}
}
}
}
}
Use the set form of the command to change the priority of the VRRP instance.
Use the delete form of the command to remove the priority of the VRRP instance.
Use the show form of the command to display the priority of the VRRP instance.