vrrp priority

Configures the priority for this VRRP instance.

Syntax

vrrp priority vrid priority
no vrrp priority vrid priority

Parameters

vrid Specifies a Virtual Router ID (VRID) associated with this priority.
priority Specifies the VRRP priority value to associate with the vrid. Valid values are from 1 to 254, with the highest value setting the highest priority. Priority value of 255 is reserved for the VRRP router that owns the IP address associated with the virtual router. Priority 0 is reserved for signaling that the master has stopped working and the backup router must transition to master state. Default: 100.

Defaults

None.

Mode

Interface configuration mode.

Usage

The “no” form of this command clears the VRRP priority configuration.

Example

This example sets the priority for VRRP instance 1 to 5:

System(rw)->configure
System(rw-config)->interface vlan 20
System(rw)-config-intf-vlan.0.20)->vrrp create 1 v2-ipv4
System(rw)-config-intf-vlan.0.20)->vrrp address 1 20.20.20.1
System(rw-config-intf-vlan.0.20)->vrrp priority 1 5
System(rw-config-intf-vlan.0.20)->