ipv6 route-static track bfd-session admindown invalid

Function

The ipv6 route-static track bfd-session admindown invalid command prevents an IPv6 static route from being selected if the BFD session associated with it is in the AdminDown state.

The undo ipv6 route-static track bfd-session admindown invalid command restores the default configuration.

By default, an IPv6 static route can still be selected by the Router even though the BFD session associated with it is in the AdminDown state.

Format

ipv6 route-static track bfd-session session-name bfd-name admindown invalid

undo ipv6 route-static track bfd-session [ session-name bfd-name ] admindown invalid

Parameters

Parameter Description Value
session-name bfd-name

Specifies a BFD session associated with an IPv6 static route.

The value is a string of 1 to 64 case-insensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

By default, an IPv6 static route can still be selected by the Huawei devices even though the BFD session associated with it is in the AdminDown state, but not by non-Huawei devices. As a result, the Huawei devices cannot interwork with non-Huawei devices.

To address this problem, run the ipv6 route-static track bfd-session admindown invalid command to configure the Router not to select the IPv6 static route if the BFD session associated with it is in the AdminDown state.

Prerequisites

The BFD session specified by bfd-name has been created.

Precautions

The undo ipv6 route-static track bfd-session admindown invalid command enables all IPv6 static routes to be selected by the Router even though the BFD sessions associated with them are in the AdminDown state.

Example

# Prevent the IPv6 static route from being selected if the BFD session associated with it is in the AdminDown state.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd bfda bind peer-ipv6 2001:db8:1::1
[*HUAWEI-bfd-session-bfda] discriminator local 20
[*HUAWEI-bfd-session-bfda] discriminator remote 10
[*HUAWEI-bfd-session-bfda] quit
[*HUAWEI] ipv6 route-static track bfd-session session-name bfda admindown invalid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >