The bfd bind peer-ipv6 source-ipv6 auto command binds a BFD session for IPv6 with automatically-negotiated discriminators to a peer with a specified IPv6 address, and accesses the BFD session view.
The undo bfd session-name command deletes a specified BFD session for IPv6 and the binding between the BFD session and the peer with a specified IPv6 address.
By default, no static BFD session for IPv6 with automatically negotiated discriminators is established.
bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-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 BFD session for IPv6. |
The value is a string of 1 to 15 characters, spaces not supported. NOTE:
When quotation marks are used around the string, spaces are allowed in the string. |
peer-ipv6 ipv6-address |
Specifies the peer IPv6 address bound to the BFD session. |
- |
vpn-instance vpn-name |
Specifies the name of an instance to which the BFD session for IPv6 is bound. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. If no VPN instance is specified, the peer IP address is considered as the public network address. If this parameter is specified, the VPN instance must have been created. |
interface-type interface-number |
Specifies the type and number of the interface bound to the BFD session for IPv6.
|
- |
source-ipv6 ipv6-address |
Specifies the source IPv6 address carried in BFD packets. |
- |
auto |
Enables automatic negotiation of local and remote discriminators. |
- |
Usage Scenario
A BFD session for IPv6 is established to rapidly detect faults in IPv6 links on a network. A device needs to establish a BFD session with a remote device on which a dynamic BFD session is established to detect faults in static routes. In this case, the bfd bind peer-ipv6 source-ipv6 auto command is used to create a BFD session with automatically-negotiated discriminators.
The parameters are optional in the bfd bind peer-ipv6 source-ipv6 auto command to provide various functions:
Prerequisites
BFD has been enabled globally using the bfd command in the system view.
Precautions
When creating a BFD session, bind the BFD session to the peer IP address and the local address.
When the BFD configuration items are created, the system checks only the format of the IP address. The BFD session cannot be established if an incorrect peer IP address or source IP address is bound.