03-13-2013 06:59 PM - edited 03-07-2019 12:13 PM
Hi everybody.
How is everybody doing? Good news I failed the CCNP tshoot today. Actually, I failed all CCNP exams the first time. I am going to retry in a week.
I ran out of time at trouble ticket 7.
Hopefully, I will not disappoint you guys next time.
A quick question.
Router(config)# track 15 ip route 10.4.4.4 255.255.255.4 metric threshold
Router(config-track)# threshold up 99 down 201
that is what the book says:
For value lessthan or equal to 99, tracking object will be up
For value greater than or equal to 201, tracking object will be down.
Let suppose for some reason , metric to 10.4.4.4/28 changes such that the value becomes 200.
Will tracking object go down or it stay up?
thanks and have a great day.
Solved! Go to Solution.
03-13-2013 07:11 PM
Hi Sarahr,
Sorry to hear about your test. Don't give up!
I changed the IP and masks a little bit, hopefully this is OK?
track 14 ip route 10.4.4.4 255.255.255.255 metric threshold
threshold metric up 99 down 201
R1(config)# ip route 10.4.4.4 255.255.255.255 1.1.1.1 200
*Mar 1 00:04:36.843: %TRACKING-5-STATE: 14 ip route 10.4.4.4/32 metric threshold Down->Up
R1(config)#do sh ip route
[...]
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.4.4.4 [200/0] via 1.1.1.2
R1(config)#do sh track
Track 14
IP route 10.4.4.4 255.255.255.255 metric threshold
Metric threshold is Up (static/0/1)
4 changes, last change 00:03:43
Metric threshold down 201 up 99
First-hop interface is FastEthernet0/0
Is this what you were after?
Nick Bonifacio
CCIE #38473
03-13-2013 09:09 PM
Hi Sarah,
I am really sorry to hear about your test,you will definately get it next time....
Below is good explanantion by Peter Paluch about the threshold command
track 10 ip route 10.2.21.128/25 metric threshold
threshold metric up 20 down 50
If the metric of the route is 20 or less, the entire tracking object 10 is in the valid state. Now, if the metric of the route starts to increase, the tracking object 10 will be in the valid state until the metric grows to the value 50. If the metric becomes 50 or more, the track object 10 will flip to the invalid state.
Assume now that the route metric will again start to decrease. It will decrease below 50 but the object will still remain in the invalid state. It will decrease further, and when it reaches 20 or less, the tracking object will once again become active.
Thus, the range between the up and down threshold creates a hysteresis field that may help to dampen unnecessary state changes and provide a certain degree of reserve in the tracked value once the object flips its state again.
https://supportforums.cisco.com/thread/2061103
Siddhartha
03-13-2013 07:11 PM
Hi Sarahr,
Sorry to hear about your test. Don't give up!
I changed the IP and masks a little bit, hopefully this is OK?
track 14 ip route 10.4.4.4 255.255.255.255 metric threshold
threshold metric up 99 down 201
R1(config)# ip route 10.4.4.4 255.255.255.255 1.1.1.1 200
*Mar 1 00:04:36.843: %TRACKING-5-STATE: 14 ip route 10.4.4.4/32 metric threshold Down->Up
R1(config)#do sh ip route
[...]
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, FastEthernet0/0
10.0.0.0/32 is subnetted, 1 subnets
S 10.4.4.4 [200/0] via 1.1.1.2
R1(config)#do sh track
Track 14
IP route 10.4.4.4 255.255.255.255 metric threshold
Metric threshold is Up (static/0/1)
4 changes, last change 00:03:43
Metric threshold down 201 up 99
First-hop interface is FastEthernet0/0
Is this what you were after?
Nick Bonifacio
CCIE #38473
03-13-2013 09:09 PM
Hi Sarah,
I am really sorry to hear about your test,you will definately get it next time....
Below is good explanantion by Peter Paluch about the threshold command
track 10 ip route 10.2.21.128/25 metric threshold
threshold metric up 20 down 50
If the metric of the route is 20 or less, the entire tracking object 10 is in the valid state. Now, if the metric of the route starts to increase, the tracking object 10 will be in the valid state until the metric grows to the value 50. If the metric becomes 50 or more, the track object 10 will flip to the invalid state.
Assume now that the route metric will again start to decrease. It will decrease below 50 but the object will still remain in the invalid state. It will decrease further, and when it reaches 20 or less, the tracking object will once again become active.
Thus, the range between the up and down threshold creates a hysteresis field that may help to dampen unnecessary state changes and provide a certain degree of reserve in the tracked value once the object flips its state again.
https://supportforums.cisco.com/thread/2061103
Siddhartha
03-14-2013 06:22 AM
Thanks Siddhartha. long time no see. I hope you are doing great.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide