To display OSPF interface information for a specific VLAN or IP address, enter the
show ip ospf interface
ip-addr
command at any CLI level.
Table 20: CLI display of OSPF interface information—VLAN or IP address
Field
Content
Type
Will always be BCAST for interfaces on this routing switch. Point-to-point or NBMA
(frame relay or ATM) type interfaces are not supported on the switches.
Transit Delay
Configured transit delay for this interface.
Retrans Interval
Configured retransmit interval for this interface.
Hello Interval
Configured hello interval for this interface.
Rtr Dead Interval
Configured router dead interval for this interface.
Network Type
Set the network type for this interface, point-to-point or broadcast.
Designated Router
IP address of the router that has been elected DR on this interface.
Backup Desig. Rtr
IP address of the router that has been elected BDR on this interface.
Events
Number of times the interface state has changed.
Passive
Whether the interface sends LSAs to all other routers in the same Autonomous
System (AS.)
Neighbors
Number of neighbors.
If you use
show ip ospf interface vlan
vlan-id
, the output is the same as shown in the previous
table, except for the IP address on the indicated VLAN.
Examples
show ip ospf interface ip-addr output
switch(ospf)# sho ip ospf int 10.10.50.1
OSPF Interface Status for 10.3.1836
IP Address : 10.3.18.36 Status : enabled
Area ID : 10.3.16.0
State : BDR Auth-type : none
Cost : 1 Chain :
Type : BCAST Priority : 1
Transit Delay : 1 Retrans Interval : 5
Hello Interval : 10 Rtr Dead Interval : 40
Designated Router : 10.3.18.34 Events : 3
Backup Desig. Rtr : 10.3.18.36
Backup Desig. Rtr : 10.3.18.36
Chapter 11 Open Shortest Path First Protocol (OSPF)
229