Sample
Verification Outputs
You can run the show commands mentioned in this section to verify whether RLFA is operational in your network. This section
lists the sample outputs that are retrieved depending on your network topology.
Verify the presence
of the remote backup paths in the RIB.
RP/0/RP0/CPU0:router#show route 10.1.1.1/32
Routing entry for 10.1.1.1/32
Known via "ospf 100", distance 110, metric 20, type extern 2
Installed Sep 8 15:18:33.214 for 2d00h
Routing Descriptor Blocks
13.0.0.3, from 10.1.1.1, via GigabitEthernet0/0/0/1, Protected
...
131.1.1.4, from 10.10.10.1 via GigabitEthernet0/0/0/2, Backup (remote)
...
RP/0/RP0/CPU0:router#show route 10.1.1.1/32 detail
Routing entry for 10.1.1.1/32
Known via "ospf 100", distance 110, metric 20, type extern 2
Installed Sep 8 15:18:33.214 for 2d00h
Routing Descriptor Blocks
13.0.0.3, from 10.1.1.1, via GigabitEthernet0/0/0/1, Protected
Path id: 1 Path ref count: 0
Backup path id: 33
...
131.1.1.4, from 10.10.10.1 via GigabitEthernet0/0/0/2, Backup (remote)
Remote LFA is 4.4.4.4
Path id: 33 Path refcount:1
...
Verify the
presence of the remote backup paths in the OSPF topology table.
RP/0/RP0/CPU0:router#show ospf rlfa routes backup-path
...
Topology Table for ospf rlfa with ID 10.1.1.1
Codes: O - Intra area, O IA - Inter area
O E1 - External type 1, O E2 - External type 2
O N1 - NSSA external type 1, O N2 - NSSA external type 2
O 10.3.10.0/24, metric 1
10.3.10.143, directly connected, via GigabitEthernet0/0/0/1
O 10.3.11.0/24, metric 1
10.3.11.143, directly connected, via GigabitEthernet0/0/0/2
O 192.168.0.145/32, metric 2
10.3.10.145, from 192.168.0.145, via GigabitEthernet0/0/0/1, path-id 2
Backup path: Remote, LFA: 11.0.0.1
10.3.11.145, from 192.168.0.145, via GigabitEthernet0/0/0/2, protected bitmap 0x2
Attributes: Metric: 0,
10.3.11.145, from 192.168.0.145, via GigabitEthernet0/0/0/2, path-id 1
Backup path: Remote, LFA: 11.0.0.2
10.3.10.145, from 192.168.0.145, via GigabitEthernet0/0/0/1, protected bitmap 0x1
Attributes: Metric: 0,
Verify the
presence of remote backup paths in the FIB.
RP/0/RP0/CPU0:router# show cef 10.1.1.1 detail
10.1.1.1/32, version 6, internal 0x4004001 (ptr 0x1d5977f4) [1], 0x0 (0x1d563344), 0x450 (0x1dbab050)
Updated Apr 27 13:36:03.013
remote adjacency to GigabitEthernet0/2/0/0
Prefix Len 32, traffic index 0, precedence routine (0), priority 3
gateway array (0x1d42b878) reference count 3, flags 0x28000d0, source lsd (3), 0 backups
[2 type 5 flags 0x10101 (0x1da3c230) ext 0x0 (0x0)]
LW-LDI[type=5, refc=3, ptr=0x1d563344, sh-ldi=0x1da3c230]
via 2.2.2.3, GigabitEthernet0/2/0/0, 0 dependencies, weight 0, class 0, protected [flags 0x400]
path-idx 0 bkup-idx 1 [0x1dc560cc 0x0]
next hop 2.2.2.3
local label 16011 labels imposed {16001}
via 1.1.1.2, GigabitEthernet0/1/0/0, 2 dependencies, weight 0, class 0, backup (remote) [flags 0x300]
path-idx 1 [0x1dc22110 0x0]
next hop 1.1.1.2
remote adjacency
local label 16011 labels imposed {16002 16003}
Load distribution: 0 (refcount 2)
Hash OK Interface Address
0 Y GigabitEthernet0/2/0/0 remote
--------------------------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls forwarding prefix 10.1.1.1/32
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
16011 16001 10.1.1.1/32 SI0/2/CPU0 2.2.2.3 0
{ 16002 10.1.1.1/32 FI0/1/CPU0 1.1.1.2 0
16003 }
------------------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls forwarding prefix 10.1.1.1/32 detail
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
16011 16001 10.1.1.1/32 SI0/2/CPU0 2.2.2.3 0
Updated Apr 29 14:25:09.770
Path Flags: 0x400 [ BKUP-IDX:1 (0x1dc460cc) ]
Version: 5, Priority: 3
MAC/Encaps: 0/4, MTU: 8000
Label Stack (Top -> Bottom): { 16001 }
Packets Switched: 0
{ 16002 10.1.1.1/32 FI0/1/CPU0 1.1.1.2 0
16003 }
Updated Apr 29 14:25:09.770
Path Flags: 0x300 [ IDX:1 BKUP-REMOTE ]
MAC/Encaps: 0/4, MTU: 1500
Label Stack (Top -> Bottom): { 16002 16003 }
Packets Switched: 0
-----------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls forwarding prefix 10.1.1.1/32
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
16011 16001 10.1.1.1/32 GI0/1/CPU0 2.2.2.3 0
{ 16002 10.1.1.1/32 GI0/2/CPU0 1.1.1.2 0
16003 }
----------------------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls forwarding prefix 10.1.1.1/32 detail
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
16011 16001 10.1.1.1/32 GI0/1/CPU0 2.2.2.3 0
Updated Apr 29 14:25:09.770
Path Flags: 0x400 [ BKUP-IDX:1 (0x1dc460cc) ]
Version: 5, Priority: 3
MAC/Encaps: 0/4, MTU: 8000
Label Stack (Top -> Bottom): { 16001 }
Packets Switched: 0
{ 16002 10.1.1.1/32 GI0/2/CPU0 1.1.1.2 0
16003 }
Updated Apr 29 14:25:09.770
Path Flags: 0x300 [ IDX:1 BKUP-REMOTE ]
MAC/Encaps: 0/4, MTU: 1500
Label Stack (Top -> Bottom): { 16002 16003 }
Packets Switched: 0
-----------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show cef fast-reroute
Prefix Next Hop Interface
10.1.1.1/32 2.18.6.2 Bundle-Ether100
13.1.11.2 GigabitEthernet0/6/1/9.11
10.2.1.1/32 2.18.6.2 Bundle-Ether100
13.1.11.2 GigabitEthernet0/6/1/9.11
10.3.1.1/32 2.18.6.2 Bundle-Ether100
13.1.11.2 GigabitEthernet0/6/1/9.11
-------------------------------------------------------------------------------------------------
Verify the
presence of remote backup paths in the MPLS LDP forwarding database.
RP/0/RP0/CPU0:router# show mpls ldp forwarding 10.1.1.1/32
Codes:
- = GR label recovering, (!) = LFA FRR Pure Backup path
{} = Label stack with multi-line output for a routing path
G = GR, S = Stale, R = Remote LFA FRR Backup
Prefix Label Label Outgoing Next Hop Flags
In Out Interface G S R
---------------- ------- -------------- ------------ ------------------- -----
10.1.1.1/32 16001 16002 Gi0/0/0/1 12.1.0.2
{ 16003 Gi0/0/0/2 13.1.0.3 (!) G R
16004 } (4.4.4.4) G
----------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls ldp forwarding 10.1.1.1/32 detail
Codes:
- = GR label recovering, (!) = LFA FRR Pure Backup path
{} = Label stack with multi-line output for a routing path
G = GR, S = Stale, R = Remote LFA FRR Backup
Prefix Label Label Outgoing Next Hop Flags
In Out Interface G S R
---------------- ------- -------------- ------------ ------------------- -----
10.1.1.1/32 16001 16002 Gi0/0/0/1 12.1.0.2
[ Protected; path-id 1 backup-path-id 33;
peer 2.2.2.2:0 ]
{ 16003 Gi0/0/0/2 13.1.0.3 (!) G R
16004 } (4.4.4.4) G
[ Backup (remote); path-id 33; peer 3.3.3.3:0
remote LFA 4.4.4.4, remote peer 4.4.4.4:0 ]
Routing update : Apr 23 17:22:33.102 (00:08:02 ago)
Forwarding update: Apr 23 17:22:47.183 (00:07:48 ago)
--------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls ldp forwarding summary
Forwarding Server (LSD):
Connected: Yes
Forwarding State Holdtime: 120 sec
Forwarding States:
…
Rewrites:
Prefix:
Total: 5 (4 with ECMP, 1 LFA FRR protected)
Labelled:
…
Paths:
Total: 10 (1 backup [1 remote], 2 LFA FRR protected)
Labelled: 10 (1 backup)
Verify the
presence of remote backup paths in the MPLS LSD forwarding database.
RP/0/RP0/CPU0:router# show mpls lsd forwarding labels 16001
In_Label, (ID), Path_Info: <Type>
16001, (IPv4, 'default':4U, 10.1.1.1/32), 2 Paths
1/2: IPv4-rLFA, 'default':4U, Gi0/0/0/1, nh=12.1.0.2, lbl=16002, tun_id=0,
flags=0x0 () [Protected]
2/2: IPv4-rLFA, 'default':4U, Gi0/0/0/2, nh=13.1.0.3, lbls={ 16003, 16004 }, tun_id=0,
flags={ 0x4008 (Retain, Remote-Backup), 0x8 (Retain) } [Backup]
-----------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls lsd forwarding labels 16001 detail
In_Label, (ID), Path_Info: <Type>
16001, (IPv4, 'default':4U, 10.1.1.1/32), 2 Paths
1/2: IPv4-rLFA, 'default':4U, Gi0/0/0/1, nh=12.1.0.2, lbl=16002, tun_id=0,
flags=0x0 () [Protected]
path-id=1, backup-path-id=33
2/2: IPv4-rLFA, 'default':4U, Gi0/0/0/2, nh=13.1.0.3, lbls={ 16003, 16004 }, tun_id=0,
flags={ 0x4008 (Retain, Remote-Backup), 0x8 (Retain) } [Backup]
path-id=33, backup-path-id=0
BCDL priority:3, LSD queue:15, version:103
Installed Apr 23 17:22:47.183 (00:17:09 ago)
------------------------------------------------------------------------------------------------
RP/0/RP0/CPU0:router# show mpls lsd forwarding summary
Messages: 22
Forwarding updates: 34
Rewrites: 9
FPIs:
Label: 9
IPv4: 5
..
MOIs: 13
IPv4 paths: 10 (1 backup [1 remote], 2 protected)
..
IP subscriber: 0
Verify the
presence of remote backup paths in the ingress forwarding chain.
RP/0/RP0/CPU0:router#show cef 10.1.1.1 hard in det loc 0/1/CPU0
Sat May 12 05:16:47.929 UTC
10.10.10.10/32, version 5475, internal 0x4004001 (ptr 0x5f9582f0) [1], 0x0 (0x5f29cf94), 0x450 (0x6058e35c)
Updated May 12 05:05:51.294
...
Print Flags: 00000000
INGRESS PLU
SW: 08300200 00000004 00040000 00263b00
HW: 08300200 00000004 00040000 00263b00
entry_type: FWD rpf ptr: 0x00300200
prefix len: 1 BGP policy a/c: 0
QoS group: 0 BAO id: 0
num entries: 1 next ptr: 0x0000263b
label ptr: 0x00000000 Label(0) Ptr(0)
Load info:
Flag: 0x00860001
TLU Channel: 1 Addr: 0x0000263b
ENTRY 0
SW: 00000000 00712426 b4040002 00000001
HW: 00000000 00712426 b4040002 00000001
PBTS: 0 extra l3li: 0
entry type: FWD next ptr: 0x00712426
is label: 0 is label ptr: 0
num of entries: 1
tunnel_encap_ptr: 0x00000000
next-hop: 180.4.0.2
TLU Channel: 2 Addr: 0x00712426
ENTRY 0
SW: 00000008 00000000 03e82000 20460b00
HW: 00000008 00000000 03e82000 20460b00
label1: 16002 label2: 16003
label 3: 16009
num of labels: 1 next ptr: 0x0020460b
frr Flags : 0x28c /* New flag to indicate that LFA is over PQ */
Primary adjacency
L2 Load info
TLU Channel: 3 Addr: 0x20460b
[HW: 0x00010000 0x00000000 0x00000000 0x30040b00]
num. entries : 1
num. labels : 0
label 1 : 0
next ptr : 0x30040b
L2 Load Balancing Entry
TLU Channel: 4 Addr: 0x30040b
Entry[0]
[HW: 0x00000004 0x00000084 0x01280440 0x00050000]
dest. addr : 0x4
sponge queue : 132
egress port : 0x128044
rp destined : no
service destined : no
rp drop : no
hash type : 0
uidb index : 0x5
FRR backup info
FRR Flags : 0x28c /* updated to indicate PQ is active */
Cached backup adjacency
Cached backup num. entries : 1
protected num. entries : 1
backup is a tunnel : yes
backup tunnel local label : 16007
remote LFA active: 1
Shared TLU Channel: 4 Addr: 0x300a02
Entry[0]
[HW: 0x00000004 0x00000086 0x01280480 0x00070000]
dest. addr : 0x4
sponge queue : 134
egress port : 0x128048
rp destined : no
service destined : no
rp drop : no
hash type : 0
uidb index : 0x7
Load distribution: 0 (refcount 3)
Hash OK Interface Address
0 Y TenGigE0/2/0/4 180.4.0.2