2 configuring track – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 133

Advertising
background image

CanogaOS Configuration Guide

21-2

Command Description

DUT(config)#exit

Exit the Configure mode.


Validation Commands
To display the ICMP echo configuration, use the show ip sla monitor privileged EXEC
command.

DUT#show ip sla monitor
Entry 1
Type : Echo
Admin state : Enable
Destination address : 192.168.0.1
Frequency : 3 seconds
Timeout : 2 seconds
Threshold : 1seconds
Running Frequency : 3 seconds
Vrf : vpn1
Return code : OK

21.2 Configuring TRACK

21.2.1 Understanding

track

Before the introduction of track feature, the VRRP had a simple tracking mechanism that
allowed you to track the interface link state only. If the link state of the interface went
down, the VRRP priority of the router was reduced, allowing another VRRP router with a
higher priority to become active. The Track feature separates the tracking mechanism
from VRRP and creates a separate standalone tracking process that can be used by
other processes in future. This feature allows tracking of other objects in addition to the
interface link state. VRRP can now register its interest in tracking objects and then be
notified when the tracked object changes state. TRACK is a separate standalone
tracking process that can be used by other processes as well as VRRP. This feature
allows tracking of other objects in addition to the interface link state.

21.2.2 Configuring the track interface linkstate

Beginning in privileged EXEC mode, follow these steps to configure the track interface
linkstate:

Command Description

DUT#configure terminal

Enter the Configure mode.

DUT(config)# track 1 interface eth-0-1 linkstate

Create a track object and track the state of an interface.

DUT(config-track)# delay up 30

(Optional)Configure the track object parameters to specify
a period of time (in seconds) to delay when object state is
turned from down to up.

DUT(config-track)# delay down 30

(Optional)Configure the track object parameters to specify
a period of time (in seconds) to delay when object state is
turned from up to down.

DUT(config-track)#exit

Exit the track mode.

DUT(config)#exit

Exit the Configure mode.

Advertising