< Home

display ospf global-statistics

Function

The display ospf global-statistics command displays global OSPF statistics. If no OSPF process ID is specified, brief information about all the OSPF processes is displayed.

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 value must be an existing VPN instance name.
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

You can run the display ospf global-statistics command to check global OSPF statistics for fault location.

Example

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

<HUAWEI> 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:   2400
  Instance Numer:     1        Process Number:        2
  HighSocketExpire:   27       HighSocketEmpty:  526275
  Total Neighbor Number:                   0                                    
  Total Press:   LOW 
Table 1 Description of the display ospf global-statistics brief 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 device.

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), or the number of OSPF neighbors falls below 300, the Total Press field is LOW.

# Display global statistics of OSPF process 1.

<HUAWEI> 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 Number of LSAs being flooded in the OSPF process.
Packet NUM of FloodUpdt Hash Number of Update packets waiting to be flooded in the OSPF process, and the total size of the Update packets does not reach the MTU.
Packet NUM of Flood Queue Number of Update packets waiting to be flooded in the OSPF process, and the total size of the Update packets reaches the MTU.

# Display OSPF time wheel information.

<HUAWEI> 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 Current index of the time wheel.
datanode count Total number of nodes in the time wheel.
Bucket Number Total number of indexes of the time wheel.
Expiry time Expiry time of the index.
High expiry time High expiry time corresponding to the index in the time wheel after the system starts.
Low expiry time 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 >