The ipv6 route-static default-preference command sets the default preference for IPv6 static routes.
The undo ipv6 route-static default-preference restores the default preference of IPv6 static routes.
By default, the default preference of IPv6 static routes is 60.
| Parameter | Description | Value |
|---|---|---|
| preference | Specifies the default preference of IPv6 static routes. | It is an integer ranging from 1 to 255. The smaller the value is, the higher the preference is. |
Applicable Environment
You can change the status of a route by changing its preference. You can use the ipv6 route-static default-preference command to change the default preference for all the new IPv6 static routes.
Configuration Impact
After the ipv6 route-static default-preference command is used, all the new IPv6 static routes that use the default preference are restored to the new default preference.
Precautions
After a default preference is specified, the new default preference is valid for subsequent rather than existing IPv6 static routes.