Clase 2 Fast Convergence&NQA
Clase 2 Fast Convergence&NQA
set protocols ospf area 0.0.0.0 interface em0 bfd-liveness-detection minimum-interval 100
set protocols ospf area 0.0.0.0 interface em0 bfd-liveness-detection multiplier 3
25 segundos
OSPF with BFD – Config
OSPF with BFD – Config
OSPF with BFD – Fail Cloud Provider
OSPF with BFD – Homework
R1 HPE
OSPF LFA - FRR
OSPF Loop-Free Alternate (LFA) Fast Reroute (FRR) allows OSPF to
quickly switch (within 50 ms) to a backup path when a primary path
fails. Without LFA FRR, OSPF has to re-run SPF to find a new path
when the primary path fails. With LFA FRR, OSPF pre-computes a
backup path and installs the backup next hop in the forwarding table.
Methods to calculate LFAs
Per-link: all prefixes that are reachable through a certain link all share
the same next hop address.
• An IGP can calculate a backup next hop for all prefixes that use the
same link.
• When the link fails, all prefixes will automatically be assigned to use
the same backup next hop address.
• The advantage of per link LFA is that it requires fewer CPU cycles and
memory than per-prefix LFA.
• The downside, however, is that once the primary link fails, you
suddenly put a lot of burden on the backup link.
Methods to calculate LFAs
Per-prefix: the IGP calculates an LFA for each and every prefix. It
requires more CPU cycles and memory but it does offer better load
balancing. When a primary path fails, prefixes could use different
backup paths, spreading the traffic throughout the network.
Multihomed Scenario
ISP 1 - CNT
Branch Site
R2
10.1.1.0 .1
Internet
R1 172.16.1.0
.1 ISP 2-TELCONET
R3
R2
10.1.1.0 .1
Internet
R1 172.16.1.0
.1 ISP 2-TELCONET
R3
However, what would happen if a link within the ISP CNT provider
infrastructure were to fail?
• The link from R1 to R2 would still remain up and the R1 would continue to use that
link because the static default route would still be valid.
How can this situation be corrected?
• Dynamic routing between R1 and the ISP networks; not practical !!!!
Multihomed Scenario
ISP 1 - CNT
Branch Site
R2
10.1.1.0 .1
Internet
R1 172.16.1.0
.1 ISP 2-TELCONET
R3
Another solution is to use either static routes or PBR on R1, but make them
subject to reachability tests toward critical destinations, such as the DNS
servers within the ISP.
• If the DNS servers in one of the ISPs go down or are unreachable, the static
route toward that ISP would be removed.
These reachability tests can be performed with CISCO IP SLAs, Juniper RPM,
HPE NQA, etc.
• IP SLA and others can be configured on R1 to probe the DNS servers
frequently.
IP SLAs
The information collected can measure:
Network resource availability
Response time
One-way latency
Jitter (interpacket delay variance)
Packet loss
Voice-quality scoring
Application performance
Server response time
HUAWEI Network Quality Analysis (NQA)
The Network Quality Analysis (NQA) technology measures network performance and
Collects statistics on the delay, jitter, and packet loss ratio.
NQA monitors network quality of service (QoS) in real time and locates and diagnoses
network faults.
33
JUNIPER Real-Time Perfomance Monitor (RPM)
Real-time performance monitoring (RPM) allows you to perform service-level monitoring.
When RPM is configured on a device, the device calculates network performance based
on packet response time, jitter, and packet loss.
These values are gathered by Hypertext Transfer Protocol (HTTP) GET requests,
Internet Control Message Protocol (ICMP) requests, and TCP and UDP requests,
depending on the configuration.
34
IP SLAs Operations
There are two types of IP SLAs
operations:
Those in which the target device is
not running the IP SLAs responder
component (such as a web server
or IP host).
Mostly ICMP generated traffic.
36
IP SLA Configuration - Example
37
IP SLA Configuration - Example
You have to use the ip sla schedule command to start your operation. You can
schedule it but we will start our operation right now and let it run forever
38
IP SLA Configuration - Example
39
IP SLA Configuration - Example
40
IP SLA Configuration – UDP Jitter Operation
41
Static Routing with IP SLA
42
Static Routing with IP SLA
ping IP address 192.168.12.2 each second and when we don’t get a response
within 100 Ms we will believe it’s unreachable
43
Static Routing with IP SLA
First I’ll remove the old default route and replace it with one that says “track 1”.
I can’t connect IP SLA directly with the static route, I have to do this with object
tracking. This is how you combine object tracking with IP SLA
44
Example IP SLA
OSPF 10
Example IP SLA
Example IP SLA
4
Example IP SLA
6
Lab. PBR &IP SLA - Homework