preference
Use preference to set the preference for RIPng routes.
Use undo preference to restore the default.
Syntax
preference { preference | route-policy route-policy-name } *
undo preference
Default
The preference of RIPng routes is 100.
Views
RIPng view
Predefined user roles
network-admin
Parameters
preference: Specifies the preference for RIPng routes, in the range of 1 to 255. The smaller the value, the higher the preference.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
You can specify a routing policy to set a preference for the matching RIPng routes.
The preference set by the routing policy applies to all matching RIPng routes. The preference of other routes is set by the preference command.
If no preference is set by the routing policy, the preference of all RIPng routes is set by the preference command.
Examples
# Set the preference for RIPng routes to 120.
<Sysname> system-view [Sysname] ripng 100 [Sysname-ripng-100] preference 120