R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

552
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters, to set a preference for matching routes.
preference: Specifies the preference of OSPFv3, in the range of 1 to 255. The smaller the value, the
higher the preference.
Usage guidelines
If multiple routing protocols find multiple routes to the same destination, the router uses the route found by
the protocol with the highest preference.
Examples
# Set a preference of 150 for OSPFv3 routes.
<Sysname> system-view
[Sysname] OSPFv3
[Sysname-OSPFv3-1] preference 150
router-id
Use router-id to configure a router ID.
Use undo router-id to remove the configured router ID.
Syntax
router-id router-id
undo router-id
Default
No router ID is configured.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
router-id: Specifies a router ID in IPv4 address format.
Usage guidelines
The router ID is the unique identifier for the device to run OSPFv3 in the AS. An OSPFv3 process cannot
run without a router ID.
Different processes must have different router IDs.
Examples
# Configure the router ID 10.1.1.3 for OSPFv3 process 1.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] router-id 10.1.1.3
Related commands
ospfv3