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:
|
Graceful Restart support | GR modes that the process supports (displayed only when GR is enabled):
|
Helper capability | Helper capability that the process supports:
|
Helper support | Policies that the helper supports (displayed only when GR helper is enabled):
|
Current GR state | GR state:
|
Last exit reason | Last exit reason:
|
Area | Area ID in IP address format. |
Authtype | Authentication type of the area:
|
Area flag | Type of the 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:
|
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. |