Chapter 40 Configuring HSRP and Enhanced Object Tracking

Configuring Enhanced Object Tracking

 

Command

Purpose

Step 5

 

 

standby [group-number]ip

Create (or enable) the HSRP group by using its number and virtual IP

 

[ip-address [secondary]]

address.

 

 

(Optional) group-number—The group number on the interface for

 

 

which HSRP is being enabled. The range is 0 to 255; the default is 0. If

 

 

there is only one HSRP group, you do not need to enter a group number.

 

 

(Optional on all but one interface) ip-address—The virtual IP address of

 

 

the hot standby router interface. You must enter the virtual IP address for

 

 

at least one of the interfaces; it can be learned on the other interfaces.

 

 

(Optional) secondary—The IP address is a secondary hot standby router

 

 

interface. If this keyword is omitted, the configured address is the

 

 

primary IP address.

Step 6

 

 

standby [group-number]track

Configure HSRP to track an object and change the hot standby priority based

 

object-number [decrement

on the state of the object.

 

[priority-decrement]]

(Optional) group-number—The group number to which the tracking

 

 

 

 

applies.

 

 

object-number—Number representing the object to be tracked. The

 

 

range is from 1 to 500; the default is 1.

 

 

(Optional) decrement priority-decrement—Amount by which the hot

 

 

standby priority for the router is decremented (or incremented) when the

 

 

tracked object goes down (or comes back up). The range is from 1 to

 

 

255; the default is 10.

Step 7

 

 

end

Return to privileged EXEC mode.

Step 8

 

 

show standby

Verify the standby router IP address and tracking states.

Step 9

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

Configuring Other Tracking Characteristics

You can also use the enhanced object tracking for tracking other characteristics.

You can track the reachability of an IP route by using the track ip route reachability global configuration command.

You can use the track ip route metric threshold global configuration command to determine if a route is above or below threshold.

You can use the track resolution global configuration command to change the metric resolution default values for routing protocols.

You can use the track timer tracking configuration command to configure the tracking process to periodically poll tracked objects.

Use the show track privileged EXEC command to verify enhanced object tracking configuration.

For more information about enhanced object tracking and the commands used to configure it, see this URL:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a00801541be

.html

 

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

40-18

OL-9775-02

Page 996
Image 996
Cisco Systems 3750E manual Configuring Other Tracking Characteristics, Show standby, 40-18