Reference Guide

advertisment-interval centisecs 200
priority 200
virtual-address 10.1.1.1
!
interface ethernet1/1/2
switchport access vlan 1
no shutdown
Interface/object tracking
You can monitor the state of any interface according to the virtual group. OS10 supports a maximum of 10 track groups and each track
group can track a maximum of ve interfaces.
If the tracked interface goes down, the VRRP group’s priority decreases by a default value of 10 — also known as cost. If the tracked
interface’s state goes up, the VRRP group’s priority increases by priority-cost.
The lowered priority of the VRRP group may trigger an election. As the Master/Backup VRRP routers are selected based on the VRRP
group’s priority, tracking features ensure that the best VRRP router is the Master for that group. The priority cost of tracking group must
be less than the congured priority on the VRRP group. If the VRRP group is congured as Owner router (priority 255), tracking for that
group is disabled, regardless of the state of the tracked interfaces. The priority of the Owner group always remains at 255.
For a virtual group, track the line-protocol state or the routing status of any interface with the interface command. Enter an interface
type and
node/slot/port[:subport] information, or VLAN number:
ethernet — Physical interface (1 to 48)
vlan — VLAN interface (1 to 4093)
For a virtual group, track the status of a congured object with the track command and use the object number. You can also congure a
tracked object for a VRRP group with this command before you create the tracked object. No changes in the VRRP group’s priority occur
until the tracked object is dened and determined to be down.
Congure tracking
To track the objects in a VRRP group or on interfaces, use the following commands. The sum of all the costs for all tracked interfaces must
be less than the congured priority of the VRRP group.
1 Assign an object tracking unique ID number in CONFIGURATION mode (1 to 500).
track track-id
2 Monitor an interface and set a value to subtract from the interface’s VRRP group priority in Track CONFIGURATION mode.
interface ethernet node/slot/port[:subport]
3 (Optional) View the conguration of tracked objects in VRRP groups on a specied interface in Track CONFIGURATION mode.
do show running-config interface interface
Congure interface tracking
OS10(config)# track 10
OS10(conf-track-10)# interface ethernet 1/1/5
View running conguration
OS10(conf-track-10)# do show running-configuration
! Version 10.1.9999P.2281
! Last configuration change at Jul 27 03:24:01 2016
!
aaa authentication system:local
!
interface ethernet1/1/1
422
Layer 3