show ip ospf summary

Displays summary information for all OSPF instances.

Syntax

show ip ospf summary [ vrf vrfname | all-vrfs| all-vrfs total]

Parameters

vrf vrfname
Specifies the name of the VRF instance. If this option is not used, details for the default VRF are shown in the output.
all-vrfs
Specifies all VRF instances. If this option is not used, details for the default VRF are shown in the output.
all-vrfs total
Displays the cumulative summary of OSPF information with the total numbers for all of the VRF intances. If this option is not used, details for the default VRF are shown in the output.

Modes

Privileged EXEC mode

Examples

The following example shows sample output with the details for the default VRF from the show ip ospf summary command.

device# show ip ospf summary
 
Seq Instance        Intfs   Nbrs    Nbrs-Full LSAs    Routes
1   default-vrf     5       2       1         12      2

The following example shows sample output from the show ip ospf summary all-vrfs command.

device# show ip ospf summary all-vrfs
 
Seq Instance        Intfs   Nbrs    Nbrs-Full LSAs    Routes
1   default-vrf     0       0       0         0       0
2   vrf_1           0       0       0         0       0

The following example shows sample output from the show ip ospf summary all-vrfs total command.

device# show ip ospf summary all-vrfs total
--------------------------------------------- 
        IPv4 OSPF VRFs Summary Total 
--------------------------------------------- 
Number of VRFs: 1 
Number of Interfaces: 200 
Number of Neighbors: 200 
Number of Neighbors in Full state: 200 
Number of LSAs: 182600 
Number of Routes: 102600 
device#