< Home

display ospf global-statistics

Function

The display ospf global-statistics command displays global OSPF statistics.

Format

display ospf global-statistics { process process-id | vpn-instance vpn-instance-name | public-instance | timewheel | brief }

Parameters

Parameter Description Value
process process-id Specifies the ID of an OSPF process. The value is an integer ranging from 1 to 65535.
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The name is a string of 1 to 31 case-sensitive characters.
public-instance Displays the statistics of all the public network instances. -
timewheel Displays the number of updated or aged LSAs in different periods. -
brief Displays brief information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display global OSPF statistics, including statistics of neighbors, processes, and instances.

<sysname> display ospf global-statistics brief
Neighbor cumulative data (OSPF total statistics):
  ----------------------------------------------------------
  Down:        0 Init:         0 Attempt:     0 2-Way:     0
  Exstart:     0 Exchange:     0 Loading:     0 Full:      3
  Instance Numer:            2  Process Number:            4
  HighSocketExpire:          0  HighSocketEmpty:      175719
  Total Neighbor Number:                   3
  Total Press:   LOW
Table 1 Description of the display ospf global-statistics command output

Item

Description

Neighbor cumulative data (OSPF total statistics)

Neighbor statistics

Instance Number

Number of instances, including public network instances and VPN instances

Process Number

Number of OSPF processes running on the router

HighSocketExpire

Number of unprocessed messages in high-priority queues

HighSocketEmpty

Number of processed messages in high-priority queues

Total Neighbor Number

Total number of OSPF neighbors

Total Press

Total pressure of the current service

In most cases, the Total Press field is LOW. If the number of retransmission timers or the number of LSAs being flooded in the OSPF processes exceeds a certain value (default 300), or the number of OSPF neighbors exceeds 300, the Total Press field is HIGH. If the number of retransmission timers and the number of LSAs being flooded in the OSPF processes fall below a certain value (default 300), and the number of OSPF neighbors falls below 300, the Total Press field is LOW.

# Display global statistics of OSPF process 1.

<sysname> display ospf global-statistics process 1
  OSPF 1 statistics data:
  -----------------------------------------
  LSA NUM of Flood cache:          0
  Packet NUM of FloodUpdt Hash:          0
  Packet NUM of Flood Queue:          0
Table 2 Description of the display ospf global-statistics process 1 command output

Item

Description

LSA NUM of Flood cache Indicates the number of LSAs being flooded in the OSPF process
Packet NUM of FloodUpdt Hash Indicates the number of Update packets waiting to be flooded in the OSPF process, and the number does not reach the MTU.
Packet NUM of Flood Queue Indicates the number of Update packets waiting to be flooded in the OSPF process, and the number reaches the MTU.

# Display OSPF time wheel information.

<sysname> display ospf global-statistics timewheel
 =================== TimeWheel Info Begin ===================
 TimeWheel current index is 2845, datanode count is 8
 Bucket Number: 3596, Expiry time: 1306(s), Datanode Count: 0
 High expiry time: 0, Low expiry time 527742(s)
 Bucket Number: 3597, Expiry time: 1307(s), Datanode Count: 0
 High expiry time: 0, Low expiry time 527743(s)
 Bucket Number: 3598, Expiry time: 1308(s), Datanode Count: 0
Table 3 Description of the display ospf global-statistics timewheel command output

Item

Description

TimeWheel current index Indicates the current index of the time wheel.
datanode count Indicates the total number of nodes in the time wheel.
Bucket Number Indicates the total number of indexes of the time wheel.
Expiry time Indicates the expiry time of the index.
High expiry time Indicates the high expiry time corresponding to the index in the time wheel after the system starts.
Low expiry time Indicates the low expiry time corresponding to the index in the time wheel after the system starts.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >