ipv6 route-static default-preference

Function

The ipv6 route-static default-preference command sets the default priority for IPv6 static routes.

The undo ipv6 route-static default-preference command restores the default priority of IPv6 static routes.

By default, the default priority of static routes is 60.

Format

ipv6 route-static default-preference preference

undo ipv6 route-static default-preference

Parameters

Parameter Description Value
preference

Specifies the default priority for IPv6 static routes.

The value is an integer ranging from 1 to 255.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

You can change the status of a route by changing its priority. To change the default priority of new IPv6 static routes, run the ipv6 route-static default-preference command.

Configuration Impact

After the ipv6 route-static default-preference command is used, the new priority takes effect on new IPv6 static routes that use the default priority.

Example

# Set the default priority of IPv6 static routes to 70.
<HUAWEI> system-view
[~HUAWEI] ipv6 route-static default-preference 70
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >