The cc interval command sets an interval at which continuity check messages (CCMs) are sent.
The undo cc interval command restores the default interval.
By default, the default interval is 1000 milliseconds.
Parameter | Description | Value |
---|---|---|
3.3 |
Indicates that CCMs are set at an interval of 3.3 ms. |
- |
10 |
Indicates that CCMs are set at an interval of 10 ms. |
- |
100 |
Indicates that CCMs are set at an interval of 100 ms. |
- |
1000 |
Indicates that CCMs are set at an interval of 1000 ms. |
- |
10000 |
Indicates that CCMs are set at an interval of 10000 ms. |
- |
60000 |
Indicates that CCMs are set at an interval of 60000 ms. |
- |
600000 |
Indicates that CCMs are set at an interval of 600000 ms. |
- |
Usage Scenario
CC detects LOC on a link between any MEPs in a MEG.
To set an interval at which CCMs are sent, run the cc interval command. If a MEP does not receive CCMs from its RMEP within a period of 3.5 times a specified interval, the connectivity between the MEP and its RMEP fails. Optional CCM transmission intervals and their usage scenarios are as follows:Prerequisites
The ME of the MEG has been bound to a tunnel.
Precautions
<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 test [*HUAWEI-mpls-tp-meg-test] 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-test] cc interval 100