R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

201
Syntax
preference { preference | route-policy route-policy-name } *
undo preference
Default
IS-IS preference is 15.
Views
IS-IS view
Default command level
2: System level
Parameters
preference: Specifies the preference for IS-IS protocol, in the range of 1 to 255.
route-policy route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters. The
preference applies to routes passing the routing policy.
Usage guidelines
If a routing policy is specified in this command, the preference (if any) set by the routing policy applies
to those matched routes. Other routes use the preference set by the preference command.
When a router runs multiple routing protocols at the same time, the system configures a preference to
each routing protocol. If several protocols find routes to the same destination, the route of the routing
protocol with the highest preference is selected.
Examples
# Configure the preference of IS-IS protocol as 25.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] preference 25
priority high
Use priority high to assign a high priority to specific routes for faster network convergence.
Use undo priority high to restore the default.
Syntax
priority high { ip-prefix prefix-name | tag tag-value }
undo priority high [ ip-prefix | tag ]
Default
No IS-IS route is assigned a high priority.
Views
IS-IS view
Default command level
2: System level