< Home

router-id (OSPFv3)

Function

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

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

By default, there is no Router ID for the switch that runs OSPFv3.

Format

router-id router-id

undo router-id

Parameters

Parameter Description Value
router-id Indicates the Router ID. It is 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 switch 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.

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