To display Open Shortest Path First (OSPF) traffic statistics, use the show ip ospf traffic command.
show ip ospf [ instance-tag ] traffic [ ethernet slot / port | loopback if_number | port-channel number ] [ vrf vrf-name ]
|
instance-tag
|
(Optional) Name of the OSPF instance. The name can be a maximum of 20 alphanumeric characters.
|
|
ethernet
slot
/
port
|
(Optional) Specifies the Ethernet interface and the slot number and port number. The slot number is from 1 to 255, and the port number is from 1 to 128.
|
|
loopback
if_number
|
(Optional) Specifies the loopback interface. The loopback interface number is from 0 to 1023.
|
|
port-channel
number
|
(Optional) Specifies the EtherChannel interface and EtherChannel number. The range is from 1 to 4096.
|
|
vrf
vrf-name
|
(Optional) Specifies the name of the virtual routing and forwarding (VRF) instance. The
vrf-name
argument can be specified as any case-sensitive, alphanumeric string up to 32 characters. The strings default, management, and all are reserved VRF names.
|
None
Any command mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
Use the show ip ospf traffic command to display traffic statistics for one or more OSPF instances.
This command requires the LAN Base Services license.
This example shows how to display OSPF traffic statistics for interface 1/5:
The table below describes the significant fields shown in the display.
|
Field
|
Description
|
|---|---|
|
OSPF Process
|
OSPF instance tag for these traffic statistics.
|
|
VRF
|
Virtual routing and forwarding (VRF) for this OSPF instance.
|
|
Interface ...
|
Interface information.
|
|
Errors
|
|
|
drops
|
Number of packets dropped.
|
|
bad version
|
Number of packets received with bad version.
|
|
dup src
|
Number of packets with a duplicate source address.
|
|
no nbr
|
Number of packets from a router that is not a full neighbor.
|
|
nbr changed rid/ip addr
|
Number of packets with router-id/ip address pair not matching our neighbor's values.
|
|
lsreq
|
Number of packets of type LSREQ (LSA required).
|
|
acks
|
Number of packets of type LSACK (LSA acknowledged).
|
|
Command
|
Description
|
|---|---|
|
clear ip ospf traffic
|
Clears OSPF traffic statistics.
|
|
show running-config ospf
|
Displays the OSPF running configuration information.
|