< Home

(Optional) Configuring Permanent Advertisement of IPv4 Static Routes

Context

Link connectivity directly affects network stability and availability. Monitoring link status is an important part of network maintenance. If service traffic needs to be forwarded along a specified path, you can monitor the status of the path by pinging the destination addresses of static routes. In this manner, you can monitor services at a very low cost.

After permanent advertisement of static routes is configured, static routes always take effect regardless of the outbound interface status. In this case, the system forwards ping packets along a specified path only, which helps monitor the link status of the path.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } permanent

    Permanent advertisement of IPv4 static routes is configured.

    By default, permanent advertisement of IPv4 static routes is not configured.

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