display ospf
Use display ospf to display OSPF process information.
Syntax
display ospf [ process-id ] [ 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 information about all OSPF processes.
verbose: Displays detailed OSPF process information. If you do not specify this keyword, the command displays brief OSPF process information.
Examples
# Display detailed OSPF process information.
<Sysname> display ospf verbose OSPF Process 1 with Router ID 192.168.1.2 OSPF Protocol Information RouterID: 192.168.1.2 Router type: NSSA Route tag: 0 Multi-VPN-Instance is not enabled Ext-community type: Domain ID 0x105, Route Type 0x8000, Router ID 0x8001 Domain ID: 0.0.0.0:23 Opaque capable Originating router-LSAs with maximum metric Condition: On startup while BGP is converging, State: Inactive Advertise stub links with maximum metric in router-LSAs Advertise summary-LSAs with metric 16711680 Advertise external-LSAs with metric 16711680 ISPF is enabled SPF-schedule-interval: 5 50 200 LSA generation interval: 5 LSA arrival interval: 1000 Transmit pacing: Interval: 20 Count: 3 Default ASE parameters: Metric: 1 Tag: 1 Type: 2 Route preference: 10 ASE route preference: 150 SPF computation count: 22 RFC 1583 compatible Graceful restart interval: 120 SNMP trap rate limit interval: 2 Count: 300 This process is currently bound to MIB Area count: 1 NSSA area count: 1 Normal areas with up interfaces: 0 NSSA areas with up interfaces: 1 Up interfaces: 1 ExChange/Loading neighbors: 0 Full neighbors:3 Calculation trigger type: Full Current calculation type: SPF calculation Current calculation phase: Calculation area topology Process reset state: N/A Current reset type: N/A Next reset type: N/A Reset prepare message replied: -/-/-/- Reset process message replied: -/-/-/- Reset phase of module: M-N/A, P-N/A, L-N/A, C-N/A, R-N/A Area: 0.0.0.1 (MPLS TE not enabled) Authtype: None Area flag: NSSA 7/5 translator state: Disabled 7/5 translate stability timer interval: 0 SPF scheduled count: 5 ExChange/Loading neighbors: 0 Up interfaces: 1 Interface: 192.168.1.2 (Vlan-interface10) Cost: 1 State: DR Type: Broadcast MTU: 1500 Priority: 1 Designated router: 192.168.1.2 Backup designated router: 192.168.1.1 Timers: Hello 10 , Dead 40 , Poll 40 , Retransmit 5 , Transmit Delay 1 FRR backup: Enabled Enabled by network configuration Packet size: 1000
Table 27: Command output
Field | Description |
---|---|
OSPF Process 1 with Router ID 192.168.1.2 | OSPF process ID and OSPF router ID. |
RouterID | Router ID. |
Router type | Router type:
|
Route tag | Tag of redistributed routes. |
Multi-VPN-Instance is not enabled | The OSPF process does not support multi-VPN-instance. |
Ext-community type | OSPF extended community attribute type codes:
|
Domain ID | OSPF domain ID (primary ID). |
Opaque capable | Opaque LSA advertisement and reception capability is enabled. |
Originating router-LSAs with maximum metric | The maximum cost value for router LSAs (excluding stub links) is used. |
Condition | Status of the stub router:
|
State | Whether the stub router is active. |
SPF-schedule-interval | Interval for SPF calculations. |
LSA generation interval | LSA generation interval. |
LSA arrival interval | LSA arrival interval. |
Transmit pacing | LSU packet transmit rate of the interface:
|
Default ASE parameters | Default ASE parameters: Metric, Tag, and Type. |
Route preference | Internal route preference. |
ASE route preference | External route preference. |
SPF computation count | SPF computation count of the OSPF process. |
RFC1583 compatible | Compatible with RFC 1583. |
SNMP trap rate limit interval | SNMP notification sending interval. |
Count | Number of sent SNMP notifications. |
ExChange/Loading neighbors | Neighbors in ExChange/Loading state. |
Full neighbors | Neighbors in Full state. |
Calculation trigger type | Route calculation trigger type:
|
Current calculation type | Current route calculation type:
|
Current calculation phase | Current route calculation phase:
|
Process reset state | Process reset state:
|
Current reset type | Current process reset type:
|
Next reset type | Next process reset type:
|
Reset prepare message replied | Modules that reply reset prepare messages:
|
Reset process message replied | Modules that reply reset process messages:
|
Reset phase of module | Reset phase of each module:
|
Area | Area ID in the IP address format. |
Authtype | Authentication type of the area:
|
Area flag | Type of the area:
|
7/5 translator state | State of the translator that translates Type-7 LSAs to Type-5 LSAs:
|
7/5 translate stability timer interval | Stability interval for Type-7 LSA-to-Type-5 LSA translation. |
SPF scheduled Count | SPF calculation count in the OSPF area. |
Interface | Interface in the area. |
Cost | Interface cost. |
State | Interface state. |
Type | Interface network type. |
MTU | Interface MTU. |
Priority | Router priority. |
Timers | OSPF timers:
|
FRR backup | Whether Loop Free Alternate (LFA) calculation is enabled on an interface. |
Simple authentication enabled | Simple authentication is enabled. |
Keychain authentication enabled, name is xx | Keychain authentication is enabled. The keychain name is xx. |
MD5 authentication enabled | MD5/HMAC-MD5 authentication is enabled. |
The last key is xx | The most recent MD5/HMAC-MD5 authentication key ID is xx. |
The rollover is in progress, xx neighbor(s) left | Key rollover for MD5/HMAC-MD5 authentication is in progress. The number of neighbors that have not completed rollover is xx. |
Packet size | Maximum length of OSPF packets that can be sent by the interface. |