API Guide

preempt
Permits or preempts a backup router with a higher priority value to become the master router.
Syntax
preempt
Parameters None
Default Enabled
Command Mode INTERFACE-VRRP
Usage
Information
VRRP uses preempt to determine what happens after a VRRP backup router becomes the master. With
preempt enabled by default, VRRP switches to a backup if that backup router comes online with a priority
higher than the new master router. If you disable preempt, VRRP switches only if the master fails. The no
version of this command disables preemption.
Example
OS10(conf-eth1/1/5-vrid-254)# preempt
Supported
Releases
10.2.0E or later
priority
Assigns a VRRP priority value for the VRRP group. The VRRP uses this value during the master election process.
Syntax
priority number
Parameters number Enter a priority value, from 1 to 254.
Default 100
Command Mode INTERFACE-VRRP
Usage
Information
To guarantee that a VRRP group becomes master, configure the priority of the VRRP group to the 254,
which is the highest priority. OS10 does not support priority 255. The no version of this command resets
the value to the default of 100.
Example
OS10(conf-eth1/1/5-vrid-254)# priority 200
Supported
Releases
10.2.0E or later
show vrrp
Displays VRRP group information.
Syntax
show vrrp [vrf vrf-name] {brief | vrrp-id | ipv6 group-id}
Parameters
vrf vrf-name Displays the VRRP group information corresponding to the specified VRF.
brief Displays the configuration information for all VRRP instances in the system.
vrrp-id Enter a VRRP group ID number to view the VRRP IPv4 group operational status
information, from 1 to 255.
ipv6 group-id (Optional) Enter a VRRP group ID number to view the specific IPv6 group
operational status information, from 1 to 255.
Default All IPv4 VRRP group configuration
Command Mode EXEC
Usage
Information
Displays all active VRRP groups. If no VRRP groups are active, the system displays No Active VRRP
group.
772 Layer 3