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.
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
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. |
Usage Scenario
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 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.
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.