(Optional) Setting the Default Preference for IPv6 Static Routes
Context
The default preference of IPv6 static routes affects route selection. When an IPv6 static route is configured, the default preference is used if no preference is specified for the static route.
Procedure
- Run system-view
The system view is displayed.
- Run ipv6 route-static default-preference preference
The default preference of IPv6 static routes is set.
By default, the preference of static routes is 60.
After the default preference is reconfigured, the new default preference is valid only for new IPv6 static routes.
- Run commit
The configuration is committed.