clear cfm counters

Use this command to clear the MEP counters for a specified MEP or all end-points for the specified context.

Syntax

Clear the MEP counters for the specified or all end-points in the specified MD:
clear cfm counters md {string-name name | dns-like-name dns-name | mac-int-name mac-name | no-name | index index} [mep mep-id]
Clear the MEP counters for the specified or all endpoints in the specified MA:
clear cfm counters 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 MEP counters for the specified end-point:
clear cfm counters 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 MA or MA string name of the MEP counters to clear. Valid values are up to 43 printable characters.
dns-like-name dns-name Specifies the MD DNS like string name of the MEP counters 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 MEP counters 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 MEP counters to clear.
index index Specifies the MD index value or the MA index of the MEP counters to clear.
vid-name vlan Specifies the MA VLAN ID name of the MEP counters to clear.
id-name id Specifies the MA ID name of the MEP counters to clear.
index index Specifies the MA index value of the MEP counters to clear.
mep mep-id (Optional) Specifies a MEP of the MEP counters to clear.

Defaults

If the mep option is not specified, all end-point counters for the specified context are cleared.

Mode

All command modes.

Examples

This example how to clear the CCM database for all end-points in the myMaintenanceAssocation:

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