- 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)>
Command introduced before JUNOS Release 7.4.
area option introduced in JUNOS Release 9.2.
realm option introduced in JUNOS Release 9.2.
Display the status of Open Shortest Path First (OSPF) interfaces.
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-id — 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) — (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.
view
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
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
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
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
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
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