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.
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
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.
|
- |
source-ipv6 ipv6-address | Specifies the source IPv6 address carried in BFD packets. |
- |
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:
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:
Precaution
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.
# 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]