Reference Guide

Table Of Contents
Simple password authentication enabled
Neighbor Count is 0, Adjacent neighbor count is 0
Supported
Releases
10.2.0E or later
show ip ospf routes
Displays OSPF routes received from neighbors along with parameters like cost, next-hop, area, interface, and type of route.
Syntax
show ip ospf [process-id] routes [prefix IP-prefix]
Parameters
process-id (Optional) Enter OSPFv2 Process ID to view information specific to the ID.
IP-prefix (Optional) Specify an IP address to view information specific to the IP address.
Default None
Command Mode EXEC
Usage
Information
Displays the cost metric for each neighbor and interfaces.
Example
OS10# show ip ospf 10 routes
Prefix Cost Nexthop Interface Area
Type
110.1.1.0 1 0.0.0.0 vlan3050 0.0.0.0
intra-area
111.1.1.0 1 0.0.0.0 vlan3051 0.0.0.0
intra-area
111.2.1.0 1 0.0.0.0 vlan3053 0.0.0.0
intra-area
Supported
Releases
10.2.0E or later
show ip ospf statistics
Displays OSPF traffic statistics.
Syntax
show ip ospf [instance-number] statistics [interface interface]
Parameters
instance-number (Optional) Enter an OSPF instance number (1 to 65535).
interface interface (Optional) Enter the interface information:
ethernet node/slot/port[:subport] Enter an Ethernet port interface.
port-channel number Enter the port-channel interface number (1 to 128).
vlan vlan-id Enter the VLAN ID number (1 to 4093).
Default Not configured
Command Mode EXEC
Usage
Information
This command displays OSPFv2 traffic statistics for a specified instance or interface, or for all OSPFv2
instances and interfaces.
Example
OS10# show ip ospf 10 statistics
Interface vlan3050
Receive Statistics
rx-invalid 0 rx-invalid-bytes 0
rx-hello 0 rx-hello-bytes 0
rx-db-des 0 rx-db-des-bytes 0
rx-ls-req 0 rx-ls-req-bytes 0
rx-ls-upd 0 rx-ls-upd-bytes 0
rx-ls-ack 0 rx-ls-ack-bytes 0
Transmit Statistics
412 Layer 3