show ip ospf interface
Display the OSPF interfaces configured. If OSPF is not enabled on the switch, no output is generated.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
show ip ospf process-id interface [interface]
Parameters
process-id
Enter the OSPF Process ID to show a specific process. If no Process 
ID is entered, command applies only to the first OSPF process.
interface
(OPTIONAL) Enter the following keywords and slot/port or number 
information:
• For a 1-Gigabit Ethernet interface, enter the keyword 
GigabitEthernet followed by the slot/port information.
• For the null interface, enter the keyword null followed by 
zero (0).
• For loopback interfaces, enter the keyword loopback 
followed by a number from 0 to 16383.
• For Port Channel groups, enter the keywords port-
channel followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to 
255 for TeraScale.
• For a SONET interface, enter the keyword sonet followed by 
the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword 
TenGigabitEthernet followed by the slot/port 
information.
• For a VLAN, enter the keyword vlan followed by the VLAN 
ID. The range is from 1 to 4094.
• For a 40-Gigabit Ethernet interface, enter the keyword 
fortyGigE followed by the slot/port information.
Command Modes
• EXEC
• EXEC Privilege
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Added support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version 
6.1.1.1
Introduced on the E-Series.
1091