display ospf graceful-restart

Use display ospf graceful-restart to display GR information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays GR information for all processes.

verbose: Displays detailed GR information. If you do not specify this keyword, the command displays brief GR information.

Examples

# Display detailed GR information.

<Sysname> display ospf graceful-restart verbose

          OSPF Process 1 with Router ID 1.1.1.1
              Graceful Restart information

Graceful Restart capability     : Enable(IETF)
Graceful Restart support        : Planned and un-planned,Partial
Helper capability               : Enable(IETF)
Helper support                  : Planned and un-planned(IETF),Strict LSA check
Current GR state                : Normal
Graceful Restart period         : 40 seconds
Number of neighbors under Helper: 0
Number of restarting neighbors  : 0
Last exit reason:
  Restarter  : None
  Helper     : None

Area: 0.0.0.0
Authtype: None Area flag: Normal
Area up Interface count: 2

Interface: 40.4.0.1 (Vlan-interface40)
Restarter state: Normal  State: P-2-P     Type: PTP
Last exit reason:
  Restarter  : None
  Helper     : None
Neighbor count of this interface: 1
Number of neighbors under Helper: 0
Neighbor        IP address      GR state     Last Helper exit reason
3.3.3.3         40.4.0.3        Normal       None

Virtual-link Neighbor-ID  -> 4.4.4.4, Neighbor-State: Full
Restarter state: Normal
Interface: 20.2.0.1 (Vlink)
Transit Area: 0.0.0.1
Last exit reason:
  Restarter  : None
  Helper     : None
Neighbor        IP address      GR state     Last Helper exit reason
4.4.4.4         20.2.0.4        Normal       Reset neighbor

Table 36: Command output

Field

Description

OSPF Process 1 with Router ID 1.1.1.1

Graceful Restart information

GR information for OSPF process 1 with router ID 1.1.1.1.

Graceful Restart capability

Whether GR is enabled:

  • Enable(IETF)—IETF GR is enabled.

  • Enable(Nonstandard)—Non-IETF GR is enabled.

  • Disable—GR is disabled.

Graceful Restart support

GR modes that the process supports (displayed only when GR is enabled):

  • Planned and un-planned—Supports both planned and unplanned GR.

  • Planned only—Supports only planned GR.

  • Partial—Supports partial GR.

  • Global—Supports global GR.

Helper capability

Helper capability that the process supports:

  • Enable (IETF)—Supports IETF GR helper capability.

  • Enable (Nonstandard)—Supports non-IETF GR helper capability.

  • Enable (IETF and nonstandard)—Supports both IETF GR helper capability and non-IETF GR helper capability.

  • Disable—Does not support GR helper capability.

Helper support

Policies that the helper supports (displayed only when GR helper is enabled):

  • Strict lsa check—The helper supports strict LSA checking.

  • Planned and un-planned—The helper supports planned and unplanned GR.

  • Planned only—The helper supports only planned GR.

Current GR state

GR state:

  • Normal—GR is not in progress or has completed.

  • Under GR—GR is in process.

  • Under Helper—The process is acting as GR helper.

Last exit reason

Last exit reason:

  • Restarter—Reason that the restarter exited most recently.

  • Helper—Reason that the helper exited most recently.

Area

Area ID in IP address format.

Authtype

Authentication type of the area:

  • None—No authentication.

  • Simple—Simple authentication.

  • MD5—MD5 authentication.

  • Keychain—Keychain authentication.

Area flag

Type of the area:

  • Normal.

  • Stub.

  • StubNoSummary (totally stub area).

  • NSSA.

  • NSSANoSummary (totally NSSA area).

Area up Interface count

Number of up interfaces in the area.

Interface

Interface in the area.

Restarter state

Restarter state on the interface.

State

Interface state.

Type

Interface network type.

Neighbor count of this interface

Neighbors of an interface.

Neighbor

Neighbor router ID.

IP address

Neighbor IP address.

GR state

Neighbor GR state:

  • Normal—GR is not in progress or has completed.

  • Under GR—GR is in process.

  • Under Helper—The process is acting as GR helper.

Last Helper exit reason

Reason that the helper exited most recently.

Virtual-link Neighbor-ID

Router ID of the virtual link's neighbor.

Neighbor-State

Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Loading, and Full.

Interface

Output interface of the virtual link.