Specifications

Chapter 8. Command Reference 253
ETH VRRP SET PRIORITY
Specifies the priority attribute in a VRRP attribute record for the VRID (virtual router ID). The priority value
determines which VRRP router in the LAN takes over when a VRRP router fails. For more information, see
VRRP Backup, on page 107.
Note: If you do not specify a priority value for a VRRP attribute record, the default priority, 100, is used.
The priority for the master router must be the maximum, 255; the priority for each backup router must be less than
255.
The priority values must differ for each router that uses the same VRID. For example, the master router for VRID
7 must have priority 255 while the first backup router for VRID 7 could have the default priority 100 and a second
backup router for VRID 7 could have priority 50.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
priority Priority value (integer, 1-255). The priority for the master router must be 255; the priority for
each backup router must be less than 255.
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Examples:
This command specifies the maximum priority for the master router for VRID 7 using default port 0.
eth vrrp set priority 255 7
This command defines priority 50 for a backup router for VRID 7 using port 1.
eth vrrp set priority 50 7 1
ETH VRRP SET TIMEINTERVAL
Specifies the time interval attribute in a VRRP attribute record for the VRID (virtual router ID). The time interval
determines how often VRRP advertisement packets are sent, and thus, how quickly a backup router can recognize
that another VRRP router is down.
Note: If you do not specify a time interval value for a VRRP attribute record, the default time interval, 1 second,
is used.
If the backup does not receive a VRRP packet from another VRRP router during the master down interval, the
backup assumes the other router is down. The master down interval is calculated as follows:
Master _Down_Interval = (3 * Time_Interval) + Skew_Time
eth vrrp set priority <priority> <vrid> [<port#>]