The cc enable command enables a device to send or receive CCMs.
The undo cc enable command disables a device from sending or receiving CCMs.
By default, a device is disabled from sending or receiving CCMs.
Usage Scenario
MPLS-TP OAM provides proactive monitoring. To enable proactive monitoring, run the cc enable command.
MPLS-TP OAM is configured for a maintenance entity (ME). An ME consists of two maintenance entity group end points (MEPs) on both ends of a transport path. MPLS-TP OAM detects faults in the MEP. The mpls-tp meg command must be run to create a MEG before the cc enable command is run to implement MPLS-TP OAM. The OAM auto protocol enabled on the egress provides the following functions:Prerequisites
The ME of the MEG has been bound to a tunnel.
Configuration Impact
After the cc enable command is run on a device, the device sends CCMs every 1000 ms.
Precautions
To prevent unnecessary alarms, run the cc enable and undo cc enable commands in the following sequence:
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0.1 [*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 1 [*HUAWEI-GigabitEthernet0/1/0.1] mpls static-l2vc destination 4.4.4.4 400 transmit-vpn-label 100 receive-vpn-label 200 [*HUAWEI-GigabitEthernet0/1/0.1] quit [*HUAWEI] mpls-tp meg abc [*HUAWEI-mpls-tp-meg-abc] me l2vc peer-ip 4.4.4.4 vc-id 400 vc-type vlan mep-id 1 remote-mep-id 2 [*HUAWEI-mpls-tp-meg-abc] cc receive enable auto-protocol
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0.1 [*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 1 [*HUAWEI-GigabitEthernet0/1/0.1] mpls static-l2vc destination 4.4.4.4 400 transmit-vpn-label 100 receive-vpn-label 200 [*HUAWEI-GigabitEthernet0/1/0.1] quit [*HUAWEI] mpls-tp meg abc [*HUAWEI-mpls-tp-meg-abc] me l2vc peer-ip 4.4.4.4 vc-id 400 vc-type vlan mep-id 1 remote-mep-id 2 [*HUAWEI-mpls-tp-meg-abc] cc send enable