< Home

display ospf graceful-restart

Function

The display ospf graceful-restart command displays the status of OSPF GR.

Format

display ospf [ process-id ] graceful-restart [ verbose ]

Parameters

Parameter Description Value
process-id Specifies the ID of an OSPF process. The value is an integer ranging from 1 to 65535.
verbose Displays detailed information about OSPF GR. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display ospf graceful-restart command to view details and statistics of the GR.

Example

# Display OSPF GR information.

<HUAWEI> display ospf graceful-restart
          OSPF Process 1 with Router ID 10.1.1.1
 Graceful-restart capability     : enabled
 Graceful-restart support        : planned and un-planned, totally
 Helper-policy support           : planned and un-planned, strict lsa check
 Current GR state                : normal
 Graceful-restart period         : 120 seconds

 Number of neighbors under helper:
  Normal neighbors    : 0
  Virtual neighbors   : 0
  Sham-link neighbors : 0
  Total neighbors     : 0

 Number of restarting neighbors : 0

 Last exit reason:
  On graceful restart : successful exit
  On Helper           : none

# Display detailed information about OSPF GR.

<HUAWEI> display ospf graceful-restart verbose
          OSPF Process 1 with Router ID 10.1.1.1
 Graceful-restart capability     : enabled
 Graceful-restart support        : planned and un-planned, totally
 Helper-policy support           : planned and un-planned, strict lsa check
 Current GR state                : normal
 Graceful-restart period         : 120 seconds

 Number of neighbors under helper:
  Normal neighbors    : 0
  Virtual neighbors   : 0
  Sham-link neighbors : 0
  Total neighbors     : 0
 Number of restarting neighbors : 0

 Last exit reason:
  On graceful restart : successful exit
  On Helper           : none

 All area count      : 1

                 Area ID    : 0.0.0.0

 Authtype       : None     Area flag : Normal

 Normal interface count: 1

 Interface: 10.1.1.1 (Vlanif100)
 GR state : normal                  State: P-2-P          Type: P2P
 Last Helper Exit reason: none
 Neighbor count of this interface : 1

 Neighbor          IP address        GR state    Last Helper Exit reason
 10.2.2.2          10.1.1.2          Normal      none
Table 1 Description of the display ospf graceful-restart command output

Item

Description

Graceful-restart capability

Whether IETF GR is enabled:
  • enabled
  • disabled

Graceful-restart support

IETF GR mode that is supported currently:
  • planned: indicates that only planned-GR is supported.
  • planned and un-planned: indicates that both planned GR and unplanned GR are supported.
  • totally: indicates that totally GR is supported.
  • partial: indicates that partial GR is supported.

Helper-policy support

Policy that supports the Helper:
  • planned: indicates that the Helper supports only planned GR.
  • planned and un-planned: indicates the Helper supports both planned GR and unplanned GR.
  • strict lsa check: indicates that the Helper supports strict external LSA check.
  • ignore external lsa check: indicates that the Helper does not check external LSAs.
  • never: indicates that the device does not support the Helper mode.

Current GR state

Current GR status:
  • Normal: indicates that GR is in the Normal state.
  • Under GR: indicates that the device enters the Restarter mode.
  • Under Helper: indicates that the device enters the Helper mode.

Graceful-restart period

GR period.

Number of neighbors under helper

Number of neighbors in the Helper state:
  • Normal neighbors: indicates the number of normal neighbors.
  • Virtual neighbors: indicates the number of virtual neighbors.
  • Sham-link neighbors: indicates the number of sham link neighbors.
  • Total neighbors: indicates the total number of neighbors.

Number of restarting neighbors

Number of restarted devices displayed on the Helper.

Last exit reason

Reason why a device exits from GR last time:
  • On graceful restart: indicates the reason that the Restarter exits from GR.
  • On Helper: indicates the reason that the Helper exits from GR.

On graceful restart

Reason why the Restarter exits from GR:
  • 1-way hello received: indicates that 1-way Hello packets are received.
  • back-link check failed: indicates that the back link check fails.
  • DR election fail: indicates that DR election fails.
  • grace period expired: indicates that the GR period expires.
  • interface state change: indicates that the interface state machine changes.
  • none: indicates that the device never performs GR since startup.
  • successful exit: indicates that the Restarter successfully exits from GR.
  • two Grace-LSAs received: indicates that two Grace LSAs are received.

On Helper

Reason why the Helper exits from GR:
  • flooding change LSA: indicates that the changed LSAs are received.
  • grace period expired: indicates that the GR period expires.
  • graceful restart unconfigured at process level: indicates that the GR function of the OSPF process is disabled.
  • interface state change: indicates that the interface state machine changes.
  • policy check failed for received grace LSA: indicates the policy that mismatches the Helper.
  • received 1-way hello packet: indicates that 1-way Hello packets are received.
  • received flushed grace LSA: indicates that flushed Grace LSAs are received.
  • received multiple grace LSA: indicates that multiple Grace LSAs are received.
  • neighbor reset: indicates that GR is disabled when neighbors are in the Helper mode.
  • none: indicates that the device never enters the Helper mode since startup.
  • successful exit: indicates that the Helper successfully exits from GR.

All area count

Number of areas in the process.

Area ID

Area ID.

Authtype

Authentication type.

Area flag

Area attributes:
  • Normal

  • NSSA

  • Stub

Normal interface count

Number of interfaces in the area.

Interface

IP address of the interface.

GR state

GR status of the interface:
  • Normal: indicates that the device is in the Normal state.

  • Restarter: indicates that the device enters the Restarter mode.

  • Helper: indicates that the device enters the Helper mode.

State

Interface status:
  • P-2-P

  • DR

  • BDR

  • DROther

  • Waiting

  • Down

Type

Interface type:
  • P2P

  • P2MP

  • NBMA

  • Broadcast

Last Helper Exit reason

Reason why the neighbor exits from the Helper mode the last time:
  • none: indicates that the device never enters the Helper mode since startup.

  • successful exit: indicates that the neighbor successfully exits from the Helper mode.

  • grace period expired: indicates that the GR period expires.

  • received flushed grace LSA: indicates that flushed Grace LSAs are received.

  • flooding change LSA: indicates that the changed LSAs are received.

  • received multiple grace LSA: indicates that multiple Grace LSAs are received.

  • received 1-way hello packet: indicates that 1-way Hello packets are received.

  • policy check failed for received grace LSA: indicates the policy that mismatches the Helper.

  • neighbor reset: indicates that the network topology changes after the reset command is run on the neighbor of the Helper.

  • interface state change: indicates that the interface state machine changes.

  • graceful restart unconfigured at process level: indicates that the neighbor is not configured with the GR function.

Neighbor count of this interface

Total number of neighbors of this interface.

Neighbor

Router ID of the neighbor.

IP address

IP address of the neighboring interface.

GR state

GR status of the neighbor:
  • Normal: indicates that the neighbor is in the Normal state.

  • Restarter: indicates that the neighbor enters the Restarter mode.

  • Helper: indicates that the neighbor enters the Helper mode.

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