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.
bfd cfg-name bind pw interface interface-type interface-number [ secondary ]
undo bfd cfg-name
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.
|
- |
secondary | Indicates that the BFD session detects the secondary PW. | - |
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
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.