Configuring OSPF show ip ospf interface
21-46 Routing Protocol Configuration
Parameters
Defaults
Ifvlan‐idisnotspecified,OSPFstatisticswillbedisplayedforallVLANs.
Mode
Routercommand,Anyroutermode.
Example
ThisexampleshowshowtodisplayallOSPFrelatedinformationforVLAN1:
Matrix>Router#show ip ospf interface vlan 1
Vlan 1 is UP
Internet Address 182.127.63.2 Mask 255.255.255.0,Area 0.0.0.0
Router ID 182.127.64.1,Network Type BROADCAST,Cost: 10
Transmit Delay is 1 sec,State BACKUPDR,Priority 1
Designated Router id 182.127.62.1, Interface addr 182.127.63.1
Backup Designated Router id 182.127.63.2,
Timer intervals configured, Hello 10,Dead 40,Wait 40,Retransmit 5
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 182.127.63.1 (Designated Router)
Table 21‐4providesanexplanationofthecommandoutput.
vlanvlan‐id (Optional)DisplaysOSPFinformationforaspecificVLAN.ThisVLAN
mustbeconfiguredforIProutingasdescribedin“Pre‐Routing
ConfigurationTasks”onpage 2‐100.
Table 21-4 show ip ospf interface Output Details
Output... What it displays...
Vlan Interface (VLAN) administrative status as up or down.
Internet Address IP address and mask assigned to this interface.
Router ID Router ID, which OSPF selects from IP addresses configured on this router.
Network Type OSPF network type, for instance, broadcast.
Cost OSPF interface cost, which is either default, or assigned with the ip ospf cost
command. For details, refer to “ip ospf cost” on page 21-24.
Transmit Delay The number (in seconds) added to the LSA (Link State Advertisement) age field.
State The interface state (versus the state between neighbors). Valid values include
BACKUPDR (Backup Designated Router), and DR (Designated Router).
Priority The interface priority value, which is either default, or assigned with the ip ospf
priority command. For details, refer to “ip ospf priority” on page 21-25.
Designated Router id The router ID of the designated router on this subnet, if one exists.
Interface addr IP address of the designated router on this interface.
Backup Designated
Router id
IP address of the backup designated router on this interface, if one exists.