SlideShare a Scribd company logo
Track OSPF Route Metric
Topology:
R1 and R2 run HSRP on their Fa1/0 interfaces sharing the virtual IP 192.168.0.254. R1 has a
higher HSRP priority (100) than R2 (90) so R1 is active and R2 is in the standby state. R1
has an OPSF metric of 101 to R3s loopback 10.0.0.3/32.
R1#show ip route 10.0.0.3
Routing entry for 10.0.0.3/32
Known via "ospf 1", distance 110, metric 101, type intra area
Last update from 10.0.13.3 on FastEthernet0/0, 00:00:08 ago
Routing Descriptor Blocks:
* 10.0.13.3, from 10.0.0.3, 00:00:08 ago, via FastEthernet0/0
Route metric is 101, traffic share count is 1
R1#show track
Track 1
IP route 10.0.0.3 255.255.255.255 metric threshold
Metric threshold is Up (OSPF/101/101)
13 changes, last change 00:00:06
Metric threshold down 102 up 101
First-hop interface is FastEthernet0/0
Tracked by:
HSRP FastEthernet1/0 1
The following is configured on R1:
conf t
track 1 ip route 10.0.0.3 255.255.255.255 metric threshold
threshold metric up 101 down 102
exit
interface FastEthernet1/0
description Link to SW1
ip address 192.168.0.1 255.255.255.0
standby 1 ip 192.168.0.254
standby 1 timers 2 6
standby 1 preempt
standby 1 authentication 9eaPSi58
standby 1 track 1 decrement 20
This has the effect that when R1's direct link to R3 goes down its OSPF metric to 10.0.0.3
increases to the point where the track object which is tracking the metric of 10.0.0.3/32
passes it's "down" threshold ("down 102" above) and the track object changes state to
down. This decrements the R1 HSRP priority by 20 dropping it to be lower (100-20=80) than
the HSRP priority of R2 (90):
R3#conf t
R3(config)#int fa0/0
R3(config-if)#shut
*Nov 16 15:18:05.218: %OSPF-5-ADJCHG: Process 1, Nbr 10.0.0.1 on FastEthernet0/0
from FULL to DOWN, Neighbor Down: Interface down or detached
R1#
*Nov 16 15:18:08.762: %OSPF-5-ADJCHG: Process 1, Nbr 10.0.0.3 on FastEthernet0/0
from FULL to DOWN, Neighbor Down: Dead timer expired
*Nov 16 15:18:25.118: %TRACKING-5-STATE: 1 ip route 10.0.0.3/32 metric threshold
Up->Down
*Nov 16 15:18:26.058: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Active ->
Speak
*Nov 16 15:18:33.126: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Speak ->
Standby
R2#
*Nov 16 15:18:26.266: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Standby ->
Active
R1#show ip route 10.0.0.3
Routing entry for 10.0.0.3/32
Known via "ospf 1", distance 110, metric 11002, type intra area
Last update from 10.0.12.2 on FastEthernet0/1, 00:00:14 ago
Routing Descriptor Blocks:
* 10.0.12.2, from 10.0.0.3, 00:00:14 ago, via FastEthernet0/1
Route metric is 11002, traffic share count is 1
R1#show track
Track 1
IP route 10.0.0.3 255.255.255.255 metric threshold
Metric threshold is Down (OSPF/11002/255)
12 changes, last change 00:00:31
Metric threshold down 102 up 101
First-hop interface is FastEthernet0/1
Tracked by:
HSRP FastEthernet1/0 1
R1#show standby
FastEthernet1/0 - Group 1
State is Speak
18 state changes, last state change 00:00:03
Virtual IP address is 192.168.0.254
Active virtual MAC address is 0000.0c07.ac01
Local virtual MAC address is 0000.0c07.ac01 (v1 default)
Hello time 2 sec, hold time 6 sec
Next hello sent in 0.304 secs
Authentication text, string "9eaPSi58"
Preemption enabled
Active router is 192.168.0.2, priority 90 (expires in 4.576 sec)
Standby router is unknown
Priority 80 (default 100)
Track object 1 state Down decrement 20
Group name is "hsrp-Fa1/0-1" (default)
Now the metric for R1 to 10.0.0.3/32 is "11002" and R2 is in HSRP state active. However, on
R2 its link to R4 has a much higher cost, 10000, in the case that the R1 > R3 link is down
and the R2 > R4 link is down maybe it is desirable to have R1 as HSRP master again. As per
the below the R2 to 10.0.0.4 OSPF metric is very high when the R1 to R3 link is down:
R2#show ip route 10.0.0.4
Routing entry for 10.0.0.4/32
Known via "ospf 1", distance 110, metric 10001, type intra area
Last update from 10.0.24.4 on FastEthernet0/0, 00:01:45 ago
Routing Descriptor Blocks:
* 10.0.24.4, from 10.0.0.4, 00:01:45 ago, via FastEthernet0/0
Route metric is 10001, traffic share count is 1
Track objects only support an up/down threshold value between 1-255 so a value is used to
divide the OSPF metric to bring it down into the 1-255 range on R2:
conf t
track resolution ip route OSPF 100
track 1 ip route 10.0.0.4 255.255.255.255 metric threshold
threshold metric up 100 down 101
exit
"track resolution ip route OSPF 100" has the effect of dividing any tracked OSPF route metric
by 100 so the R2 > R4 metric for 10.0.0.4 becomes 10001/100 == 100. The value in the
"Metric threshold is Up (OSPF/10001/100)" statement means that the current OSPF metric to
10.0.0.4 is 10001 and with when divided by 100 the result is 100, so the track object is in
state Up "Metric threshold down 101 up 100":
R2#show track
Track 1
IP route 10.0.0.4 255.255.255.255 metric threshold
Metric threshold is Up (OSPF/10001/100)
6 changes, last change 00:35:21
Metric threshold down 101 up 100
First-hop interface is FastEthernet0/0
Tracked by:
HSRP FastEthernet1/0 1
When the R1 to R3 link is restored the best path for R2 to 10.0.0.4 is via R1 and now the
track object shows the following:
R2#show ip route 10.0.0.4
Routing entry for 10.0.0.4/32
Known via "ospf 1", distance 110, metric 1102, type intra area
Last update from 10.0.12.1 on FastEthernet0/1, 00:01:30 ago
Routing Descriptor Blocks:
* 10.0.12.1, from 10.0.0.4, 00:01:30 ago, via FastEthernet0/1
Route metric is 1102, traffic share count is 1
R2#show track
Track 1
IP route 10.0.0.4 255.255.255.255 metric threshold
Metric threshold is Up (OSPF/1102/11)
6 changes, last change 00:48:58
Metric threshold down 101 up 100
First-hop interface is FastEthernet0/1
Tracked by:
HSRP FastEthernet1/0 1
The OSPF metric of 1102 divided by 100 produces the result of 11 so the track object state is
up, but even so up the HSRP priority on R2 (90) is lower than that of R1 (100) so R1 is the
HSRP master as long as the R1 > R3 link is up.
If at any point R3 should become completely isolated from the network or 10.0.0.3 is
unreachable, and thus the route doesn't exist within OSPF, this will trigger the track object
on R1 to change state to down. The route being unavailable has the same impact as if the
threashold were exceeded.

More Related Content

What's hot

Time Based ACL
Time Based ACLTime Based ACL
Time Based ACL
NetProtocol Xpert
 
Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static route
Netwax Lab
 
Ospf
OspfOspf
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
Naoto MATSUMOTO
 
Day 12 enabling ospf
Day 12 enabling ospfDay 12 enabling ospf
Day 12 enabling ospf
CYBERINTELLIGENTS
 
EIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual SummarizationEIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual Summarization
NetProtocol Xpert
 
NPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN networkNPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN network
Tanay Chakraborty
 
NAT and firewall presentation - how setup a nice firewall
NAT and firewall presentation - how setup a nice firewallNAT and firewall presentation - how setup a nice firewall
NAT and firewall presentation - how setup a nice firewall
Cassiano Campes
 
EIGRP Default Route
EIGRP Default Route EIGRP Default Route
EIGRP Default Route
NetProtocol Xpert
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)
IT Tech
 
1 egp
1 egp1 egp
1 egp
PAF-KIET
 
4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT
Gayan Sameera
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
robertoxe
 
Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011
Dân Chơi
 
How to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configurationHow to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configuration
IT Tech
 
Eincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iiiEincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iii
Netwax Lab
 
ISP Border Definition
ISP Border DefinitionISP Border Definition
ISP Border Definition
Qrator Labs
 
OSPF Authentication
OSPF Authentication OSPF Authentication
OSPF Authentication
NetProtocol Xpert
 
Networking Puzzle
Networking PuzzleNetworking Puzzle
Networking Puzzle
Aalok Shah
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 

What's hot (20)

Time Based ACL
Time Based ACLTime Based ACL
Time Based ACL
 
Eincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static routeEincop Netwax Lab: Lab 1 static route
Eincop Netwax Lab: Lab 1 static route
 
Ospf
OspfOspf
Ospf
 
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
PBR-LB - Direct Server Return Load Balancing using Policy Based Routing (MEMO)
 
Day 12 enabling ospf
Day 12 enabling ospfDay 12 enabling ospf
Day 12 enabling ospf
 
EIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual SummarizationEIGRP Automatic & Manual Summarization
EIGRP Automatic & Manual Summarization
 
NPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN networkNPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN network
 
NAT and firewall presentation - how setup a nice firewall
NAT and firewall presentation - how setup a nice firewallNAT and firewall presentation - how setup a nice firewall
NAT and firewall presentation - how setup a nice firewall
 
EIGRP Default Route
EIGRP Default Route EIGRP Default Route
EIGRP Default Route
 
How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)How to configure interior gateway routing protocol (igrp)
How to configure interior gateway routing protocol (igrp)
 
1 egp
1 egp1 egp
1 egp
 
4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011
 
How to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configurationHow to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configuration
 
Eincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iiiEincop Netwax Lab: EIGRP iii
Eincop Netwax Lab: EIGRP iii
 
ISP Border Definition
ISP Border DefinitionISP Border Definition
ISP Border Definition
 
OSPF Authentication
OSPF Authentication OSPF Authentication
OSPF Authentication
 
Networking Puzzle
Networking PuzzleNetworking Puzzle
Networking Puzzle
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 

Similar to Track ospf route metric

mpls-05
mpls-05mpls-05
mpls-05
kj teoh
 
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
EnRios1
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
Kristof De Brouwer
 
ospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdf
Denis Rasskazov
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
Dynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPFDynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPF
Atakan ATAK
 
Labs ospf
Labs ospfLabs ospf
mpls-06
mpls-06mpls-06
mpls-06
kj teoh
 
OSPF Virtual Link
OSPF Virtual LinkOSPF Virtual Link
OSPF Virtual Link
NetProtocol Xpert
 
mpls-04
mpls-04mpls-04
mpls-04
kj teoh
 
NSSA external route with Forwarding Address demystified with RFC 3101
NSSA external route with Forwarding Address demystified with RFC 3101NSSA external route with Forwarding Address demystified with RFC 3101
NSSA external route with Forwarding Address demystified with RFC 3101
meddane
 
Fast Convergence in IP Network
Fast Convergence in IP Network Fast Convergence in IP Network
Fast Convergence in IP Network
Bangladesh Network Operators Group
 
Ospf
OspfOspf
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration
3Anetwork com
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Hamed Moghaddam
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
ernestlithur
 
OSPF_Exercises.pdf
OSPF_Exercises.pdfOSPF_Exercises.pdf
OSPF_Exercises.pdf
Denis Rasskazov
 
Ospf
OspfOspf
Ospf
Alp isik
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testing
Stephane Litkowski
 
3
33

Similar to Track ospf route metric (20)

mpls-05
mpls-05mpls-05
mpls-05
 
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
 
ospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdf
 
Site to Site VPN between Cisco Routers
Site to Site VPN between Cisco RoutersSite to Site VPN between Cisco Routers
Site to Site VPN between Cisco Routers
 
Dynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPFDynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPF
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
mpls-06
mpls-06mpls-06
mpls-06
 
OSPF Virtual Link
OSPF Virtual LinkOSPF Virtual Link
OSPF Virtual Link
 
mpls-04
mpls-04mpls-04
mpls-04
 
NSSA external route with Forwarding Address demystified with RFC 3101
NSSA external route with Forwarding Address demystified with RFC 3101NSSA external route with Forwarding Address demystified with RFC 3101
NSSA external route with Forwarding Address demystified with RFC 3101
 
Fast Convergence in IP Network
Fast Convergence in IP Network Fast Convergence in IP Network
Fast Convergence in IP Network
 
Ospf
OspfOspf
Ospf
 
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
OSPF_Exercises.pdf
OSPF_Exercises.pdfOSPF_Exercises.pdf
OSPF_Exercises.pdf
 
Ospf
OspfOspf
Ospf
 
MPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testingMPLS SDN 2015 - SPRING interoperability testing
MPLS SDN 2015 - SPRING interoperability testing
 
3
33
3
 

Recently uploaded

digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 

Recently uploaded (20)

digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 

Track ospf route metric

  • 1. Track OSPF Route Metric Topology: R1 and R2 run HSRP on their Fa1/0 interfaces sharing the virtual IP 192.168.0.254. R1 has a higher HSRP priority (100) than R2 (90) so R1 is active and R2 is in the standby state. R1 has an OPSF metric of 101 to R3s loopback 10.0.0.3/32. R1#show ip route 10.0.0.3 Routing entry for 10.0.0.3/32 Known via "ospf 1", distance 110, metric 101, type intra area Last update from 10.0.13.3 on FastEthernet0/0, 00:00:08 ago Routing Descriptor Blocks: * 10.0.13.3, from 10.0.0.3, 00:00:08 ago, via FastEthernet0/0 Route metric is 101, traffic share count is 1 R1#show track Track 1 IP route 10.0.0.3 255.255.255.255 metric threshold Metric threshold is Up (OSPF/101/101) 13 changes, last change 00:00:06 Metric threshold down 102 up 101 First-hop interface is FastEthernet0/0
  • 2. Tracked by: HSRP FastEthernet1/0 1 The following is configured on R1: conf t track 1 ip route 10.0.0.3 255.255.255.255 metric threshold threshold metric up 101 down 102 exit interface FastEthernet1/0 description Link to SW1 ip address 192.168.0.1 255.255.255.0 standby 1 ip 192.168.0.254 standby 1 timers 2 6 standby 1 preempt standby 1 authentication 9eaPSi58 standby 1 track 1 decrement 20 This has the effect that when R1's direct link to R3 goes down its OSPF metric to 10.0.0.3 increases to the point where the track object which is tracking the metric of 10.0.0.3/32 passes it's "down" threshold ("down 102" above) and the track object changes state to down. This decrements the R1 HSRP priority by 20 dropping it to be lower (100-20=80) than the HSRP priority of R2 (90): R3#conf t R3(config)#int fa0/0 R3(config-if)#shut *Nov 16 15:18:05.218: %OSPF-5-ADJCHG: Process 1, Nbr 10.0.0.1 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached R1# *Nov 16 15:18:08.762: %OSPF-5-ADJCHG: Process 1, Nbr 10.0.0.3 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Dead timer expired *Nov 16 15:18:25.118: %TRACKING-5-STATE: 1 ip route 10.0.0.3/32 metric threshold Up->Down
  • 3. *Nov 16 15:18:26.058: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Active -> Speak *Nov 16 15:18:33.126: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Speak -> Standby R2# *Nov 16 15:18:26.266: %HSRP-5-STATECHANGE: FastEthernet1/0 Grp 1 state Standby -> Active R1#show ip route 10.0.0.3 Routing entry for 10.0.0.3/32 Known via "ospf 1", distance 110, metric 11002, type intra area Last update from 10.0.12.2 on FastEthernet0/1, 00:00:14 ago Routing Descriptor Blocks: * 10.0.12.2, from 10.0.0.3, 00:00:14 ago, via FastEthernet0/1 Route metric is 11002, traffic share count is 1 R1#show track Track 1 IP route 10.0.0.3 255.255.255.255 metric threshold Metric threshold is Down (OSPF/11002/255) 12 changes, last change 00:00:31 Metric threshold down 102 up 101 First-hop interface is FastEthernet0/1 Tracked by: HSRP FastEthernet1/0 1 R1#show standby FastEthernet1/0 - Group 1 State is Speak 18 state changes, last state change 00:00:03 Virtual IP address is 192.168.0.254 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (v1 default) Hello time 2 sec, hold time 6 sec Next hello sent in 0.304 secs Authentication text, string "9eaPSi58" Preemption enabled
  • 4. Active router is 192.168.0.2, priority 90 (expires in 4.576 sec) Standby router is unknown Priority 80 (default 100) Track object 1 state Down decrement 20 Group name is "hsrp-Fa1/0-1" (default) Now the metric for R1 to 10.0.0.3/32 is "11002" and R2 is in HSRP state active. However, on R2 its link to R4 has a much higher cost, 10000, in the case that the R1 > R3 link is down and the R2 > R4 link is down maybe it is desirable to have R1 as HSRP master again. As per the below the R2 to 10.0.0.4 OSPF metric is very high when the R1 to R3 link is down: R2#show ip route 10.0.0.4 Routing entry for 10.0.0.4/32 Known via "ospf 1", distance 110, metric 10001, type intra area Last update from 10.0.24.4 on FastEthernet0/0, 00:01:45 ago Routing Descriptor Blocks: * 10.0.24.4, from 10.0.0.4, 00:01:45 ago, via FastEthernet0/0 Route metric is 10001, traffic share count is 1 Track objects only support an up/down threshold value between 1-255 so a value is used to divide the OSPF metric to bring it down into the 1-255 range on R2: conf t track resolution ip route OSPF 100 track 1 ip route 10.0.0.4 255.255.255.255 metric threshold threshold metric up 100 down 101 exit "track resolution ip route OSPF 100" has the effect of dividing any tracked OSPF route metric by 100 so the R2 > R4 metric for 10.0.0.4 becomes 10001/100 == 100. The value in the "Metric threshold is Up (OSPF/10001/100)" statement means that the current OSPF metric to 10.0.0.4 is 10001 and with when divided by 100 the result is 100, so the track object is in state Up "Metric threshold down 101 up 100": R2#show track Track 1
  • 5. IP route 10.0.0.4 255.255.255.255 metric threshold Metric threshold is Up (OSPF/10001/100) 6 changes, last change 00:35:21 Metric threshold down 101 up 100 First-hop interface is FastEthernet0/0 Tracked by: HSRP FastEthernet1/0 1 When the R1 to R3 link is restored the best path for R2 to 10.0.0.4 is via R1 and now the track object shows the following: R2#show ip route 10.0.0.4 Routing entry for 10.0.0.4/32 Known via "ospf 1", distance 110, metric 1102, type intra area Last update from 10.0.12.1 on FastEthernet0/1, 00:01:30 ago Routing Descriptor Blocks: * 10.0.12.1, from 10.0.0.4, 00:01:30 ago, via FastEthernet0/1 Route metric is 1102, traffic share count is 1 R2#show track Track 1 IP route 10.0.0.4 255.255.255.255 metric threshold Metric threshold is Up (OSPF/1102/11) 6 changes, last change 00:48:58 Metric threshold down 101 up 100
  • 6. First-hop interface is FastEthernet0/1 Tracked by: HSRP FastEthernet1/0 1 The OSPF metric of 1102 divided by 100 produces the result of 11 so the track object state is up, but even so up the HSRP priority on R2 (90) is lower than that of R1 (100) so R1 is the HSRP master as long as the R1 > R3 link is up. If at any point R3 should become completely isolated from the network or 10.0.0.3 is unreachable, and thus the route doesn't exist within OSPF, this will trigger the track object on R1 to change state to down. The route being unavailable has the same impact as if the threashold were exceeded.