Reference Guide

interface ethernet1/1/2
switchport access vlan 1
no shutdown
!
interface ethernet1/1/3
switchport access vlan 1
no shutdown
!
interface ethernet1/1/4
switchport access vlan 1
--more--
View VRRP information
When the VRRP process completes initialization, the State eld contains either master or backup.
OS10# show vrrp brief
Interface Group Priority Preemption State Master-addr Virtual addr(s)
----------------------------------------------------------------------------
ethernet1/1/1 IPv4 10 100 true master 10.1.1.8 10.1.1.8
View VRRP group 1
OS10# show vrrp 1
Interface : ethernet1/1/1 IPv4 VRID : 1
Primary IP Address : 10.1.1.1 State : master-state
Virtual MAC Address : 00:00:5e:00:01:01
Version : version-3 Priority : 100
Preempt : Hold-time :
Authentication : no-authentication
Virtual IP address :
10.1.1.1
master-transitions : 1 advertise-rcvd : 0
advertise-interval-errors : 0 ip-ttl-errors : 0
priority-zero-pkts-rcvd : 0 priority-zero-pkts-sent : 0
invalid-type-pkts-rcvd : 0 address-list-errors : 0
pkt-length-errors : 0
Set group priority
Set a virtual router priority to 255 to ensure that router is the owner virtual router for the VRRP group. The router which has the highest
primary IP address of the interface becomes the master. The default priority for a virtual router is 100. If the master router fails, VRRP
begins the election process to choose a new master router based on the next-highest priority.
1 Create a virtual router for the interface with the VRRP identier in INTERFACE mode (1 to 255).
vrrp-group vrrp-id
2 Congure the priority number for the VRRP group in INTERFACE-VRRP mode (1 to 255, default 100).
priority number
Set VRRP group priority
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# vrrp-group 254
OS10(conf-eth1/1/5-vrid-254)# priority 200
Verify VRRP group priority
OS10(conf-eth1/1/5-vrid-254)# do show vrrp 254
Interface : ethernet1/1/5 IPv4 VRID : 254
Primary IP Address : 10.1.1.1 State : master-state
Virtual MAC Address : 00:00:5e:00:01:01
Version : version-3 Priority : 200
Preempt : Hold-time :
Authentication : no-authentication
Layer 3
419