The bfd bind peer-ipv6 command creates a BFD for IPv6 session, binds related information to the BFD session, and displays the BFD session view.
By default, the binding between a BFD session for IPv6 and a peer IPv6 address is not created.
Parameter | Description | Value |
---|---|---|
session-name |
Specifies the name of a BFD session for IPv6. |
The value is a string of 1 to 64 characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string.
|
peer-ipv6 |
Specifies the peer IPv6 address bound to a BFD session for IPv6. |
The value is in 32-digit hexadecimal notation. |
vpn-instance vpn-name |
Specifies the name of a VPN instance bound to a BFD session for IPv6. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
interface interface-type interface-number |
Specifies the type and number of a Layer 3 interface to which a BFD session for IPv6 is bound. |
- |
source-ipv6 source-ipv6 |
Specifies the source IPv6 address carried in a BFD packet. If no source IPv6 address is specified, a device uses a source IPv6 address in either of the following modes before sending BFD packets:
|
The value is in 32-digit hexadecimal notation. |
Usage Scenario
To rapidly detect IPv6 link faults on a network, create a BFD session for IPv6.
When creating the binding between a BFD session for IPv6 and a peer IPv6 address:Prerequisites
BFD has been globally enabled using the bfd command in the system view.
Configuration Impact
You can run the bfd bind peer-ipv6 command to create the binding between a static BFD session for IPv6 and a peer IPv6 address.
Precautions
If the IPv6 address of the outbound interface is changed after a BFD session for IPv6 has been created, either of the following situations occurs:
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ipv6 enable [*HUAWEI-GigabitEthernet0/1/0] ipv6 address 2001:db8::2 64 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] bfd atob bind peer-ipv6 2001:db8::1 interface GigabitEthernet 0/1/0
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] bfd s1 bind peer-ipv6 2001:db8::1