Configure the CFM CCM Statistics Function
To collect statistics about CFM CCMs sent and received on a device, configure the CFM CCM statistics function.
Pre-configuration Tasks
Before configuring the CFM CCM statistics function, configure basic CFM functions.
Procedure
- Run system-view
The system view is displayed.
- Run cfm ccm statistic enable
The CFM CCM statistics function is enabled globally.
- Run commit
The configuration is committed. The device starts to collect statistics about sent and received CFM CCMs.
- (Optional) Run display ccm-send statistics
The number of CFM CCMs sent by the device after the cfm ccm statistic enable command is run is displayed.
- (Optional) Run display ccm-recv statistics
The number of CFM CCMs received by the device after the cfm ccm statistic enable command is run is displayed.
- (Optional) Run reset ccm-send statistics
The statistics about CFM CCMs sent by the device are reset.
- (Optional) Run reset ccm-recv statistics
The statistics about CFM CCMs received by the device are reset.