< Home

bfd bind pw vsi

Function

The bfd bind pw vsi command configures a BFD session on a non-SPE node to detect a PW.

The undo bfd command deletes the specified BFD session.

By default, no BFD session is configured to detect the PW.

Format

bfd cfg-name bind pw vsi vsi-name peer peer-address [ vc-id vc-id ] [ remote-peer remote-peer-address pw-ttl { auto-calculate | ttl-number }]

undo bfd cfg-name

Parameters

Parameter Description Value

cfg-name

Specifies the name of a BFD session.

The value is a string of 1 to 15 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

vsi vsi-name

Specifies the name of a VSI.

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.

peer peer-address

Specifies the destination IP address of the VPLS PW, which is usually the LSR ID.

The value is in dotted decimal notation.

vc-id vc-id

Specifies the ID of a Layer 2 VC.

The value is an integer ranging from 1 to 4294967295.

remote-peer remote-peer-address

Specifies the IP address used as the destination address of the PW to be detected by a BFD session, which is usually the LSR ID.

The value is in dotted decimal notation. It cannot be in the format of 127.X.X.X.

pw-ttl

Indicates the BFD session detects the PW in TTL mode.

-

auto-calculate

Indicates that the number of hops along a PW is counted automatically.

-

ttl-number

Specifies the number of hops along the PW to be detected.

The value is an integer ranging from 1 to 255.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BFD sessions can rapidly detect links on the network. You can run the bfd bind pw vsi command to detect a single-hop VPLS PW or a multi-hop PW formed by connecting a VPLS PW to a VLL PW. The bfd bind pw vsi command detects the VPLS PW in unicast mode and specifies the VPLS PW to be detected through the parameter peer peer-address.
  • If the configured BFD session is used to detect an end-to-end single-hop VPLS PW, the value of peer peer-address and the value of remote-peer remote-peer-address are identical. In this case, you can run the bfd cfg-name bindpw vsi vsi-name peer peer-address command only. The TTL value is 255.

  • If the BFD session is used to detect a multi-hop PW formed by connecting a VPLS PW to a VLL PW, you need to specify the destination IP address of the VPLS PW through peer peer-address and the destination IP address of the multi-hop PW through remote-peer remote-peer-address.
    • If auto-calculate is specified, the system automatically counts the number of hops along the PW to be detected based on remote-peer remote-peer-address.

    • If ttl ttl-number is specified, the number of hops along the PW to be detected is manually set.

When running the bfd bind pw vsi command to detect a multi-hop PW, ensure that the first-hop PW is the VPLS PW, which must be configured on a non-SPE node.

When running the bfd bind pw vsi command to detect a single-hop VPLS PW, ensure that the single-hop VPLS PW is configured on a non-SPE node.

If VPLS forwards data through TE tunnels, PW detection using a BFD session is not supported.

Prerequisites

The PW to be detected must exist. The BFD session must be established between the source and destination of the PW.

Before running the bfd bind pw vsi command, ensure that the following configuration operations have been performed:
  • The BFD function has been enabled globally through the bfd command.

  • A single-hop VPLS PW or multi-hop PW formed by connecting a VPLS PW to a VLL PW has been created.

Precautions

This command is used to configure a BFD session to detect a VPLS PW only in TTL mode.

Example

# Configure a BFD session on a non-SPE node to detect the VPLS PW in TTL mode.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] quit
[HUAWEI] bfd vplspw bind pw vsi vsi1 peer 2.2.2.2 vc-id 123 remote-peer 36.6.6.6 pw-ttl auto-calculate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >