vsx-sync vrrp
Syntax
vsx-sync vrrp
no vsx-sync vrrp
Description
Enables VSX synchronization of all VRRP configurations on the primary VSX node to the secondary peer switch. There is no configuration sync from secondary to primary peer.
To synchronize VRRP configurations at the port level context, the same port must be configured on the peer device with IP address.
The
no
form of this command disables syncing VRRP configurations to the secondary peer, but it does not remove the previously synced configurations from the secondary peer.
BFD IP is the IP address of VRRP peer device. Hence it cannot be synced.
In the owner scenario, in case the priority is synced, both VSX primary and secondary devices will have 255 as their priority. If the primary device goes down and comes up again, the secondary device will still act as the master in spite of the primary device being the owner. Hence priority cannot be synced.
Command context
config-vsx
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling VSX sync for the VRRP configurations to the secondary peer:
switch(config)# router vrrp enable switch(config-if)# vrrp 1 address-family ipv4 switch(config-if-vrrp)# address 1.1.1.100 primary switch(config-if-vrrp)# timers advertise 1000 switch(config-if-vrrp)# no shutdown switch(config-if)# vrr 1 address-family ipv6 switch(config)# vsx switch(config-vsx)# vsx-sync vrrp
Disabling VSX sync for the VRRP configurations to the secondary peer:
switch(config)# vsx switch(config-vsx)# no vsx-sync vrrp