Why is an OSPF-enabled interface on an S series switch in different states

Question: Why is an OSPF-enabled interface in different states?
Answer: If a tunnel interface is created using the IP address of an OSPF-enabled loopback interface and the tunnel interface is Down, the interface is in different states. You can run the display ospf interface all command to check details about an OSPF interface.

[HUAWEI]display ospf interface all
OSPF Process 1 with Router ID 1.1.1.1
Interfaces
Area: 0.0.0.0 (MPLS TE not enabled)
Interface: 1.1.1.1 (LoopBack0)
Cost: 1 State: DR Type: Broadcast MTU: 1500
Priority: 1
Designated Router: 1.1.1.1
Backup Designated Router: 0.0.0.0
Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1
Interface: 1.1.1.1 (Tunnel0/0/1)
Cost: 1562 State: Down Type: P2P MTU: 1500
Unnumbered
Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1

Scroll to top