OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : show ip ospf interface
show ip ospf interface
Use this command to display interface information for OSPF.
Command Syntax
show ip ospf interface (IFNAME|)
Parameters
IFNAME
Interface name.
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ip ospf interface
eth1 is up, line protocol is up
Internet Address 10.100.10.72/24, Area 0.0.0.0, MTU 1500
Router ID 100.100.100.72, Network Type BROADCAST, Cost: 10, TE Metric 0
Transmit Delay is 1 sec, State DR, Priority 1
LDP-OSPF Sync configured
   Holddown timer : 50 seconds, Remaining time =  30seconds
Designated Router (ID) 100.100.100.72, Interface Address 10.100.10.72
Backup Designated Router (ID) 10.100.12.57, Interface Address 10.100.10.105
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:05
Neighbor Count is 1, Adjacent neighbor count is 1
Crypt Sequence Number is 0
Hello received 19 sent 106, DD received 4 sent 3
LS-Req received 1 sent 1, LS-Upd received 3 sent 3
LS-Ack received 2 sent 3, Discarded 0
OSPF Interface Fields
Table 1-17 explains the fields for each interface entry.
 
Table 1-17: OSPF interface output details
Field
Description
Internet address
IP address and subnet mask of the interface.
Area
OSPF area to which the interface belongs.
MTU
Maximum Transmission Unit (MTU) of the interface.
Transmit Delay
Transmit delay of the interface.
Priority
OSPF priority of the interface used for election of Designated Router (DR) and Backup Designated Router (BDR).
Hello
OSPF hello-interval.
Dead
OSPF dead-interval.
Wait
Hello wait-interval.
Retransmit
The period, in seconds, for which the router waits between retransmissions of OSPF packets that have not been acknowledged.
Hello due in
Time period for which router expects to receive hello packet.
Neighbor Count
OSPF neighbor count.
Adjacent neighbor
OSPF adjacent neighbor count.
Crypt Sequence Number
Used for authentication.
Hello received
Number of Hello packets and DD packets sent and received.
LS-Req
Number of LSA requests and LSA updates sent and received.
LS-Ack
Number of LSA acknowledgments sent and received number of LSA acknowledgment discards.
Example: DoNotAge
The following is sample output of this command when DoNotAge is enabled:
#show ip ospf interface eth1
eth1 is up, line protocol is up
Internet Address 1.1.1.1/24, Area 0.0.0.0, MTU 1500
Process ID 0, Router ID 33.33.33.33, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State Waiting, Priority 1, TE Metric 0
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:02
Neighbor Count is 0, Adjacent neighbor count is 0
Crypt Sequence Number is 1106347721
Hello received 0 sent 1, DD received 0 sent 0
LS-Req received 0 sent 0, LS-Upd received 0 sent 0
LS-Ack received 0 sent 0, Discarded 0
Reduce LSA flooding
Example: Hello Suppression
The following is sample output of this command when Hello-Suppression is enabled:
#sh ip os interface
p7p1 is up, line protocol is up
Internet Address 14.1.1.2/24, Area 0.0.0.0, MTU 1500
Process ID 1, VRF (default), Router ID 2.2.2.2, Network Type POINTOMULTIPOINT, Cost:
1
Reduce LSA flooding.
Transmit Delay is 1 sec, State Point-To-Point, TE Metric 1
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
Hello due in 00:00:03
Neighbor Count is 1, Adjacent neighbor count is 1
Suppress hello for 1 neighbor(s)
Hello received 5 sent 8, DD received 8 sent 6
LS-Req received 2 sent 2, LS-Upd received 8 sent 9
LS-Ack received 6 sent 6, Discarded 0
No authentication
Last modified date: 07-13-2023