The bfd bind peer-ipv6 command binds a BFD session for IPv6 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, BFD for IPv6 binding is not created.
bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ]
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 case-sensitive characters without spaces. 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 for IPv6. |
- |
vpn-instance vpn-name |
Specifies the name of a Virtual Private Network (VPN) instance that is bound to a BFD session for IPv6. 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. |
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. |
interface-type interface-number |
Specifies the type and number of the interface bound to the BFD session for IPv6.
|
- |
source-ipv6 ipv6-address |
Indicates the source IPv6 address carried in BFD packets.
Generally, you do not need to set this parameter. When BFD is used with the Unicast Reverse Path Forwarding (URPF) function, you must manually configure the source IP address in BFD packets because the URPF function checks the source IP address in received packets. |
- |
Usage Scenario
A BFD session for IPv6 is established to rapidly detect faults in IPv6 links on a network.
When creating a BFD session for IPv6 session, configuring optional parameters to implement different functions:
Prerequisites
BFD has been enabled globally using the bfd command in the system view.
Follow-up Procedure
Run the discriminator command to create the local and remote discriminators for the BFD session for IPv6.
Precautions
When creating a single-hop BFD session for IPv6, bind the single-hop BFD session to the peer IPv6 address and the local address. You only need to bind a multi-hop BFD session to the peer IPv6 address.
When the BFD configuration items are created, the system checks only the format of the IPv6 address. The BFD session cannot be established if an incorrect peer IPv6 address or source IPv6 address is bound.
# Create a BFD session for IPv6 named abc to detect the single-hop link from GE0/0/1 to the peer IPv6 address at fc00:0:0:2001::1.
<sysname> system-view
[sysname] bfd
[sysname-bfd] quit
[sysname] bfd abc bind peer-ipv6 fc00:0:0:2001::1 interface GigabitEthernet0/0/1
[sysname-bfd-session-abc]
# Create a BFD session for IPv6 named abc to detect faults in the multi-hop link to the peer IPv6 address fc00:0:0:2001::2.
<sysname> system-view [sysname] bfd [sysname-bfd] quit [sysname] bfd abc bind peer-ipv6 fc00:0:0:2001::2 [sysname-bfd-session-abc]