Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show (ospf | ospf3) interface

Syntax

Syntax (EX Series Switches and QFX Series)

Description

Display the status of OSPF interfaces.

Options

none

Display standard information about the status of all OSPF interfaces for all routing instances

brief | detail | extensive

(Optional) Display the specified level of output.

area area-id

(Optional) Display information about the interfaces that belong to the specified area.

interface-name

(Optional) Display information for the specified interface.

instance instance-name

(Optional) Display all OSPF interfaces under the named routing instance.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)

(OSPFv3 only) (Optional) Display information about the interfaces for the specified OSPFv3 realm, or address family. Use the realm option to specify an address family for OSPFv3 other than IPv6 unicast, which is the default.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show (ospf | ospf3) interface command. Output fields are listed in the approximate order in which they appear.

Table 1: show (ospf | ospf3) interface Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the interface running OSPF version 2 or OSPF version 3.

All levels

State

State of the interface: BDR, Down, DR, DRother, Loop, PtToPt, or Waiting.

All levels

Area

Number of the area that the interface is in.

All levels

DR ID

Address of the area's designated router.

All levels

BDR ID

Backup designated router for a particular subnet.

All levels

Nbrs

Number of neighbors on this interface.

All levels

Type

Type of interface: LAN, NBMA, P2MP, P2P, or Virtual.

detail extensive

Address

IP address of the neighbor.

detail extensive

Mask

Netmask of the neighbor.

detail extensive

Prefix-length

(OSPFv3) IPv6 prefix length, in bits.

detail extensive

OSPF3-Intf-Index

(OSPFv3) OSPF version 3 interface index.

detail extensive

MTU

Interface maximum transmission unit (MTU).

detail extensive

Cost

Interface cost (metric).

detail extensive

DR addr

Address of the designated router.

detail extensive

BDR addr

Address of the backup designated router.

detail extensive

Adj count

Number of adjacent neighbors.

detail extensive

Secondary

Indicates that this interface is configured as a secondary interface for this area. This interface can belong to more than one area, but can be designated as a primary interface for only one area.

detail extensive

Flood Reduction

Indicates that this interface is configured with flooding reduction. All self-originated LSAs from this interface are initially sent with the DoNotAge bit set. As a result, LSAs are refreshed only when a change occurs.

extensive

Priority

Router priority used in designated router (DR) election on this interface.

detail extensive

Flood list

List of link-state advertisements (LSAs) that might be about to flood this interface.

extensive

Ack list

Acknowledgment list. List of pending acknowledgments on this interface.

extensive

Descriptor list

List of packet descriptors.

extensive

Hello

Configured value for the hello timer.

detail extensive

Dead

Configured value for the dead timer.

detail extensive

Auth type

(OSPFv2) Authentication mechanism for sending and receiving OSPF protocol packets:

  • MD5—The MD5 mechanism is configured in accordance with RFC 2328.

  • None—No authentication method is configured.

  • Password—A simple password (RFC 2328) is configured.

detail extensive

Topology

(Multiarea adjacency) Name of topology: default or name.

detail extensive

LDP sync state

(OSPFv2 and LDP synchronization) Current state of LDP synchronization: in sync, in holddown, and not supported.

extensive

reason

(OSPFv2 and LDP synchronization) Reason for the current state of LDP synchronization. The LDP session might be up or down, or adjacency might be up or down.

extensive

config holdtime

(OSPFv2 and LDP synchronization) Configured value of the hold timer.

If the state is not synchronized, and the hold time is not infinity, the remaining field displays the number of seconds that remain until the configured hold timer expires.

extensive

IPSec SA name

(OSPFv2) Name of the IPSec security association name.

detail extensive

Active key ID

(OSPFv2 and MD5) Number from 0 to 255 that uniquely identifies an MD5 key.

detail extensive

Start time

(OSPFv2 and MD5) Time at which the routing device starts using an MD5 key to authenticate OSPF packets transmitted on the interface on which this key is configured. To authenticate received OSPF protocol packets, the key becomes effective immediately after the configuration is committed. If the start time option is not configured, the key is effective immediately for send and receive and is displayed as Start time 1970 Jan 01 00:00:00 PST.

detail extensive

ReXmit

Configured value for the Retransmit timer.

detail extensive

Stub, Not Stub, or Stub NSSA

Type of area.

detail extensive

Post convergence Protection

Post convergence protection can have the following types when enabled

  • Fate Sharing can have the following values

  • Yes-You have configured fate-sharing protection.

  • No-You have not configured fate-sharing protection.

  • node protection can have the following values:

  • Yes-You have configured node protection.

  • No-You have not configured node protection.

  • srlg protection can have the following values:

  • Yes–You have configured Shared Risk Link Groutp (SRLG) protection.

  • No–You have not configured SRLG protection.

Node cost is the recalculated metric cost of the node.

extensive

Sample Output

show ospf interface brief

show ospf interface detail

show ospf interface detail

show ospf3 interface detail

show ospf interface extensive (SRLG Protection Enabled)

command-name

command-name

show ospf interface detail (HMAC-SHA1 Authentication Algorithm Enabled)

show ospf interface detail (Delete-if-not-inuse Option Enabled)

show ospf interface detail (HMAC-SHA2 Keychain Enabled

HMAC-SHA2-224 Keychain

HMAC-SHA2-256 Keychain

HMAC-SHA2-384 Keychain

HMAC-SHA2-512 keychain

show ospf interface detail (HMAC-SHA1 Authentication Algorithm Enabled for Virtual Link)

show ospf interface detail (HMAC-SHA1 Authentication Algorithm Enabled for Sham Link)

Release Information

Command introduced before Junos OS Release 7.4.

area option introduced in Junos OS Release 9.2.

area option introduced in Junos OS Release 9.2 for EX Series switches.

realm option introduced in Junos OS Release 9.2.