The bfd bind pw vsi peer command binds a BFD session to a PW, so that BFD can detect the connectivity of the PW.
By default, BFD is not configured to detect PW connectivity.
Parameter | Description | Value |
---|---|---|
session-name |
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.
|
vsi vsi-name |
Specifies the name of a virtual switching instance (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 virtual private LAN service (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 the BFD session, which is usually an LSR ID. |
The value is in dotted decimal notation. It cannot be in the format of 127.X.X.X. |
pw-ttl |
Indicates that the BFD session detects a PW in TTL mode. In this mode, the TTL value can be manually set or automatically calculated. |
- |
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. |
Usage Scenario
If PEs on a Multiprotocol Label Switching (MPLS) Layer 2 virtual private network (L2VPN) communicate over PWs, you can enhance service protection by configuring BFD to speed up link fault detection and rapidly trigger upper-layer application switching.
The bfd bind pw command is used to detect the connectivity of SS-PWs and MS-PWs.Prerequisites
Configuration Impact
After you configure BFD for PW, PW connectivity faults can be quickly detected. If primary and secondary PWs exist, frequent PW flapping may cause frequent traffic switchovers between the primary and secondary PWs.
Precautions