clear cfm ccm-database

Use this command to clear the check continuity message database for a specified MEP or all end-points for the specified context.

Syntax

Clear the CCM database for the specified or all end-points in the specified MD:
clear cfm ccm-database md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} [mep mep-id]
Clear the CCM database for the specified or all endpoints in the specified MA:
clear cfm ccm-database md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} [mep mep-id]
Clear the CCM database for the specified end-point:
clear cfm ccm-database md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} ma {string-name name | vid-name vlan | id-name id | index index} mep mep-id

Parameters

md Specifies an MD context.
ma Specifies an MA context.
string-name name Specifies the MD or MA string name of the CCM database to clear. Valid values are up to 43 printable characters.
dns-like-name dns-name Specifies the MD DNS like string name of the CCM database to clear. Valid values are up to 43 printable characters.
mac-int-name mac-name Specifies the MD MAC address formatted string name of the CCM database to clear. A valid value is a MAC address formatted string plus an integer index ID value separated by a period (.) in the format xx-xx-xx-xx-xx-xx.ID or xx:xx:xx:xx:xx:xx.ID, where x is a hex value and the ID range is 0 - 65535.
no-name Specifies the NULL string named MD of the CCM database to clear.
index index Specifies the MD index value or the MA index of the CCM database to clear.
vid-name vlan Specifies the MA VLAN ID name of the CCM database to clear.
id-name id Specifies the MA ID name of the CCM database to clear.
index index Specifies the MA index value of the CCM database to clear.
mep mep-id (Optional) Specifies a maintenance end-point of the CCM database to clear.

Defaults

If the mep option is not specified, the CCM database for all end-points in the specified context are cleared.

Mode

All command modes.

Usage

This command only clears MEP database entries. MIP database entries are not affected.

Example

This example how to clear the CCM database for all end-points in the myMA1 maintenance association:

System(rw)->clear cfm ccm-database md string-name myMD1 ma string-name myMA1
System(rw)->