The mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command sets the encapsulation type for BFD CV packets to be sent to remote peers.
The undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command restores the default configuration.
By default, the device sends BFD CV packets with the encapsulation type 0x08 to all remote peers.
mpls l2vpn vccv bfd-cv-negotiation fault-detection-only [ peer peer-address { enable | disable } ]
undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only [ peer peer-address ]
Parameter | Description | Value |
---|---|---|
peer peer-address | Specifies the IP address of a remote peer. |
The value is in dotted decimal notation. |
enable | Sets the encapsulation type 0x04 for BFD CV packets to be sent to a specified remote peer. |
- |
disable | Set the encapsulation type 0x08 for BFD CV packets to be sent to a specified remote peer. |
- |
Usage Scenario
Dynamic PWs support VCCV by default, and can use LDP signaling to advertise local attributes to remote peers. The default encapsulation type of BFD CV packets is 0x08. If a remote peer supports the encapsulation type 0x04 and BFD is used for communication, run the mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address enable command to change the encapsulation type of BFD CV packets to be sent to this peer to 0x04.
Precautions
After this command is run, PWs may be re-established, which causes a short service interruption.
# Set the encapsulation type 0x04 for BFD CV packets to be sent to remote peers.
<HUAWEI> system-view [HUAWEI] mpls l2vpn [HUAWEI-l2vpn] mpls l2vpn vccv bfd-cv-negotiation fault-detection-only
# Set the encapsulation type 0x04 for BFD CV packets to be sent to a specified remote peer.
<HUAWEI> system-view [HUAWEI] mpls l2vpn [HUAWEI-l2vpn] mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer 10.10.10.1 enable