Displaying OSPF interface information
To display OSPF interface information, enter the following command at any CLI level.
BigIron RX# show ip ospf interface 192.168.1.1
Ethernet 2/1,OSPF enabled
Syntax: show ip ospf interface [<ip-addr>]
The <ip-addr> parameter displays the OSPF interface information for the specified IP address.
The following table defines the highlighted fields shown in the above example output of the show ip
ospf interface command.
TABLE 111
This field
IP Address
OSPF state
Pri
Cost
Options
Type
BigIron RX Series Configuration Guide
53-1001810-01
IP Address 192.168.1.1, Area 0
OSPF state ptr2ptr, Pri 1, Cost 1, Options 2, Type pt-2-pt Events 1
Timers(sec): Transit 1, Retrans 5, Hello 10, Dead 40
DR:
Router ID 0.0.0.0
BDR: Router ID 0.0.0.0
Neighbor Count = 0, Adjacent Neighbor Count= 1
Neighbor: 2.2.2.2
Authentication-Key:None
MD5 Authentication: Key None, Key-Id None, Auth-change-wait-time 300
Output of the show ip ospf interface command
Displaying OSPF information
Interface Address 0.0.0.0
Interface Address 0.0.0.0
Displays
The IP address of the interface.
ptr2ptr (point to point)
The link ID as defined in the router-LSA. This value can be one of the
following:
1 = point-to-point link
3 = point-to-point link with an assigned subnet
The configured output cost for the interface.
OSPF Options (Bit7 - Bit0):
•
unused:1
•
opaque:1
•
summary:1
•
dont_propagate:1
•
nssa:1
•
multicast:1
•
externals:1
•
tos:1
The area type, which can be one of the following:
•
Broadcast = 0x01
•
Point to Point = 0x03
•
Virtual Link = 0x04
25
723