DGS-6604
m
router-id (IPv6)
CLI Reference Guide
534
router-id (IPv6)
To assign a fixed router ID, use the router-id command in router configuration
mode, and force IPv6 OSPF routing process with the previous IPv6 OSPF router
ID. To disable this function, use the no form of this command.
router-id
IP-ADDRESS
no router-id
Default
The router-id is automatically chosen based on the highest IP address present
on the router.
Command Mode
Router configuration
Usage Guideline
Router ID is a 32-bit number assigned to each router running the IPv6 OSPF
protocol. This number uniquely identifies the router within an Autonomous
System. Each router must be configured with a unique router-id.
If this command is used on an active IPv6 OSPF router process (already has
neighbors), the new router ID will not take effect immediately. It is used at the
next reload or at a manual restart of IPv6 OSPF process.
Example
The following example specifies a fixed router ID.
Syntax Description
IP-ADDRESS
Router ID in IPv4 address format.
Switch > enable
Switch # configure terminal
Switch (config) # router ipv6 ospf
Switch (config-router) # router-id 10.1.1.1