< Home

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 FW 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 bound to an IPv6 static route.

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

NOTE:

When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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

To address this problem, run the ipv6 route-static track bfd-session admindown invalid command to configure the FW 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 FW 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.

<sysname> system-view
[sysname] bfd
[sysname-bfd] quit
[sysname] bfd bfda bind peer-ipv6 2001:db8:1::1
[sysname-bfd-session-bfda] discriminator local 20
[sysname-bfd-session-bfda] discriminator remote 10
[sysname-bfd-session-bfda] commit
[sysname-bfd-session-bfda] quit
[sysname] 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 >