Reference v4.1.0 Instruction Manual

556 Network OS Command Reference
53-1003115-01
priority
2
priority
Sets the priority of a physical router in a VRRP router group.
Synopsis priority range
Operands range The priority of a physical router in a virtual router group. Higher numbers
have priority over lower numbers. Valid values range from 1 to 254.
Defaults The default is 1.
Command Modes Virtual-router-group configuration mode
Description Use this command to set the priority of a physical router in a VRRP router group. 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.
Usage Guidelines You can perform this command for VRRP or VRRP-E.
Examples To set the priority to 110 for the VRRP virtual group 1:
switch(config)# rbridge-id 101
switch(config-rbridge-id-101)# protocol vrrp
switch(config-rbridge-id-101)# int te 101/1/6
switch(conf-if-te-101/1/6)# vrrp-group 1
switch(config-vrrp-group-1)# priority 110
To set the priority to 110 for the VRRP-E virtual group 1:
switch(config)# rbridge-id 101
switch(config-rbridge-id-101)# protocol vrrp-extended
switch(config-rbridge-id-101)# int ve 25
switch(config-ve-25)# vrrp-group-extended 1
switch(config-vrrp-extended-group-1)# priority 110
See Also vrrp-group, vrrp-extended-group