Cisco Cisco IOS Software Release 12.2(27)SBC

Page de 14
Enhanced Object Tracking
threshold metric
9
 
threshold metric
To set a threshold metric other than the default value, use the threshold metric command in tracking 
configuration mode. To disable the threshold metric, use the no form of this command.
threshold metric {up number [down number] | down number [up number]}
no threshold metric 
Syntax Description
Defaults
No threshold is configured.
Command Modes
Tracking configuration
Command History
Usage Guidelines
This command is available only to IP-route threshold metric objects tracked by the track ip route metric 
threshold
 global configuration command.
The default up and down threshold values are 254 and 255, respectively. With these values, IP-route 
threshold tracking gives the same result as IP-route reachability tracking.
Examples
In the following example, the tracking process is tracking the IP-route threshold metric. The metric 
default value is changed to 16 for the up threshold and to 20 for the down threshold.
track 1 ip route 10.22.0.0/16 metric threshold
threshold metric up 16 down 20 
delay down 20
Related Commands
up
Specifies the up threshold. The state is up if the scaled metric for that route 
is less than or equal to the up threshold. The default up threshold is 254.
down
Specifies the down threshold. The state is down if the scaled metric for that 
route is greater than or equal to the down threshold. The default down 
threshold is 255.
number
Threshold value. The range is from 0 to 255.
Release
Modification
12.2(15)T
This command was introduced.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(28)SB
This command was integrated into Cisco IOS Release 12.2(28)SB.
Command
Description
track ip route
Tracks the state of IP routing and enters tracking configuration mode.