480
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Show Commands
show ip ospf interface
show ip ospf interface
To display Open Shortest Path First (OSPF)-related interface information, use the show ip ospf
interface command.
show ip ospf interface [instance-tag] [{ethernet slot/port | loopback if_number | port-channel
number}] [brief] [vrf vrf-name]
Syntax Description
Command Default None
Command Modes Any command mode
Command History
Usage Guidelines Use the show ip ospf interface command to display the OSPF status for the interface.
This command requires the LAN Enterprise Services license.
Examples This example shows how to display OSPF information for Ethernet interface 1/5:
switch# show ip ospf interface ethernet 1/5
This example shows how to display OSPF information for all VRFs:
switch# show ip ospf interface vrf all
This example shows how to display OSPF information in a brief format:
switch# show ip ospf interface brief
instance-tag (Optional) Name of the OSPF instance. The name can be a maximum
of 20 alphanumeric characetrs.
ethernet slot/port (Optional) Specifies the Ethernet interface. The slot number is from
1 to 255, and the port number is from 1 to 128.
loopback if_number (Optional) Specifies the loopback interface. The loopback interface
number is from 0 to 1023.
port-channel number (Optional) Specifies the EtherChannel interface and EtherChannel
number. The range is from 1 to 4096.
brief (Optional) Displays brief overview information for OSPF interfaces,
states, addresses, masks, and areas on the router.
vrf vrf-name (Optional) Specifies the name of the virtual routing and forwarding
(VRF) instance. The vrf-name argument can be specified as any
case-sensitive, alphanumeric string up to 32 characters. The strings
“default” and “all” are reserved VRF names.
Release Modification
5.0(3)A1(1) This command was introduced.