show ip ospf interface
Enterasys C3 Configuration Guide 27-21
show ip ospf interface
Use this command to display OSPF interface related information, including network type, priority,
cost, hello interval, and dead interval.
Syntax
show ip ospf interface [vlan vlan-id]
Parameters
Defaults
If vlan-id is not specified, OSPF statistics will be displayed for all VLANs.
Mode
Any router mode.
Example
This example shows how to display all OSPF related information for the VLAN 6 interface:
C3(su)->router#show ip ospf interface vlan 6
Vlan 6
Internet Address 192.168.6.2 Mask 255.255.255.0, Area 0.0.0.0
Router ID 3.3.3.3 , Cost: 10 (computed)
Transmit Delay is 1 sec , State designated-router , Priority 1
Designated Router id 3.3.3.3 , Interface Addr 192.168.6.2
Backup Designated Router id 2.2.2.2 ,
Timer intervals configured , Hello 10 , Dead 40 , Retransmit 5
Table 27-3 provides an explanation of the command output.
vlan vlan-id (Optional) Displays OSPF information for a specific VLAN. This VLAN
must be configured for IP routing as described in “Pre-Routing
Configuration Tasks” on page 24-1.
Table 27-3 show ip ospf interface Output Details
Output Field What It Displays...
Vlan VLAN ID
Internet Address IP address and mask assigned to this interface.
Area Area ID
Router ID Router ID configured on this router.
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 27-6.
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
Backup Designated Router, Designated Router, and Err for error.
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 27-7.
Designated Router
id
The router ID of the designated router on this subnet, if one exists, in which case Err
will be displayed.