Tracking Interface Line-Protocol Or Ip Routing State; Configuring A Tracked List - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Chapter 38
Configuring HSRP and Enhanced Object Tracking

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
Step 1
configure terminal
Step 2
track object-number interface
interface-id line-protocol
Step 3
delay {up seconds [down seconds]
| [up seconds] down seconds}
Step 4
exit
Step 5
track object-number interface
interface-id ip routing
Step 6
delay {up seconds [down seconds]
| [up seconds] down seconds}
Step 7
end
Step 8
show track object-number
Step 9
copy running-config
startup-config
This example configures the tracking of an interface line-protocol state and verifies the configuration:
Switch(config)# track 33 interface gigabitethernet0/1 line-protocol
Switch(config-track)# end
Switch# show track 33
Track 33
Interface GigabitEthernet0/1 line-protocol
Line protocol is Down (hw down)

Configuring a Tracked List

You can configure a tracked list of objects with a Boolean expression, a weight threshold, or a percentage
threshold. A tracked list contains one or more objects. An object must exist before it can be added to the
tracked list.
OL-8915-03
Purpose
Enter global configuration mode.
(Optional) Create a tracking list to track the line-protocol state of an interface
and enter tracking configuration mode.
The object-number identifies the tracked object and can be from 1 to 500.
The interface interface-id is the interface being tracked.
(Optional) Specify a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Return to global configuration mode.
(Optional) Create a tracking list to track the IP routing state of an interface, and
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-number identifies the tracked object and can be from 1 to 500.
The interface interface-id is the interface being tracked.
(Optional) Specify a period of time in seconds to delay communicating state
changes of a tracked object. The range is from 1 to 180 seconds.
Return to privileged EXEC mode.
Verify that the specified objects are being tracked.
(Optional) Save your entries in the configuration file.
1 change, last change 00:18:28
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
Configuring Enhanced Object Tracking
38-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents