12-01-2017 06:01 PM - edited 03-05-2019 09:34 AM
I have configured my MPLS enabled (OSPF overlayed, and using LDP for label distribution) R2 router's primary protected LSP as R2-R3-R4 and the backup LSP as R2-R4, which it should switch over to in case of any kind of node or link failure in the protected path.
Without a link failure, my packets are traversing the R2-R3-R4 path. But the link failure (which i triggered by doing a wire pull) is not switching the packets onto the backup link. I have tried to follow all instructions as per the documentation available at MPLS Traffic Engineering (TE)--Fast Reroute (FRR) Link and Node Protection - Cisco But am unable to figure out my mistake(s). Any insight would be appreciated. Thanks in advance.
Attached below are the configurations of R2 and R4, and the topology diagram.
R2 show run:
R1WB4#show run
Building configuration...
Current configuration : 2613 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1WB4
!
boot-start-marker
boot system flash:c2800nm-adventerprisek9-mz.124-24.T8.bin
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
class-map match-any Test
class-map match-any WEB
match access-group 101
match dscp ef
match access-group 102
!
!
policy-map QoS
class WEB
set ip dscp ef
!
!
!
!
!
interface Loopback0
ip address 192.168.41.1 255.255.255.0
!
interface Tunnel1
ip unnumbered Loopback0
tunnel destination 192.168.42.1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 1 explicit identifier 1
tunnel mpls traffic-eng fast-reroute bw-protect node-protect
no routing dynamic
!
interface Tunnel2
ip unnumbered Loopback0
tunnel destination 192.168.42.1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng path-option 2 explicit name avoid-protected-link
no routing dynamic
!
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
service-policy output QoS
!
interface FastEthernet0/1
ip address 192.168.30.2 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
mpls traffic-eng tunnels
mpls traffic-eng backup-path Tunnel2
mpls ip
service-policy output QoS
ip rsvp bandwidth 16
!
interface FastEthernet0/0/0
ip address 192.168.60.1 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
mpls traffic-eng tunnels
mpls ip
ip rsvp bandwidth 16
!
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
log-adjacency-changes
network 172.20.1.0 0.0.0.3 area 0
network 192.168.1.1 0.0.0.0 area 0
network 192.168.20.0 0.0.0.255 area 0
network 192.168.30.0 0.0.0.255 area 0
network 192.168.41.0 0.0.0.255 area 0
network 192.168.60.0 0.0.0.255 area 0
!
ip forward-protocol nd
ip http server
no ip http secure-server
!
!
!
ip explicit-path identifier 1 enable
next-address 10.99.99.2
next-address 192.168.42.1
!
ip explicit-path name avoid-protected-link enable
next-address 192.168.42.1
!
!
!
!
!
!
mpls ldp router-id Loopback0 force
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
R1WB4#
R4 show run:
R2WB4#show run
Building configuration...
Current configuration : 1991 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2WB4
!
boot-start-marker
boot system flash:c2800nm-adventerprisek9-mz.124-24.T8.bin
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
class-map match-any Test
class-map match-any WEB
match access-group 101
match dscp ef
match access-group 102
!
!
policy-map QoS
class WEB
set ip dscp ef
!
!
!
!
!
interface Loopback0
ip address 192.168.42.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.50.1 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
mpls traffic-eng tunnels
service-policy output QoS
ip rsvp bandwidth 16
!
interface FastEthernet0/1
ip address 192.168.40.1 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
mpls traffic-eng tunnels
mpls ip
service-policy output QoS
ip rsvp bandwidth 16
!
interface FastEthernet0/0/0
ip address 192.168.60.2 255.255.255.0
ip virtual-reassembly
duplex auto
speed auto
mpls traffic-eng tunnels
mpls ip
!
router ospf 1
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
log-adjacency-changes
network 172.20.1.0 0.0.0.3 area 0
network 172.20.1.4 0.0.0.3 area 0
network 192.168.1.2 0.0.0.0 area 0
network 192.168.40.0 0.0.0.255 area 0
network 192.168.42.0 0.0.0.255 area 0
network 192.168.50.0 0.0.0.255 area 0
network 192.168.60.0 0.0.0.255 area 0
!
router isis 1
!
no ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
mpls ldp router-id Loopback0 force
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
R2WB4#
Solved! Go to Solution.
12-05-2017 02:02 PM
Hi anee su,
Some observations:
1) Configure the Loopbacks with a mask of /32 instead of /24.
R2 show run:
R1WB4#show run
!
interface Loopback0
ip address 192.168.41.1 255.255.255.255
!
R4 show run:
R2WB4#
!
interface Loopback0
ip address 192.168.42.1 255.255.255.255
!
2) Ensure all interfaces have 'ip rsvp bandwidth' configured. It is missing on R4's interface FastEthernet0/0/0.
R4 show run:
R2WB4#
!
interface FastEthernet0/0/0
ip address 192.168.60.2 255.255.255.0
ip rsvp bandwidth 16
!
3) Configure 'ip rsvp signalling hello' globally and on every interface on all Routers in the path.
For instance:
R2#
conf t
!
ip rsvp signalling hello
!
interface FastEthernet0/1
ip rsvp signalling hello
!
interface FastEthernet0/0/0
ip rsvp signalling hello
!
Once done check the outputs of 'show mpls traffic-eng fast-reroute database' before and during the test.
Let me know how it goes.
Regards.
12-04-2017 08:55 AM
I am moving your post to the Routing space for better visibility and access to feedback.
Thank you for participating in the communitiy.
Kelli Glass
Moderator for Cisco Customer Communities
12-05-2017 02:02 PM
Hi anee su,
Some observations:
1) Configure the Loopbacks with a mask of /32 instead of /24.
R2 show run:
R1WB4#show run
!
interface Loopback0
ip address 192.168.41.1 255.255.255.255
!
R4 show run:
R2WB4#
!
interface Loopback0
ip address 192.168.42.1 255.255.255.255
!
2) Ensure all interfaces have 'ip rsvp bandwidth' configured. It is missing on R4's interface FastEthernet0/0/0.
R4 show run:
R2WB4#
!
interface FastEthernet0/0/0
ip address 192.168.60.2 255.255.255.0
ip rsvp bandwidth 16
!
3) Configure 'ip rsvp signalling hello' globally and on every interface on all Routers in the path.
For instance:
R2#
conf t
!
ip rsvp signalling hello
!
interface FastEthernet0/1
ip rsvp signalling hello
!
interface FastEthernet0/0/0
ip rsvp signalling hello
!
Once done check the outputs of 'show mpls traffic-eng fast-reroute database' before and during the test.
Let me know how it goes.
Regards.
12-05-2017 07:53 PM
Hi Hector, thanks for your observations! I have changed the masks for the loopback interfaces as you've suggested and setup rsvp hellos as well. After this I could see the packets being re-routed via the backup tunnel. I will share the output of 'show mpls traffic-eng fast-reroute database' command soon. Do share your thoughts on the same once I share it.
12-06-2017 08:57 AM
Sure anee su,
I'll be glad to help.
Regards.
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