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:

  • ABR.

  • ASBR.

  • NSSA.

  • Null.

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—Domain ID code.

  • Route Type—Router type code.

  • Router ID—Router ID code.

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:

  • Always.

  • On startup while BGP is converging.

  • On startup while BGP is converging for xxx seconds, where xxx is specified by the user.

  • On startup for xxx seconds, where xxx is specified by the user.

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:

  • Interval—LSU transmit interval of the interface.

  • Count—Maximum number of LSU packets sent at each interval.

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:

  • Full—Calculation of all routes is triggered.

  • Area topology change—Topology change in an area.

  • Intra router change—Incremental intra-area route change.

  • ASBR change—Incremental ASBR route change.

  • 7to5 translator—Type-7-to-Type-5 LSA translator role change.

  • Full IP prefix—Calculation of all IP prefixes is triggered.

  • Full intra AS—Calculation of all intra-AS prefixes is triggered.

  • Inc intra AS—Calculation of incremental intra-AS prefixes is triggered.

  • Full inter AS—Calculation of all AS-external prefixes is triggered.

  • Inc inter AS—Calculation of incremental AS-external prefixes is triggered.

  • N/A—Route calculation is not triggered.

Current calculation type

Current route calculation type:

  • SPF calculation.

  • Intra router calculation—Intra-area route calculation.

  • ASBR calculation—Inter-area ASBR route calculation.

  • Inc intra router—Incremental intra-area route calculation.

  • Inc ASBR calculation—Incremental inter-area ASBR route calculation.

  • 7to5 translator—Type-7-to-Type-5 LSA calculation.

  • Full intra AS—Calculation of all intra-AS prefixes.

  • Inc intra AS—Calculation of incremental intra-AS prefixes.

  • Full inter AS—Calculation of all AS-external prefixes.

  • Inc inter AS—Calculation of incremental AS-external prefixes.

  • Forward address—Forwarding address calculation.

  • N/A—Route calculation is not triggered.

Current calculation phase

Current route calculation phase:

  • Calculation area topology—Calculating area topology.

  • Calculation router—Calculating routes on routers.

  • Calculation intra AS—Calculating intra-AS routes.

  • 7to5 translator—Calculating Type-7-to-Type-5 LSAs.

  • Forward address—Calculating forwarding addresses.

  • Calculation inter AS—Calculating AS-external routes.

  • Calculation end—Ending phase of calculation.

  • N/A—Route calculation is not triggered.

Process reset state

Process reset state:

  • N/A—The process is not reset.

  • Under reset—The process is in the reset progress.

  • Under RIB smooth—The process is synchronizing the RIB.

Current reset type

Current process reset type:

  • N/A—The process is not reset.

  • Normal—Normal reset.

  • GR quit—Normal reset when GR quits abnormally.

  • Delete—Delete OSPF process.

  • VPN delete—Delete VPN.

Next reset type

Next process reset type:

  • N/A—The process is not reset.

  • Normal—Normal reset.

  • GR quit—Normal reset when GR quits abnormally.

  • Delete—Delete OSPF process.

  • VPN delete—Delete VPN.

Reset prepare message replied

Modules that reply reset prepare messages:

  • P—Neighbor maintenance module.

  • L—LSDB synchronization module.

  • C—Route calculation module.

  • R—Route redistribution module.

Reset process message replied

Modules that reply reset process messages:

  • P—Neighbor maintenance module.

  • L—LSDB synchronization module.

  • C—Route calculation module.

  • R—Route redistribution module.

Reset phase of module

Reset phase of each module:

  • Main control module:

    • N/A—Not reset.

    • Delete area.

    • Delete process.

  • Neighbor maintenance (P) module:

    • N/A—Not reset.

    • Delete neighbor.

    • Delete interface.

    • Delete vlink—Delete virtual link.

  • LSDB synchronization (L) module:

    • N/A—Not reset.

    • Stop timer.

    • Delete ASE—Delete all ASE LSAs.

    • Delete ASE maps—Delete ASE LSA maps.

    • Clear process data.

    • Delete area LSA—Delete LSAs and maps from an area.

    • Delete area interface—Delete interfaces from an area.

    • Delete process—Delete process-related resources.

    • Restart—Restart process-related resources.

  • Route calculation (C) module:

    • N/A—Not reset.

    • Delete topology—Delete area topology.

    • Delete router—Delete routes of routers.

    • Delete intra AS—Delete intra-AS routes

    • Delete inter AS—Delete AS-external routes.

    • Delete forward address—Delete forwarding address list.

    • Delete advertise—Delete advertising router list.

  • Route redistribution (R) module:

    • N/A—Not reset.

    • Delete ABR summary—Delete summary routes of the ABR.

    • Delete ASBR summary—Delete summary routes of the ASBR.

    • Delete import—Delete redistributed routes.

Area

Area ID in the 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).

7/5 translator state

State of the translator that translates Type-7 LSAs to Type-5 LSAs:

  • Enabled—The translator is specified through commands.

  • Elected—The translator is designated through election.

  • Disabled—The device is not a translator.

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:

  • Hello—Interval for sending hello packets.

  • Dead—Interval within which the neighbor is down.

  • Poll—Interval for sending hello packets.

  • Retransmit—Interval for retransmitting LSAs.

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.