Sets the priority of a physical router in a VRRP router group.
The default priority is 100.
Virtual-router-group configuration mode
Virtual-router-extended-group configuration mode
You can perform this command for VRRP or VRRP-E.
When set, the highest priority backup router will always be the master. (For VRRP, however, the owner is always the master if it is available.) If not set, a higher priority backup will not preempt a lower priority backup that is acting as master.
For an owner router in VRRP, the priority automatically becomes 255 if the virtual IP address of the virtual router and the real IP address of the owner are the same.
To set the priority to 110 for the VRRP virtual group 1:
device# configure terminal device(config)# protocol vrrp device(config)# interface ve 10 device(config-if-Ve-10)# vrrp-group 1 device(config-vrrp-group-1)# priority 110
To set the priority to 110 for the VRRP-E virtual group 1:
device# configure terminal device(config)# ipv6 protocol vrrp-extended device(config)# interface ve 10 device(config-if-Ve-10)# ipv6 vrrp-extended-group 1 device(config-vrrp-extended-group-1)# priority 110