(Optional) Setting the Default Priority for IPv4 Static Routes

You can change the default priority for IPv4 static routes.

Context

After an IPv4 static route is configured, the default priority is used if no priority is specified for the static route. After the default priority is re-set, the new default priority takes effect only on new IPv4 static routes.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static default-preference preference

    The default priority is set for static routes.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >