The bfd bind peer-ipv6 track-interface 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.
bfd session-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-name ] [ source-ipv6 source-ipv6 ] track-interface interface { interface-name | interface-type interface-number }
bfd session-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-name ] [ source-ipv6 source-ipv6 ] track-interface controller { interface-name | interface-type interface-number }
Parameter | Description | Value |
---|---|---|
session-name |
Specifies the name of a BFD session for IPv6. |
The value is a string of 1 to 64 case-insensitive characters, spaces not supported. |
peer-ipv6 |
Specifies the peer IPv6 address bound to a BFD session for IPv6. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
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. |
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:
This parameter is manually configured only when BFD works with Unicast Reverse Path Forwarding (URPF). This is because URPF checks the source IP address in received packets. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
interface interface-type interface-number |
Specifies track interface information of BFD session. |
- |
controller |
Specify controller interface. |
- |
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.
Follow-up Procedure
After the binding is created, you must perform the following operations to create the BFD session for IPv6:
1.Run the discriminator command to create the local and remote discriminators for the BFD session for IPv6. 2.Run the commit command to commit the configuration. After the binding is created, the following optional configurations can be performed in the BFD session for IPv6 view: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::3 64 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] bfd atob bind peer-ipv6 2001:db8::1 track-interface interface GigabitEthernet 0/1/0