router-id

Use this command to set the OSPFv3 router ID for the device.

Syntax

router-id router-id

Parameters

router-id Specifies the OSPFv3 router ID expressed as a 32-bit integer in dotted-quad notation.

Defaults

None.

Mode

OSPFv3 router configuration.

Usage

The OSPFv3 protocol uses the router ID as a tie-breaker for path selection and as the OSPFv3 neighbor ID. If no router ID is configured, then the OSPFv3 router ID is set to the highest loopback address configured. If no loopback address is configured, then the highest IP address configured will be used. If no IP addresses are configured, then OSPFv3 will not enable.

Example

This example shows how to set the OSPFv3 router ID to 182.127.62.1:

System(rw-config-ospfv3)->router-id 182.127.62.1