The following is a sample output of the show isis flex-algo
value command showing all the information regarding the IS-IS flexible algorithm:
show isis flex-algo 129
Tag 1:
IS-IS Flex-Algo Database
Flex-Algo count: 7
Flex-Algo 129:
IS-IS Level-1
Definition Priority: 222
Definition Source: R2-RSP3-2015.00, (Local)
Definition Equal to Local: Yes
Definition Metric Type: Delay
Definition Flex-Algo Prefix Metric: No
Disabled: No
Microloop Avoidance Timer Running: No
Local Priority: 222
FRR Disabled: No
Microloop Avoidance Disabled: No
The following is a sample output for the show isis flex-algo command showing the metric type TE:
show isis flex-algo 129 Tag 1:
IS-IS Flex-Algo Database Flex-Algo count: 7
Flex-Algo 129:
IS-IS Level-1
Definition Priority: 222
Definition Source: R2-RSP3-2015.00, (Local) Definition Equal to Local: Yes
Definition Metric Type: TE
Definition Flex-Algo Prefix Metric: No Disabled: No
Microloop Avoidance Timer Running: No Local Priority: 222
FRR Disabled: No
Microloop Avoidance Disabled: No
The following is a sample output of the show isis rib flex-algo
value command showing all the IS-IS local RIB information:
show isis rib flex-algo 129
IPv4 local RIB for IS-IS process 1
IPV4 unicast topology base (TID 0, TOPOID 0x0) ================= Repair path attributes:
DS - Downstream, LC - Linecard-Disjoint, NP - Node-Protecting PP - Primary-Path, SR - SRLG-Disjoint
Flex-algo 129
10.1.1.1/32 prefix attr X:0 R:0 N:1 source router id: 10.1.1.1 SID index 38 - Bound [115/L1/113] via 10.11.11.1(GigabitEthernet0/4/6) R1-ASR920-2011.00-00, from 10.1.1.1, tag 0
LSP 6/6/351(351), prefix attr: X:0 R:0 N:1 Source router id: 10.1.1.1
Prefix-SID index: 38, R:0 N:1 P:0 E:0 V:0 L:0
label: implicit-null
repair path: 10.20.20.2 (GigabitEthernet0/4/7) metric: 117 (DS,SR) local LFA
label: implicit-null
repair source: R1-ASR920-2011, LSP 6
10.2.2.2/32 prefix attr X:0 R:0 N:1 source router id: 10.2.2.2 SID index 39 - Bound [115/L1/24] via 10.13.13.2(GigabitEthernet0/1/5) R4-RSP3-2036.00-00, from 10.2.2.2, tag 0
LSP 2/3/345(345), prefix attr: X:0 R:0 N:1 Source router id: 10.2.2.2
Prefix-SID index: 39, R:0 N:1 P:0 E:0 V:0 L:0
label: 17039
repair path: 10.4.4.4 (MPLS-SR-Tunnel4) metric: 170 (DS,NP,SR) next-hop: 10.20.20.2 (GigabitEthernet0/4/7)
TI-LFA node/SRLG-protecting, SRLG-protecting
SRGB: 17000, range: 7000 prefix-SID index: 39, R:0 N:1 P:0 E:0 V:0 L:0
label: 17039
P node: R3-RSP2-2013[10.4.4.4], label: 17221
repair source: R6-RSP3-2038, LSP 3
10.4.4.4/32 prefix attr X:0 R:0 N:1 source router id: 10.4.4.4 SID index 221 - Bound
[115/L1/172] via 10.13.13.2(GigabitEthernet0/1/5) R4-RSP3-2036.00-00, from 10.4.4.4, tag
0
LSP 2/7/24(24), prefix attr: X:0 R:0 N:1 Source router id: 10.4.4.4
Prefix-SID index: 221, R:0 N:1 P:0 E:0 V:0 L:0
label: 17221
repair path: 10.20.20.2 (GigabitEthernet0/4/7) metric: 184 (DS,NP,SR) local LFA
label: 17221
repair source: R3-RSP2-2013, LSP 7
10.5.5.5/32 prefix attr X:0 R:0 N:1 source router id: 10.5.5.5 SID index 222 - Bound [115/L1/17] via 10.13.13.2(GigabitEthernet0/1/5) R4-RSP3-2036.00-00, from 10.5.5.5, tag 0
LSP 2/2/347(347), prefix attr: X:0 R:0 N:1 Source router id: 10.5.5.5
Prefix-SID index: 222, R:0 N:1 P:0 E:0 V:0 L:0
label: implicit-null
repair path: 10.4.4.4 (MPLS-SR-Tunnel4) metric: 170 (DS,SR) next-hop: 10.20.20.2 (GigabitEthernet0/4/7)
TI-LFA SRLG-protecting
SRGB: 17000, range: 7000 prefix-SID index: 222, R:0 N:1 P:0 E:0 V:0 L:0
label: 17222
P node: R3-RSP2-2013[10.4.4.4], label: 17221
repair source: R4-RSP3-2036, LSP 2
10.6.6.6/32 prefix attr X:0 R:0 N:1 source router id: 10.6.6.6 SID index 333 - Bound [115/L1/122] via 10.13.13.2(GigabitEthernet0/1/5) R4-RSP3-2036.00-00, from 10.6.6.6, tag
0
LSP 2/4/351(351), prefix attr: X:0 R:0 N:1 Source router id: 10.6.6.6
Prefix-SID index: 333, R:0 N:1 P:0 E:0 V:0 L:0
label: 17333
repair path: 10.4.4.4 (MPLS-SR-Tunnel4) metric: 170 (DS,NP,SR) next-hop: 10.20.20.2 (GigabitEthernet0/4/7)
TI-LFA node/SRLG-protecting, SRLG-protecting
SRGB: 17000, range: 7000 prefix-SID index: 333, R:0 N:1 P:0 E:0 V:0 L:0
label: 17333
P node: R3-RSP2-2013[10.4.4.4], label: 17221
repair source: R5-ASR920-2012, LSP 4
The following is a sample output of the show isis topo flex-algo
value command showing information regarding the IS-IS paths to intermediate systems:
show isis topo flex-algo 129
Tag 1:
IS-IS TID 0 paths to level-1 routers
Flex-algo 129
System Id Metric Next-Hop Interface SNPA
920_1 3 RSP2_2 Gi0/15/0 e8ed.f3b8.f804
RSP3_R1 **
RSP2_1 2 RSP2_2 Gi0/15/0 e8ed.f3b8.f804
RSP3_R2 **
RSP2_2 1 RSP2_2 Gi0/15/0 e8ed.f3b8.f804
RSP3_R3 --
The following is a sample output of the show isis fast-reroute ti-lfa tunnel command showing information regarding the IS-IS TI-LFA tunnels:
show isis fast-reroute ti-lfa tunnel
Tag null:
Fast-Reroute TI-LFA Tunnels:
Tunnel Interface Next Hop End Point Label End Point Host
Tag 1:
Fast-Reroute TI-LFA Tunnels:
Tunnel Interface Next Hop End Point Label End Point Host
MP2 Gi0/0/6 10.12.12.2 10.2.2.2 17019 RSP3_R3
MP5 Gi0/0/5 10.11.11.2 10.2.2.2 17019 RSP3_R3
MP3 Gi0/0/6 10.12.12.2 10.6.6.6 17333 RSP2_2
10.2.2.2 16 RSP3_R3
MP9 Gi0/0/5 10.11.11.2 10.2.2.2 17039 RSP3_R3
MP1 Gi0/0/6 10.12.12.2 10.6.6.6 20333 RSP2_2
10.2.2.2 16 RSP3_R3
MP6 Gi0/0/5 10.11.11.2 10.2.2.2 17049 RSP3_R3
The following is a sample output of the show ip ospf topology command showing the node and link information compiled from the link-state advertisements (LSAs):
R1#show ip ospf topology
Process OSPF-10
Instance : global
Router ID : 10.1.1.1
Area : (8 nodes)
Node : 10.2.0.2 (pseudo) (2 links)
Link : 10.1.1.1 10.0.0.0 Transit
Link : 10.1.1.2 10.0.0.0 Transit
Node : 10.1.1.1 (root) (3 links) ABR
Algos supported: 128, 129
Flex Algo Definition: 128
Flex Algo Definition: 129
Link : 10.1.1.6 10.0.0.2 Point-to-point
Link : 10.1.1.6 10.6.1.1 Point-to-point
Link : 10.2.0.2 10.2.0.1 Transit
Node : 10.1.1.2 (3 links)
Algos supported: 128
Link : 10.1.1.3 10.3.0.2 Point-to-point
Link : 10.1.1.54 10.5.0.2 Point-to-point
Link : 10.2.0.2 10.2.0.2 Transit
Node : 10.1.1.3 (2 links)
Algos supported: 128
Link : 10.1.1.2 10.3.0.3 Point-to-point
Link : 10.1.1.4 10.4.0.3 Point-to-point
Node : 10.1.1.4 (3 links) ABR, ASBR
Algos supported: 128, 129
Link : 10.1.1.3 10.4.0.4 Point-to-point
Link : 10.1.1.9 10.0.0.3 Point-to-point
Link : 10.1.1.54 10.5.0.4 Point-to-point
Node : 10.1.1.6 (4 links)
Algos supported: 129
Link : 10.1.1.1 10.0.0.2 Point-to-point
Link : 10.1.1.1 10.6.1.6 Point-to-point
Link : 10.1.1.54 10.6.0.6 Point-to-point
Link : 10.1.1.54 10.6.1.6 Point-to-point
Node : 10.1.1.9 (1 links) ABR
Link : 10.1.1.4 10.0.0.3 Point-to-point
Node : 10.1.1.54 (4 links)
Algos supported: 129
Link : 10.1.1.2 10.5.0.5 Point-to-point
Link : 10.1.1.4 10.5.0.5 Point-to-point
Link : 10.1.1.6 10.6.0.5 Point-to-point
Link : 10.1.1.6 10.6.1.5 Point-to-point
Area : (2 nodes)
Node : 10.1.1.1 (root) (1 links) ABR
Algos supported: 128, 129
Flex Algo Definition: 128
Flex Algo Definition: 129
Link : 10.1.1.8 10.8.0.1 Point-to-point
Node : 10.1.1.8 (1 links) ASBR
Link : 10.1.1.1 10.8.0.8 Point-to-point
The following is a sample output of the show ip ospf topology prefix command showing the node and prefix information compiled from the LSAs:
R1#show ip ospf topology prefix
Process OSPF-10
Instance : global
Router ID : 10.1.1.1
Area : (8 nodes)
Node : 10.2.0.2 (pseudo) (2 links)
Node : 10.1.1.1 (root) (3 links) ABR
Algos supported: 128, 129
Flex Algo Definition: 128
Flex Algo Definition: 129
Node : 10.1.1.2 (3 links)
Algos supported: 128
Node : 10.1.1.3 (2 links)
Algos supported: 128
Prefix : 10.1.1.34/32
Node : 10.1.1.4 (3 links) ABR, ASBR
Algos supported: 128, 129
Prefix : 10.1.1.4/32
Prefix : 10.1.1.34/32
Prefix : 10.1.1.45/32
Node : 10.1.1.6 (4 links)
Algos supported: 129
Node : 10.1.1.9 (1 links) ABR
Node : 10.1.1.54 (4 links)
Algos supported: 129
Prefix : 10.1.1.54/32
Area : (2 nodes)
Node : 10.1.1.1 (root) (1 links) ABR
Algos supported: 128, 129
Flex Algo Definition: 128
Flex Algo Definition: 129
Node : 10.1.1.8 (1 links) ASBR
The following is a sample output of the show ip ospf topology route command showing the path information of routes computed based on route calculation:
R1#show ip ospf topology route
Route Table of OSPF-10 with router ID 10.1.1.1 (VRF global)
10.1.1.4/32
Algo 128, Metric 31, SID 132, Label 16132
10.2.0.2, from 10.1.1.2, via Ethernet0/1
Algo 129, Metric 31, SID 133, Label 16133
10.1.1.6, from 10.1.1.6, via Ethernet0/0
10.6.1.6, from 10.1.1.6, via Ethernet0/3
10.1.1.34/32
Algo 128, Metric 21, SID 43, Label 16043
10.2.0.2, from 10.1.1.2, via Ethernet0/1
10.1.1.45/32
Algo 129, Metric 31, SID 4294967295, Label 1048577
10.1.1.6, from 10.1.1.6, via Ethernet0/0
10.6.1.6, from 10.1.1.6, via Ethernet0/3
10.1.1.54/32
Algo 129, Metric 21, SID 45, Label 16045
10.1.1.6, from 10.1.1.6, via Ethernet0/0
10.6.1.6, from 10.1.1.6, via Ethernet0/3
The following is a sample output of the show mpls forwarding-table command showing the non-zero algorithm specific prefix SID Label MPLS forwarding information:
#show mpls forwarding-table 10.23.23.23 255.255.255.255 algo 20
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
18 16023 0-10.23.23.23/32-4 (10:30:20:1) \
0 Et1/1 10.1.1.2
The prefix or tunnel ID column provides information about the metric, for example, 0-10.6.6.6/32-4 (4:50:128:0).
The four parts next to the prefix are as follows:
-
pdb-index=4
-
metric=50
-
algo=128
-
via-srms=0
The via-srms field indicates whether the source of the label came from a prefix reachability advertisement (0) or from a mapping server
advertisement (1). Labels derived from mapping server advertisements should not be advertised when a redistributed route is
advertised by the destination protocol for redistribution.
The pdb-index field indicates the protocol instance. The following command output shows the different protocols and their values:
# show ip protocols summary
Index Process Name
0 connected
1 static
2 application
3 nat-route
4 isis 1
The following is a sample output of the show isis rib redistribution command showing the redistributed prefix:
# show isis rib redistribution
IPv4 redistribution RIB for IS-IS process 1
IPV4 unicast base topology (TID 0, TOPOID 0x0) =================
====== Level 1 ======
====== Level 2 ======
10.3.3.3/32
[Connected/0] prefix-SID index: 31, R:0 N:1 P:0 E:0 V:0 L:0
strict-SPF SID index: 32, R:0 N:1 P:0 E:0 V:0 L:0
flex-algo 128 SID index: 33, R:0 N:1 P:0 E:0 V:0 L:0 map 0x1
prefix-metric: 0, not advertised
10.4.4.4/32
[ISIS/0] external interarea prefix-SID index: 41, R:1 N:0 P:1 E:0 V:0 L:0
strict-SPF SID index: 42, R:1 N:0 P:1 E:0 V:0 L:0
flex-algo 128 SID index: 43, R:1 N:0 P:1 E:0 V:0 L:0 map 0x0
prefix-metric: 40, not advertised
prefix attr: X:1 R:0 N:0
In this example, you can see the strict SID or flexible algorithm prefix SIDs. The redistributed prefix is noted as the inter
area route, and the X flag is set.
The following is a sample output of the show isis database verbose command showing the prefix-metric flag (M-flag) that is advertised in ISIS flexible algorithm definition flags sub-TLV:
# show isis database verbose
..
Router CAP: 10.1.1.1, D:0, S:0
Segment Routing: I:1 V:0, SRGB Base: 16000 Range: 8000
Segment Routing Local Block: SRLB Base: 15000 Range: 1000
Node-MSD
MSD: 16
Flex algorithm: 150 Metric-Type: IGP Alg-type: SPF Priority: 128
Segment Routing Algorithms: SPF, Strict-SPF, Flex-algo 128
Segment Routing Algorithms: Flex-algo 150
Flex algorithm: 128 Metric-Type: IGP Alg-type: SPF Priority: 128
Flex-Algo Definition Flags:
M:1.