Chapter 40 Configuring HSRP and Enhanced Object Tracking

Configuring Enhanced Object Tracking

Configuring Enhanced Object Tracking Features

These sections describe configuring enhanced object tracking:

Tracking Interface Line-Protocol or IP Routing State, page 40-13

Configuring a Tracked List, page 40-14

Configuring HSRP Object Tracking, page 40-17

Configuring Other Tracking Characteristics, page 40-18

Tracking Interface Line-Protocol or IP Routing State

You can track either the interface line protocol state or the interface IP routing state. When you track the IP routing state, for the object to be up, IP routing must be enabled and active on the interface, the interface line protocol state must be up, and the interface IP address must be known. All three of these conditions must met; otherwise, the IP routing state is down.

Beginning in privileged EXEC mode, follow these steps to track the line-protocol state or IP routing state of an interface:

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

track object-numberinterface

(Optional) Create a tracking list to track the line-protocol state of an interface

 

interface-id line-protocol

and enter tracking configuration mode.

 

 

The object-numberidentifies the tracked object and can be from 1 to 500.

 

 

The interface interface-idis the interface being tracked.

Step 3

 

 

delay {up seconds [down seconds]

(Optional) Specify a period of time in seconds to delay communicating state

 

[up seconds] down seconds}

changes of a tracked object. The range is from 1 to 180 seconds.

Step 4

 

 

exit

Return to global configuration mode.

Step 5

 

 

track object-numberinterface

(Optional) Create a tracking list to track the IP routing state of an interface, and

 

interface-id ip routing

enter tracking configuration mode. IP-route tracking tracks an IP route in the

 

 

routing table and the ability of an interface to route IP packets.

 

 

The object-numberidentifies the tracked object and can be from 1 to 500.

 

 

The interface interface-idis the interface being tracked.

Step 6

 

 

delay {up seconds [down seconds]

(Optional) Specify a period of time in seconds to delay communicating state

 

[up seconds] down seconds}

changes of a tracked object. The range is from 1 to 180 seconds.

Step 7

 

 

end

Return to privileged EXEC mode.

Step 8

 

 

show track object-number

Verify that the specified objects are being tracked.

Step 9

 

 

copy running-config

(Optional) Save your entries in the configuration file.

 

startup-config

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

OL-9775-02

 

 

40-13

 

 

 

 

 

Page 991
Image 991
Cisco Systems 3750E Configuring Enhanced Object Tracking Features, Tracking Interface Line-Protocol or IP Routing State