![Cisco Nexus 3548 series Command Reference Manual Download Page 342](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162342.webp)
322
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
router-id (OSPF)
router-id (OSPF)
To use a fixed router ID for an Open Shortest Path First (OSPF) instance, use the
router-id
command.
To revert to the previous OSPF router ID behavior, use the
no
form of this command.
router-id
ip-address
no router-id
ip-address
Syntax Description
Command Default
If this command is not configured, OSPF chooses an IPv4 address as the router ID from one of its
interfaces.
Command Modes
Router configuration mode
Command History
Usage Guidelines
Configuring a router ID ensures that EIGRP can function regardless of the interface address
configuration.
If this command is used on an OSPF instance that has neighbors, OSPF uses the new router ID at the
next reload or at a restart of OSPF.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to configure the router ID:
switch#
configure terminal
switch(config)#
router ospf 12
switch(config-router)#
router-id 192.0.2.1
switch(config-router)#
Related Commands
ip-address
Router ID in IP address format.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
router ospf
Configures the OSPF routing process.