bfd bind peer-ip default-ip vsi

Function

The bfd bind peer-ip default-ip vsi command creates a BFD multicast session based on a VSI PW.

By default, no BFD multicast session based on a VSI PW is created.

Format

bfd sessname-value bind peer-ip default-ip vsi vsi-name peer peer-address [ vc-id vc-id ]

Parameters

Parameter Description Value
sessname-value

Specifies the name of a BFD session.

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.

  • When the name of a BFD session is configured, the uppercase and lowercase letters in the name must be the same as what you enter.
  • BFD session names are case-insensitive. For example, ABC and abc are regarded as the same BFD session. If you have configured ABC as the name of a BFD session, the ABC BFD session view is directly displayed when you configure abc.
vsi vsi-name

Specifies a VSI name.

The value is a string of 1 to 31 case-insensitive characters.

peer peer-address

Specifies the peer IP address of the PW in a VSI.

The value is in dotted decimal notation.

vc-id vc-id

Specifies the ID of a VC. It is used when both ends with different VSI IDs need to communicate with each other.

The parameter vc-id cannot be identical to other configured local VSI IDs or other local VSI IDs specified by negotiate-vc-id. That is, vc-id cannot be an existing one. The ID is an integer ranging from 1 to 4294967295.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bfd write

Usage Guidelines

Usage Scenario

When a MAN accesses a core network in VPLS aggregation mode, a UPE is connected to an NPE over a PE-AGG. The PE-AGG terminates the PW to the UPE and forwards user packets to the NPE over the AC. To improve reliability, deploy two NPEs and configure an mVRRP group on them to determine the master/backup VRRP status.

You can associate VRRP with link and peer BFD to implement rapid master/backup VRRP switchovers. After the association is complete, the VRRP status changes if the BFD session status changes.

You must configure a link BFD session of the BFD for Default IP VSI type on the UPE and a link BFD session of the BFD for Default IP type on the NPEs.

The destination IP address of a packet for the link BFD session of the BFD for Default IP VSI type is the default multicast IP address. The packet is encapsulated with a VC label at the outer layer and is transmitted to the PE-AGG over the mPW. The PE-AGG terminates the mPW, removes the VC label from the packet's outer layer, and forwards the packet to the NPE over the AC. After receiving the packet, the NPE identifies the multicast IP address and terminates the packet.

Prerequisites

A management VSI PW has been created.

BFD has been globally enabled using the bfd command in the system view.

Precautions

A link BFD session of the BFD for Default IP VSI type must be established on an mPW, because only mPWs can process multicast BFD packets.

The default IP addresses of BFD packets must be the same on the UPE and NPEs, but the default IP addresses of BFD packets on the PE-AGGs must be different from those on the UPE and NPEs. If the default IP addresses of BFD packets on the PE-AGGs are the same as those on the UPE and NPEs, the BFD packets are not forwarded to the NPEs.

You can run the undo bfd session-name command to delete a specified BFD session and its binding information.

Example

# Create a BFD session based on a VSI named v100.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi v100 static
[*HUAWEI-vsi-v100] pwsignal ldp
[*HUAWEI-vsi-v100-ldp] vsi-id 100
[*HUAWEI-vsi-v100-ldp] peer 3.3.3.3
[*HUAWEI-vsi-v100-ldp] quit
[*HUAWEI-vsi-v100] admin-vsi
[*HUAWEI-vsi-v100] quit
[*HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] bfd bfd1 bind peer-ip default-ip vsi v100 peer 3.3.3.3
[*HUAWEI-bfd-session-bfd1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >