ipv6 route-static default-preference
Function
The ipv6 route-static default-preference command sets the default preference for IPv6 static routes.
The undo ipv6 route-static default-preference command restores the default preference of IPv6 static routes.
By default, the default preference of IPv6 static routes is 60.
Parameters
Parameter | Description | Value |
---|---|---|
preference | Specifies the default preference of IPv6 static routes. | The value is an integer that ranges from 1 to 255. |
Usage Guidelines
Usage Scenario
You can change the preference of a static route to change the status of the route. To change the default preference of a new IPv6 static route, run the ipv6 route-static default-preference command.
Configuration Impact
After the ipv6 route-static default-preference command is used, the default preference of all the new IPv6 static routes is changed.
After a new default preference is specified, the new default preference is valid only for new IPv6 static routes but not for existing IPv6 static routes.