MPLS L3VPNs Wit
MPLS L3VPNs Wit
MPLS L3VPNs Wit
Introduction
Prerequisites
Requirements
Components Used
Background Information
ISIS Remote LFA
Configure
Network Diagram
Configurations
CPE-1-R8
CPE-2-R8
PE-1-R1
P1-R2
P2-R3
P3-R4
P4-R5
P5-R6
PE-2-R7
Verify
P1-R2
P2-R3
P3-R4
P4-R5
P5-R6
Failure in core scenario, traffic flow in core when LFA is configured.
P1-R2
Troubleshoot
Introduction
This document describes how to configure Multiprotocol Label Switching (MPLS) Layer 3 Vpns
with ISIS Remote Loop Free Alternative (LFA) feature. It shows a sample network scenario and its
configuration and outputs to understand better.
Prerequisites
Requirements
There are no specific requirements for this document. However, basic understanding of MPLS and
working knowledge of ISIS protocol will definitely help.
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of
the devices used in this document started with a cleared (default) configuration. If your network is
live, make sure that you understand the potential impact of any command.
Background Information
ISIS is widely deployed across ISPs worldwide and MPLS Layer 3 Vpn is the most common
solution provided by the ISPs. Inside an ISP core infrastructure link failure directly impacts the
performance, so sub-second convergence is highly desired. Features like MPLS tunnel Link
Protection and Node Protection solve these issues but require manual configuration.
ISIS Remote LFA leverages the concept that for a given area, all the ISIS routers will have
identical link State Database. If Router A needs to select a backup path to destination X, via
Router B, then Router A can select Router B as the backup next hop provided that Router B does
not use Router A as it next hop for destination X. This can be done as all the routers have identical
database. This is the basic idea for the LFA feature. Now this backup path is directly programmed
in Cisco Express Forwarding (CEF) entry and will be instantly used once the primary route fails.
Then the routing protocol can converge as per traditional timers.
The traffic flows from Router A to F taking the path A--C--F. If the link between Router A and C
goes down. Router A then can immediately send the packets destined to F, to router B, but this
will not solve the problem. Since the link just got down and ISIS topology is unaware of the
change. If the packets arrive at Router B, Router B will still have old routing information and will
still have the entry to route to F via A. Hence packets will be looped between B and A till the point
topology converges.
To solve this problem, tunnel the packets to Router D from Router A. Router D never used path
via Router A to go to F. Now when the link between Router A and C fails, immediatey without any
convergence the traffic destined to router F is sent to Router D via Tunnel. Now Router D is
unaware of any such change in topology when it gets the tunnelled traffic from Router A destined
to Router F, it forwards the packets via its normal routing logic. So traffic flow remains unaffected
and meanwhile the topology can reconverge.
Configure
Network Diagram
The topology for the MPLS Layer 3 Vpn with Remote LFA:
Acronym
P = Provider Router
Configurations
CPE-1-R8
interface Ethernet0/0
ip address 192.168.18.8 255.255.255.0
!
!
ip route 0.0.0.0 0.0.0.0 192.168.18.1
!
!
CPE-2-R8
interface Ethernet0/0
ip address 192.168.79.9 255.255.255.0
!
!
ip route 0.0.0.0 0.0.0.0 192.168.79.7
!
!
PE-1-R1
# PE Configuration
interface Loopback1
ip address 192.168.255.1 255.255.255.255
ip router isis TAC
!
interface Ethernet0/0
vrf forwarding A
ip address 192.168.18.1 255.255.255.0
!
# ISIS Interface must be point-to-point
interface Ethernet0/1
ip address 192.168.12.1 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
P1-R2
# P Configuration
interface Loopback1
ip address 192.168.255.2 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.12.2 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
ip address 192.168.23.2 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/2
ip address 192.168.26.2 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
P2-R3
# P Configuration
interface Loopback1
ip address 192.168.255.3 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.23.3 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
ip address 192.168.34.3 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
P3-R4
# P Configuration
interface Loopback1
ip address 192.168.255.4 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.34.4 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
ip address 192.168.45.4 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
P4-R5
# P Configuration
interface Loopback1
ip address 192.168.255.5 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.45.5 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
ip address 192.168.56.5 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
P5-R6
# P Configuration
interface Loopback1
ip address 192.168.255.6 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.56.6 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
ip address 192.168.26.6 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/2
ip address 192.168.67.6 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
!
# Configuring ISIS remote LFA
PE-2-R7
# PE Configuration
interface Loopback1
ip address 192.168.255.7 255.255.255.255
ip router isis TAC
!
# ISIS Interface must be point-to-point
interface Ethernet0/0
ip address 192.168.67.7 255.255.255.0
ip router isis TAC
mpls ip
isis circuit-type level-2-only
isis network point-to-point
!
interface Ethernet0/1
vrf forwarding A
ip address 192.168.79.7 255.255.255.0
!
!
# Configuring ISIS remote LFA
Verify
Use this section in order to confirm that your configuration works properly.
P1-R2
The command show isis fast-reroute remote-lfa tunnels displays the remote LFA tunnels built
on the router:
P2-R3
P3-R4
P4-R5
P5-R6
P1-R2 router does not need to look for backup path, as already there is a CEF entry formed ie via
P2-R3 prior to the failure.
For verification, a continuous ping is done from CE-1-R8 to CE-2-R9 after it recreates a failure
scenario by shutting down the core link (Eth 0/2) between P1-R2 and P5-R6, not even a single
drop is observed in the test environment.
CE-1-R8#ping 192.168.79.9
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.79.9, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <Ouput Snipped>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!
Success rate is 100 percent (149320/149320), round-trip min/avg/max = 1/1/18 ms
Troubleshoot
There is currently no specific troubleshooting information available for this configuration.