218
Use undo maximum load-balancing to restore the default.
By default, the maximum number of ECMP routes is 8.
Configure the maximum number according to the memory size.
Examples
# Set the maximum number of ECMP routes to 2.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] maximum load-balancing 2
preference
Syntax
preference [ route-policy route-policy-name ] preference
undo preference [ route-policy ]
View
RIPng view
Default level
2: System level
Parameters
route-policy-name: Routing policy name with 1 to 63 case-sensitive characters.
value: Preference for RIPng routes, in the range of 1 to 255.
Description
Use preference to specify the preference for RIPng routes.
Use undo preference to restore the default.
By default, the preference of RIPng routes is 100.
You can specify a routing policy by using the keyword route-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 RIPng route preference to 120.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] preference 120
# Restore the default RIPng route preference.
[Sysname-ripng-100] undo preference