Reference Guide
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 4094).
Default Not congured
Command Mode EXEC
Usage Information This command displays OSPFv2 trac statistics for a specied 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
tx-failed 0 tx-failed-bytes 0
tx-hello 0 tx-hello-bytes 0
tx-db-des 0 tx-db-des-bytes 0
tx-ls-req 0 tx-ls-req-bytes 0
tx-ls-upd 0 tx-ls-upd-bytes 0
tx-ls-ack 0 tx-ls-ack-bytes 0
Error packets (Receive statistics)
bad-src 0 dupe-id 0 hello-err 0
mtu-mismatch 0 nbr-ignored 0 wrong-proto 0
resource-err 0 bad-lsa-len 0 lsa-bad-type 0
lsa-bad-len 0 lsa-bad-cksum 0 auth-fail 0
netmask-mismatch 0 hello-tmr-mismatch 0 dead-ivl-mismatch 0
options-mismatch 0 nbr-admin-down 0 own-hello-drop 0
self-orig 0 wrong-length 0 checksum-error 0
version-mismatch 0 area-mismatch 0
Supported Releases 10.2.0E or later
show ip ospf topology
Displays routers which are directly connected to OSPF areas.
Syntax
show ip ospf [process-id] topology
Parameters process-id — (Optional) Displays OSPF process information. If you do not enter a process ID, this applies only
to the rst OSPF process.
Default Not congured
Command Mode EXEC
Usage Information The “E” ag output indicates the router listed is an ASBR. The “B” ag indicates that the router listed is an area
border router (ABR). If the Flag eld shows both E and B, it indicates that the listed router is both an ASBR and an
ABR.
Example
OS10# show ip ospf 10 topology
Router ID Flags Cost Nexthop Interface Area
111.111.111.1 -/B/-/ 1 111.1.1.2 Vl 3051 0
370 Layer 3