home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show ip ospf interface

Displays information about OSPF configuration and status for an interface.

show ip ospf [ process pid ] interface [ interface ]

If no interfaces are specified, then information for all interfaces is displayed.

process pid
Specifies the PID of an IPv4 OSPF process.
interface
An interface for which to display information.

Operational mode

Use this command to display information about OSPF configuration and status for an interface.

The following example shows how to display information about OSPF configuration and status for all interfaces.

vyatta@vyatta:~$ show ip ospf interface
dp0p192p1 is up, line protocol is up
  Internet Address 19.1.1.1/24, Area 0.0.0.0, MTU 1500
  Process ID 0, Router ID 50.0.100.1, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State Backup, Priority 1
  Designated Router (ID) 50.0.100.2, Interface Address 19.1.1.2
  Backup Designated Router (ID) 50.0.100.1, Interface Address 19.1.1.1
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:00
  Neighbor Count is 1, Adjacent neighbor count is 1
  Crypt Sequence Number is 27
  Hello received 577 sent 578, DD received 3 sent 4
  LS-Req received 0 sent 1, LS-Upd received 11 sent 12
  LS-Ack received 11 sent 10, Discarded 0
dp0p224p1 is down, line protocol is down
  Internet Address 22.2.2.2/24, Area 0.0.0.1 [NSSA], MTU 1500
  Process ID 0, Router ID 50.0.100.1, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State Down, Priority 1
  No designated router on this network
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
vyatta@vyatta:~$