configure ospf routerid

configure ospf routerid [automatic | router-identifier]

Description

Configures the OSPF router ID. If automatic is specified, the switch uses the highest IP interface address as the OSPF router ID.

Syntax Description

automatic Specifies to use automatic addressing.
router-identifier Specifies a router address.

Default

Automatic.

Usage Guidelines

Each switch that is configured to run OSPF must have a unique router ID. It is recommended that you manually set the router ID of the switches participating in OSPF, instead of having the switch automatically choose its router ID based on the highest interface IP address. Not performing this configuration in larger, dynamic environments could result in an older link-state database remaining in use.

Note

Note

Do not set the router ID to 0.0.0.0.

Example

The following command sets the router ID:

configure ospf routerid 10.1.6.1

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS 32.6.1 Feature License Requirements document.