router-id

Use router-id to configure a router ID.

Use undo router-id to restore the default.

Syntax

router-id router-id

undo router-id

Default

No router ID is configured.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

router-id: Specifies a router ID in IPv4 address format.

Usage guidelines

The router ID is the unique identifier for the device to run OSPFv3 in the AS. An OSPFv3 process cannot run without a router ID.

You must specify a unique router ID for each OSPFv3 process in an AS and on a router.

Examples

# Configure the router ID 10.1.1.3 for OSPFv3 process 1.

<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] router-id 10.1.1.3

Related commands

ospfv3