Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 IPv6 OSPFv3 Configuration Commands
3-36
By default, the preference for OSPFv3 internal routes is 10, and that for OSPFv3
external routes is 150.
The smaller the value is, the higher the preference is.
A router may run multiple routing protocols. Each protocol has a preference. When
several routing protocols find multiple routes to the same destination, the route found
by the protocol with the highest preference is selected.
Examples
# Set a preference of 150 for OSPFv3 routes.
<Sysname> system-view
[Sysname] OSPFv3
[Sysname-OSPFv3-1] preference 150
3.1.33 router-id
Syntax
router-id
router-id
undo router-id
View
OSPFv3 view
Parameters
router-id
: 32-bit router ID, in IPv4 address format.
Description
Use the
router-id
command to configure the OSPFv3 router ID.
Use the
undo router-id
command to remove a configured router ID.
Router ID is the unique identifier of a device running an OSPFv3 process in the
autonomous system. The OSPFv3 process cannot run without a Router ID.
Make sure that different processes have different Router IDs.
Related commands:
ospfv3
.
Note:
By configuring different router IDs for different processes, you can run multiple OSPFv3
processes on a router.