< Home

bfd bind peer-ipv6 (upgrade-compatible command)

Function

The bfd bind peer-ipv6 command creates a BFD6 session to test an IPv6 link.

By default, no BFD6 session is created to test an IPv6 link.

Format

bfd bfd-name bind peer-ipv6 peer-ipv6 [ vpn6-instance vpn6-instance-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ]

Parameters

Parameter Description Value
bfd-name Specifies a BFD6 session name. The value is a string of 1 to 15 characters, spaces not supported.
peer-ipv6 peer-ipv6 Specifies the peer IPv6 address that is to be bound to a BFD6 session. -
vpn6-instance vpn6-instance-name Specifies the name of the VPN instance that is bound to a BFD6 session. If no VPN instance is specified, the peer IP address is regarded as a public IP address. The value is a string of 1 to 31 characters.
interface interface-type interface-number Specifies the local Layer 3 interface that is bound to a BFD6 session. -
source-ipv6 ipv6-address

Specifies the source IPv6 address carried in BFD packets. Generally, you do not need to configure this parameter.

If no source IPv6 address is specified, the device specifies one based on the following situations:
  • During BFD for IPv6 negotiation, the device searches for the IPv6 address of an outbound interface that connects to the peer in the local routing table as the source IPv6 address before sending BFD packets.
  • During BFD for IPv6 detection, the device sets the source IPv6 address to a fixed value.
NOTE:

BFD works with unicast reverse path forwarding (URPF). When URPF checks the source IPv6 address in received packets, you must manually set the source IPv6 address for the BFD packets.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

It is replaced by the bfd bfd-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] [ source-ipv6 ipv6-address ] command.

Example

# Create a BFD6 session named test to test the single-hop link.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] quit
[HUAWEI] bfd test bind peer-ipv6 2001::1 vpn6-instance vpn1 interface gigabitethernet 0/0/1
[HUAWEI-bfd-session-test] discriminator local 1
[HUAWEI-bfd-session-test] discriminator remote 2
[HUAWEI-bfd-session-test] commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >