< Home

router-id (OSPFv3)

Function

The router-id command sets the Router ID for the router that runs OSPFv3.

The undo router-id command deletes the Router ID that is set for OSPFv3 router.

Format

router-id router-id

undo router-id

Parameters

Parameter Description Value
router-id Indicates the Router ID in dotted decimal notation. -

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

The Router ID of an OSPFv3 process is unique in an AS. If no Router ID is set, the OSPFv3 process does not run.

When you set a Router ID, ensure that the Router IDs of any two processes are different in an AS.

Multiple OSPFv3 processes can run on a router by setting the different process ID. In this case, you need to specify different Router IDs for different processes.

Example

# Set the Router ID of the OSPFv3 process 1 to 10.1.1.3.

<sysname> system-view
[sysname] ospfv3 1
[sysname-ospfv3-1] router-id 10.1.1.3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >