< Home

bfd bind pw

Function

The bfd bind pw command configures a BFD session to detect a PW.

The undo bfd command deletes a specified BFD session.

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

Format

bfd cfg-name bind pw interface interface-type interface-number [ secondary ]

undo bfd cfg-name

Parameters

Parameter Description Value
cfg-name Specifies the name of the 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.
interface interface-type interface-number Specifies the type and number of the interface where the PW to be detected resides, namely, the AC interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
secondary Indicates that the BFD session detects the secondary PW. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a transmission device exists on a direct link, BFD detects a link fault faster than a link detection mechanism on an interface. On networks demanding fast fault detection, run the bfd bind pw command to configure a BFD session to detect a PW.

Prerequisites

  • A PW has been configured on an AC interface by running the mpls l2vc command.

  • BFD has been enabled globally by running the bfd command.

  • A single-segment or multi-segment PW has been configured.

Precautions

  • When detecting a PW, BFD sessions must be bound to the source and destination ends of a PW.

  • You need to create a BFD session to detect primary and secondary PWs separately.

When running the bfd bind pw command to detect a multi-segment PW, ensure that the first-segment PW is a VLL PW configured on a non-SPE node.

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

Example

# Create a BFD session to detect a PW.

<HUAWEI> system-view
[HUAWEI] bfd pe2 bind pw interface vlanif 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >