![Cisco Nexus 3548 series Command Reference Manual Download Page 229](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162229.webp)
209
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip router ospf area
ip router ospf area
To specify the Open Shortest Path First (OSPF) instance and area for an interface, use the
ip router ospf
area
command. To return to the default, use the
no
form of this command.
ip router ospf
instance-tag
area
area-id
[
secondaries
none
]
no ip router ospf
instance-tag
area
area-id
[
secondaries
none
]
Syntax Description
Command Default
10 seconds
Command Modes
Interface configuration mode
Command History
Usage Guidelines
This command requires the LAN Base Services license.
Examples
This example shows how to configure an interface for OSPF:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
no switchport
switch(config-if)#
ip router ospf Base area 33
switch(config-if)#
Related Commands
instance-tag
Instance tag. The
instance-tag
can be an alphanumeric string of 20
characters.
area-id
Identifier for the OSPF area where you want to enable authentication.
The area ID can be either a positive integer value from 0 to
4294967295 or an IP address.
secondaries none
(Optional) Excludes secondary IP addresses.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
show ip ospf interface
Displays OSPF interface-related information.
copy running-config
startup-config
Saves the configuration changes to the startup configuration file.