< Home

bfd bind peer-ipv6 source-ipv6 auto

Function

The bfd bind peer-ipv6 source-ipv6 auto command creates a static BFD6 session with automatically negotiated discriminators.

The undo bfd bfd-name command deletes a specified BFD6 session.

By default, no static BFD6 session with automatically negotiated discriminators.

Format

bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] source-ipv6 ipv6-address auto

undo bfd session-name

Parameters

Parameter Description Value
session-name

Specifies the name of a BFD6 session.

The value is a string of 1 to 15 case-sensitive characters without spaces.
NOTE:

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

peer-ipv6 ipv6-address

Specifies the peer IPv6 address bound to a BFD6 session.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance bound to a BFD6 session.

The value must be an existing VPN instance name.

interface interface-type interface-number

Specifies the local Layer 3 outbound interface bound to a BFD6 session.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-
source-ipv6 ipv6-address

Specifies the source IPv6 address carried in BFD packets.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The local device where a BFD session with automatically negotiated parameters is configured can negotiate with the remote device where a dynamic BFD session is configured; however, the local device enabled with static BFD can establish a BFD session with the remote device enabled with static BFD only. When configuring a BFD session with automatically negotiated parameters or a static BFD session, you can specify the BFD session name. The name of a dynamic BFD session is generated dynamically. When the network changes, the name of the dynamic BFD session may change.

When the remote end is configured with dynamic BFD and the local end needs to be configured with association between BFD and static route (BFD session name needs to be specified during association configuration), a BFD session with automatically negotiated parameters can be configured on the local end. Then the local end can establish a BFD session with the remote end enabled with dynamic BFD and association between BFD and static route can be implemented.

When creating a static BFD for IPv6 session with automatically negotiated discriminators, pay attention to the following points:

  • If only the peer IPv6 address is specified, BFD is configured to detect the multi-hop link.
  • A single-hop link is detected if both the peer IPv6 address and the local interface are specified. That is, a BFD6 session detects a specific route with this interface as the outbound interface and with the peer IPv6 address as the next hop address.
  • If both the peer IPv6 address and the VPN instance are specified, the created BFD6 session detects the multi-hop links in the VPN instance.
  • If the peer IPv6 address, VPN instance, and local interface are specified, the created BFD6 session detects the single-hop links in the VPN instance.

Prerequisites

Global BFD has been enabled using the bfd command in the system view.

Follow-up Procedure

After creating a static BFD for IPv6 session with automatically negotiated discriminators and entering its view, perform the following mandatory operations:

  • Run the description command to configure description for the BFD for IPv6 session.
  • Run the min-tx-interval command to set the interval for sending BFD packets.
  • Run the min-rx-interval command to set the interval for receiving BFD packets.
  • Run the detect-multiplier command to set the local detection multiplier.
  • Run the process-pst command to configure the Port State Table (PST) of the BFD session.
  • Run the wtr command to set the Wait-to-Recovery (WTR) time for the BFD for IPv6 session.

Precaution

A static BFD for IPv6 session and a static BFD6 session with automatically negotiated discriminators have the following differences:
  • The local and remote discriminators must be specified for a static BFD for IPv6 session.
  • The local and remote discriminators are optional for a static BFD6 session with automatically negotiated discriminators.

If the IPv6 address of outbound interface is changed for a BFD for IPv6 session, the source IPv6 address in BFD packets is not changed.

The source address is mandatory for a static BFD6 session with automatically negotiated discriminators.

Example

# Create a static BFD6 session named atob with the automatically negotiated discriminators to detect a single-hop link.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] quit
[HUAWEI] bfd atob bind peer-ipv6 2001::1 interface gigabitethernet 0/0/1 source-ipv6 2001::1 auto
[HUAWEI-bfd-session-atob]

# Create a static BFD6 session named atoc with the automatically negotiated discriminators to detect the multi-hop link from which BFD6 packets reach 2001::1.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] quit
[HUAWEI] bfd atoc bind peer-ipv6 2001::1 source-ipv6 2001::1 auto
[HUAWEI-bfd-session-atoc]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >