ipv6 route-static default-preference
Use ipv6 route-static default-preference to configure a default preference for IPv6 static routes.
Use undo ipv6 route-static default-preference to restore the default.
Syntax
ipv6 route-static default-preference default-preference-value
undo ipv6 route-static default-preference
Default
The default preference of IPv6 static routes is 60.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
default-preference-value: Specifies a default preference for IPv6 static routes, in the range of 1 to 255.
Usage guidelines
If no preference is specified for an IPv6 static route, the default preference applies.
When the default preference is reconfigured, it applies to only newly added IPv6 static routes.
Examples
# Set a default preference of 120 for IPv6 static routes.
<Sysname> system-view [Sysname] ipv6 route-static default-preference 120
Related commands
display ipv6 routing-table protocol