< Home

mpls l2vpn vccv bfd-cv-negotiation fault-detection-only

Function

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.

Format

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 ]

Parameters

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.

-

Views

MPLS L2VPN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Virtual Circuit Connectivity Verification (VCCV) is a mechanism to detect and diagnose end-to-end faults on PWs. VCCV provides a control channel between a PW's ingress and egress over which connectivity verification (CV) messages can be sent. A VCCV message includes a BFD control packet encapsulated as specified by the CV type. A BFD CV packet can be transmitted over a VCCV control channel after being encapsulated using BFD IP/UDP. As defined in RFC, BFD IP/UDP encapsulation for BFD CV packets are classified into two types:
  • 0x04: used only for PW fault detection.
  • 0x08: used for PW fault detection and AC/PW status signaling.
To control the encapsulation type of BFD CV packets to be sent to remote peers, run the mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command.
  • The mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command sets the encapsulation type to 0x04 for BFD CV packets to be sent to all remote peers.
  • The undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only command restores the default encapsulation type 0x08 for BFD CV packets to be sent to all remote peers.
  • The mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address enable command sets the encapsulation type to 0x04 for BFD CV packets to be sent to a specified remote peer.
  • The mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address disable command sets the encapsulation type to 0x08 for BFD CV packets to be sent to a specified remote peer.
  • The undo mpls l2vpn vccv bfd-cv-negotiation fault-detection-only peer peer-address command restores the global encapsulation type for BFD CV packets to be sent to a specified remote peer.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >