set protocols ospf6 router-id
The router ID should be configured first for the switch when users configure OSPFv3. The router ID is a string similar to the IP address, and should be unique in the OSPFv3 domain. Users should not change the router ID after completing the configuration.
Command Syntax
set protocols ospf6 vrf <vrf-name> router-id <router-id>
Parameter
• <vrf-name> Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].
Note that: The configuration is in the default VRF if not explicitly bound to any VRF.
• <router-id>A unique 32-bit identifier within this AS.
Example
• This example configure router ID for the switch.admin@XorPlus#
admin@XorPlus# set protocols ospf6 router-id 1.1.1.1 admin@XorPlus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.