Use the
show ip ospf rib
redistribution detail command to verify if OSPF is redistributing
the prefixes from IS-IS.
Device# show ip ospf rib redistribution detail
OSPF Router with ID (2.2.2.2) (Process ID 10)
Base Topology (MTID 0)
OSPF Redistribution
3.3.3.3/32, type 2, metric 20, tag 0, from IS-IS Router
Attributes 0x1000000, event 1, PDB Index 4, PDB Mask 0x0
Source route metric 20, tag 0
SID 1003, SID Flags NP-bit, EPX Flags None
via 7.9.0.9, Ethernet0/0
Use the
show ip ospf segment-routing
local-prefix command to verify if the SID entries are advertised
to its neighbor.
Device# show ip ospf segment-routing local-prefix
OSPF Router with ID (2.2.2.2) (Process ID 10)
Area 0:
Prefix: Sid: Index: Type: Source:
2.2.2.2/32 2 0.0.0.0 Intra Loopback0
AS external:
Prefix: Sid: Index: Type: Source:
3.3.3.3/32 3 0.0.0.1 External Redist
Use the
show ip ospf segment-routing
sid-database command to verify if the SIDs are received.
Device# show ip ospf segment-routing sid-database
OSPF Router with ID (1.1.1.1) (Process ID 10)
OSPF Segment Routing SIDs
Codes: L - local, N - label not programmed,
M - mapping-server
SID Prefix Adv-Rtr-Id Area-Id Type
-------------- ------------------ --------------- ------- ----------
1 1.1.1.1/32 1.1.1.1 0 Intra
2 2.2.2.2/32 2.2.2.2 0 Intra
3 3.3.3.3/32 2.2.2.2 - External
Use the
show ip route
3.3.3.3 command to verify if the IP routing entry is configured
for the redistributed route.
Device# show ip route 3.3.3.3
Routing entry for 3.3.3.3/32
Known via "ospf 10", distance 110, metric 20, type extern 2, forward metric 20
Last update from 1.2.0.2 on Ethernet0/1, 00:00:01 ago
SR Incoming Label: 16003
Routing Descriptor Blocks:
* 1.3.1.3, from 2.2.2.2, 00:00:01 ago, via Ethernet1/1, merge-labels
Route metric is 20, traffic share count is 1
MPLS label: 16003
MPLS Flags: NSF