< Home

display ospf brief

Function

The display ospf brief command displays OSPF brief information.

Format

display ospf [ process-id ] brief

Parameters

Parameter Description Value

process-id

Specifies the ID of an OSPF process.

If no OSPF process ID is specified, brief information about all the OSPF processes is displayed.

The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

In addition to OSPF brief information, running this command also displays the following information:
  • Configured Router ID

  • Configured VPN domain ID

When locating OSPF faults, you can run the display ospf brief command to obtain OSPF brief information. You can then analyze OSPF faults according to the brief information.

Example

# Display OSPF brief information.

<HUAWEI> display ospf brief
          OSPF Process 1 with Router ID 10.5.5.5
                  OSPF Protocol Information

 RouterID: 10.5.5.5         Border Router:  AREA
 Multi-VPN-Instance is not enabled
 Opaque Capable
 Global DS-TE Mode: Non-Standard IETF Mode
 Graceful-restart capability: disabled
 Helper support capability  : enabled
        filter capability   : disabled
        policy capability   : strict lsa check, planned and un-planned
 Applications Supported: MPLS Traffic-Engineering
 Spf-schedule-interval: max 10000ms, start 500ms, hold 1000ms
 Default ASE parameters: Metric: 1 Tag: 1 Type: 2
 Route Preference: 10
 ASE Route Preference: 150
 SPF Computation Count: 99
 RFC 1583 Compatible
 Retransmission limitation is disabled
 Import routes limitation is enabled, the maximal limitation value: 4294967295
 Area Count: 3   Nssa Area Count: 0
 ExChange/Loading Neighbors: 0
 Process total up interface count: 1
 Process valid up interface count: 0
 Flush protect mode: false

 Area: 0.0.0.0          (MPLS TE not enabled)
 Authtype: None   Area flag: Normal
 SPF scheduled Count: 94
 ExChange/Loading Neighbors: 0
 Router ID conflict state: Normal
 Area interface up count: 1 

 Interface: 172.16.16.5 (Vlanif1001)
 Cost: 1       State: BDR       Type: Broadcast    MTU: 1500
 Priority: 1
 Designated Router: 172.16.16.2
 Backup Designated Router: 172.16.16.5
 Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1

 Area: 0.0.0.1
 Authtype: Simple   Area flag: Normal
 SPF scheduled Count: 83
 ExChange/Loading Neighbors: 0
 Router ID conflict state: Normal
 Area interface up count: 0 

 Area: 0.0.0.2
 Authtype: None   Area flag: Normal
 SPF scheduled Count: 81
 ExChange/Loading Neighbors: 0
 Router ID conflict state: Normal
 Area interface up count: 0 

 Interface: 10.100.100.100 (LoopBack100)
 Cost: 0       State: P-2-P     Type: P2P       MTU: 1500
 Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1
Table 1 Description of the display ospf brief command output

Item

Description

RouterID

Current router ID.

Border Router

Border router:
  • AS: autonomous system border router (ASBR).

  • AREA: area border router (ABR).

  • NSSA: ABR of an NSSA.

Multi-VPN-Instance is not enabled

The current process does not support multi-VPN-instance.

Opaque Capable

Opaque-LSA capability is enabled.

To enable the Opaque-LSA capability, run the opaque-capability enable command.

Global DS-TE Mode

Globally configured DS-TE mode:
  • Non-Standard IETF Mode: The IETF mode is not supported.
  • Standard IETF Mode: The IETF mode is supported.

Graceful-restart capability

Whether graceful restart is enabled:
  • disabled: Graceful restart is disabled.

  • planned only: Planned-GR is supported.

  • un-planned: Unplanned-GR is supported.

  • totally: Totally GR is supported.

  • planned and un-planned: Planned-GR and unplanned-GR are supported.

To enable the GR function, run the graceful-restart (OSPF) command.

Helper support capability

Whether the Helper mode is enabled:
  • enabled: The Helper mode is enabled.

  • not configured: The Helper mode is disabled.

To configure a device as a GR helper, run the graceful-restart helper-role (OSPF) command.

filter capability

Whether the filtering rule of the Helper mode is enabled:

  • ip-prefix: The IP prefix filtering rule of the Helper mode is enabled.

  • acl-number: The basic ACL filtering rule of the Helper mode is enabled.

  • acl-name: The named ACL filtering rule of the Helper mode is enabled.

  • disabled: The filtering rule of the Helper mode is disabled.

policy capability

Whether a policy is configured for the Helper mode:

  • strict lsa check: The Helper checks all LSAs. To prevent the Helper from checking AS external LSAs, run the graceful-restart helper-role ignore-external-lsa command.

  • ignore external lsa check: The Helper does not check AS external LSAs.

  • planned and un-planned: The Helper supports planned-GR and unplanned-GR. To configure the Helper to support only planned-GR, run the graceful-restart helper-role planned-only command.

  • planned: The Helper supports only planned-GR.

Applications Supported: MPLS Traffic-Engineering

OSPF supports Traffic Engineering (TE).

Spf-schedule-interval

Interval for performing SPF calculation. To set the interval for OSPF to calculate routes, run the spf-schedule-interval command.

Route Preference

Preference of the default route.

ASE Route Preference

Priority of the external route.

Default ASE parameters

Default parameters of the external LSA.
  • Metric: default metric of the external LSA.
  • Tag: default tag of the external LSA.
  • Type: default type of the external LSA.

SPF Computation Count

Number of times that SPF calculation is performed.

RFC 1583 Compatible

Whether RFC 1583 compatibility is enabled. To convert rules defined in RFC 2328 into rules defined in RFC 1583, run the rfc1583 compatible command.

Retransmission limitation is disabled

Retransmission limit is disabled. To enable retransmission limit and set the maximum number of retransmissions, run the retransmission-limit command.

Import routes limitation is enabled, the maximal limitation value

Maximum number of imported routes is restricted and that the maximum value is displayed.

Area Count

Number of areas in the current process.

Nssa Area Count

Number of NSSAs in the current process.

Process total up interface count

Number of interfaces that are up.

Process valid up interface count

Number of interfaces that are valid.

Flush protect mode

Whether master/slave board switching triggered by abnormal OSPF LSA aging is enabled:

  • false: Master/Slave board switching triggered by abnormal OSPF LSA aging is disabled.
  • true: Master/Slave board switching triggered by abnormal OSPF LSA aging is enabled.

ExChange/Loading Neighbors

Number of neighbors in the ExChange/Loading state.

Area

Information about each area in the current process, including ID of the current area in dotted decimal notation.

Authtype

Area authentication type, including none-authentication, simple authentication, MD5 authentication, HMAC-SHA256 authentication, and HMAC-MD5 authentication.

Area flag

Flag used to describe the area attributes, including Transit/Vlink/Stub/Nssa/Normal.

SPF scheduled Count

Number of times that SPF calculation is performed.

Interface

Interface information in the area.

Cost

Cost of an OSPF interface. To set the cost for an OSPF on an interface, run the ospf cost command.

State

Interface status:
  • Down
  • Waiting
  • Loopback
  • P-2-P
  • DR
  • BDR
  • DROTHER
DR and BDR DROTHER exist in only broadcast and NBMA networks, and P-2-P exists in only P2P and P2MP Vlinks.

Type

Interface type, including P2P, broadcast, NBMA, and P2MP.

MTU

MTU value of the interface.

Priority

Interface priority.

Designated Router

(Optional) the current interface is not the DR.

Backup Designated Router

(Optional) the current interface is not the BDR.

Timers

Interval of the timer.

Hello

Interval of the Hello timer. To set the interval for sending Hello packets on an interface, run the ospf timer hello command.

Dead

Interval of the Dead timer. To set the dead interval after which an interface considers its OSPF neighbor invalid, run the ospf timer dead command.

Poll

Interval of the Poll timer. To set the poll interval for sending Hello packets on NBMA networks, run the ospf timer poll command.

Retransmit

Interval of the Retransmit timer. To set the interval for retransmitting LSA on an interface, run the ospf timer retransmit command.

Transmit Delay

(Optional) delay for transmitting LSAs on the interface. To add the transmission delay to LSAs before they are sent by an interface, run the ospf trans-delay command.

Router ID conflict state

Status of the automatic recovery function. The value can be one of the following:
  • Normal: The automatic recovery function is properly detecting router ID conflict.

  • Wait select: The automatic recovery function delays defining a new router ID if the device starts after an unexpected delay (two hours by default).

  • Selecting: The automatic recovery function restarts the OSPF process with the router ID and waits for the restarted OSPF process to take effect.

  • RtrId Changed: The automatic recovery function determines whether router ID conflict occurs after the new router ID takes effect and returns to the Normal state if no new router ID conflict is detected.

  • Suspend: If the maximum number of conflict times is reached, automatic recovery function does not define a new router ID any longer. The maximum number of conflict times is three by default.

Area interface up count

The number of interfaces up in the area.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >