preference
Use preference to configure the preference for IPv6 IS-IS.
Use undo preference to restore the default.
Syntax
preference { preference | route-policy route-policy-name } *
undo preference
Default
The preference for IPv6 IS-IS is 15.
Views
IS-IS IPv6 unicast address family view
Predefined user roles
network-admin
Parameters
preference: Specifies a preference for IPv6 IS-IS, in the range of 1 to 255.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
If multiple dynamic routing protocols find routes to the same destination, the route found by the protocol with the highest preference is selected as the optimal route.
Examples
# Set the preference for IPv6 IS-IS to 20.
<Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] address-family ipv6 [Sysname-isis-1-ipv6] preference 20