show ip ospf route
Displays information about OSPF routes.
- process pid
- Specifies the PID of an IPv4 OSPF process.
Operational mode
Use this command to display information about OSPF routes.
The following example shows how to display information about OSPF routes.
vyatta@vyatta:~$ show ip ospf route
OSPF process 0:
Codes: C - connected, D - Discard, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
E2 10.1.1.0/24 [10/20] via 10.1.1.3, dp0s5
C 10.1.1.0/24 [10] is directly connected, dp0s4, Area 0.0.0.0
C 10.1.1.0/24 [10] is directly connected, dp0s5, Area 10.0.0.1
O 10.1.1.1/32 [10] via 10.1.1.3, dp0s5, Area 10.0.0.1
E2 10.1.1.0/24 [10/20] via 10.1.1.3, dp0s5