Celestica Documentation Portal

Find your product documents here

show ip ospf route

Displays OSPF routing table.

Syntaxshow ip ospf [<instance-id>|vrf <vrfname>|all] route
Command modeEXEC
Parameters
  • instance-id – OSPF Instance ID. Range: 1 – 65535.

  • vrfname – VRF Name. Maximum: 15 characters, prefixed with Vrf.

UsageNone
Supported Releases 1.1.0 or later
Click commandNone
Example
sonic# show ip ospf route
============ OSPF network routing table ============
N    20.20.20.0/24         [100] area: 0.0.0.0
                           directly attached to Ethernet8
N IA 30.30.30.0/24         [110] area: 0.0.0.0
                           via 20.20.20.1, Ethernet8

============ OSPF router routing table =============
R    10.10.10.1            [100] area: 0.0.0.0, ABR
                           via 20.20.20.1, Ethernet8

============ OSPF external routing table ===========

sonic#
sonic# show ip ospf vrf Vrf-20 route
VRF Name: Vrf-20
============ OSPF network routing table ============
N    20.20.20.0/24         [100] area: 0.0.0.0
                           directly attached to Ethernet8
N IA 30.30.30.0/24         [110] area: 0.0.0.0
                           via 20.20.20.1, Ethernet8

============ OSPF router routing table =============
R    1.1.1.1               [100] area: 0.0.0.0, ABR
                           via 20.20.20.1, Ethernet8

============ OSPF external routing table ===========