< Home

(Optional) Preventing Static Routes from Being Iterated to a Blackhole Route

Context

If a link failure occurs on a network with IGP (OSPF for example), static, and blackhole routes, static routes may be iterated to a blackhole route to remain active. Static routes are preferentially selected over OSPF routes because they have a higher priority. Although active, the static routes are unreachable because they have been iterated to a blackhole route, resulting in service interruptions.

To address this problem, prevent static routes from being iterated to a blackhole route so that OSPF routes will be preferentially selected.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route recursive-lookup blackhole protocol static disable

    Static routes are prevented from being iterated to a blackhole route.

    By default, static routes can be iterated to a blackhole route.

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