Technical Documentation

show (ospf | ospf3) statistics

Syntax

show (ospf | ospf3) statistics <instance instance-name><logical-system (all | logical-system-name)><realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)>

Syntax (EX Series Switch)

show (ospf | ospf3) statistics <instance instance-name>

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

realm option introduced in Junos OS Release 9.2.

Description

Display OSPF statistics.

Options

none

Display OSPF statistics for all routing instances.

instance instance-name

(Optional) Display all statistics for the specified routing instance.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)

(Optional) (OSPFv3 only) Display all statistics for the specified OSPFv3 realm, or address family. Use the realm option to specify an address family for OSPFv3 other than IPv6 unicast, which is the default.

Required Privilege Level

view

List of Sample Output

show ospf statistics

Output Fields

Table 1 lists the output fields for the show (ospf | ospf3) statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show (ospf | ospf3) statistics Output Fields

Field Name

Field Description

Packet type

Type of OSPF packet.

Total Sent/Total Received

Total number of packets sent and received.

Last 5 seconds Sent/Last 5 seconds Received

Total number of packets sent and received in the last 5 seconds.

LSAs retransmitted

Total number of link-state advertisements transmitted, and number retransmitted in the last 5 seconds.

Receive errors

Number and type of receive errors.

Sample Output

show ospf statistics

user@host> show ospf statistics
Packet type             Total                  Last 5 seconds
                   Sent      Received        Sent      Received
   Hello         505739        990495           4             5
     DbD             20            26           0             0
   LSReq              6             5           0             0
LSUpdate          27060         15319           0             0
   LSAck          10923         52470           0             0

LSAs retransmitted: 16, last 5 seconds: 0

Receive errors:
  862 no interface found
  115923 no virtual link found

Published: 2010-07-13

Help
|
My Account
|
Log Out