[Contents] [Prev] [Next] [Index] [Report an Error]

show (ospf | ospf3) interface

Syntax

show (ospf | ospf3) interface
<brief | detail | extensive>
<area area-id>
<interface-name>
<instance instance-name>
<logical-system (all | logical-system-name)>
<realm (ip4-multicast | ipv4-unicast | ipv6-multicast)>

Release Information

Command introduced before JUNOS Release 7.4.

area option introduced in JUNOS Release 9.2.

realm option introduced in JUNOS Release 9.2.

Description

Display the status of Open Shortest Path First (OSPF) interfaces.

Options

none — Display standard information about the status of all OSPF interfaces for all routing instances on all logical systems

brief | detail | extensive — (Optional) Display the specified level of output.

area area-idDisplay 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) — (OSPF3 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

List of Sample Output

show ospf interface brief
show ospf interface detail
show ospf3 interface detail
show ospf interface detail(When Multiarea Adjacency Is Configured)
show ospf interface area area-id

Output Fields

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

Table 77: 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's maximum transmission unit (MTU).

detail extensive

Cost

Interface's 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 only for one area.

detail 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—MD5 mechanism is configured in accordance with RFC 2328.
  • None—No authentication method is configured.
  • Password—Simple password (RFC 2328) is configured.

detail 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 router 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

show ospf interface brief

user@host> show ospf interface brief
Intf                State     Area            DR ID           BDR ID       Nbrs
at-5/1/0.0          PtToPt   0.0.0.0         0.0.0.0         0.0.0.0         1
ge-2/3/0.0          DR       0.0.0.0         192.168.4.16    192.168.4.15    1
lo0.0               DR       0.0.0.0         192.168.4.16    0.0.0.0         0
so-0/0/0.0          Down     0.0.0.0         0.0.0.0         0.0.0.0         0
so-6/0/1.0          PtToPt   0.0.0.0         0.0.0.0         0.0.0.0         1
so-6/0/2.0          Down     0.0.0.0         0.0.0.0         0.0.0.0         0
so-6/0/3.0          PtToPt   0.0.0.0         0.0.0.0         0.0.0.0         1

show ospf interface detail

user@host> show ospf interface detail
Interface              State     Area            DR ID           BDR ID Nbrs
fe-0/0/1.0             BDR      0.0.0.0         192.168.37.12   10.255.245.215 1
Type LAN, address 192.168.37.11, Mask 255.255.255.248, MTU 4460, Cost 40
DR addr 192.168.37.12, BDR addr 192.168.37.11, Adj count 1, Priority 128
Hello 10, Dead 40, ReXmit 5, Not Stub
t1-0/2/1.0             PtToPt   0.0.0.0         0.0.0.0         0.0.0.0 0
Type P2P, Address 0.0.0.0, Mask 0.0.0.0, MTU 1500, Cost 2604
  Adj count 0
Hello 10, Dead 40, ReXmit 5, Not Stub
Auth type: MD5, Active key ID 3, Start time 2002 Nov 19 10:00:00 PST
IPsec SA Name: sa

show ospf3 interface detail

user@host> show ospf3 interface so-0/0/3.0 detail
Interface              State     Area           DR-ID         BDR-ID     Nbrs
so-0/0/3.0             PtToPt   0.0.0.0        0.0.0.0       0.0.0.0        1
Address fe80::2a0:a5ff:fe28:1dfc, Prefix-length 64
OSPF3-Intf-index 1, Type P2P, MTU 4470, Cost 12, Adj-count 1
Hello 10, Dead 40, ReXmit 5, Not Stub

show ospf interface detail(When Multiarea Adjacency Is Configured)

user@host> show ospf interface detail
regress@router> show ospf interface detail
Interface           State   Area            DR ID           BDR ID          Nbrs
lo0.0               DR      0.0.0.0         10.255.245.2    0.0.0.0            0
  Type: LAN, Address: 127.0.0.1, Mask: 255.255.255.255, MTU: 65535, Cost: 0
  DR addr: 127.0.0.1, Adj count: 0, Priority: 128
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 0
lo0.0               DR      0.0.0.0         10.255.245.2    0.0.0.0            0
  Type: LAN, Address: 10.255.245.2, Mask: 255.255.255.255, MTU: 65535, Cost: 0
  DR addr: 10.255.245.2, Adj count: 0, Priority: 128
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 0
so-0/0/0.0          PtToPt  0.0.0.0         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1
so-0/0/0.0          PtToPt  0.0.0.0         0.0.0.0         0.0.0.0            0
  Type: P2P, Address: 192.168.37.46, Mask: 255.255.255.254, MTU: 4470, Cost: 1
  Adj count: 0, , Passive
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Passive, Cost: 1
so-1/0/0.0          PtToPt  0.0.0.0         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1
so-1/0/0.0          PtToPt  0.0.0.0         0.0.0.0         0.0.0.0            0
  Type: P2P, Address: 192.168.37.54, Mask: 255.255.255.254, MTU: 4470, Cost: 1
  Adj count: 0, , Passive
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Passive, Cost: 1
so-0/0/0.0          PtToPt  1.1.1.1         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1, Secondary                                        
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1
so-1/0/0.0          PtToPt  1.1.1.1         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1, Secondary                                         
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1
so-0/0/0.0          PtToPt  2.2.2.2         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1, Secondary                                         
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1
so-1/0/0.0          PtToPt  2.2.2.2         0.0.0.0         0.0.0.0            1
  Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 4470, Cost: 1
  Adj count: 1, Secondary                                        
  Hello: 10, Dead: 40, ReXmit: 5, Not Stub
  Auth type: None
  Topology default (ID 0) -> Cost: 1

show ospf interface area area-id

user@host> show ospf interface area 1.1.1.1
Interface           State   Area            DR ID           BDR ID          Nbrs
so-0/0/0.0          PtToPt  1.1.1.1         0.0.0.0         0.0.0.0            1
so-1/0/0.0          PtToPt  1.1.1.1         0.0.0.0         0.0.0.0            1

[Contents] [Prev] [Next] [Index] [Report an Error]