clear elsm ports counters

clear elsm {ports port_list} counters

Description

Clears the statistics gathered by ELSM for the specified ports or for all ports.

Syntax Description

port_list Specifies the ELSM-enabled ports for which ELSM statistics are being cleared.

Default

N/A.

Usage Guidelines

You should view the ELSM statistics and counters before you clear them. To view ELSM-specific counter information, use the show elsm ports all | port_list command. To view summary ELSM information, including the ports configured for ELSM, use the show elsm command.

Use this command to clear only the ELSM-related counters. To clear all of the counters on the switch, including those related to ELSM, use the clear counters command.

Viewing and maintaining statistics on a regular basis allows you to see how well your network is performing. If you keep simple daily records, you will see trends emerging and notice problems arising before they cause major network faults. By clearing the counter, you can see fresh statistics for the time period you are monitoring.

Example

The following command clears the statistics gathered by ELSM for slot 2, ports 1-2:
clear elsm ports 2:1-2:2 counters

History

This command was first available in ExtremeXOS 11.4.

Platform Availability

This command is available on all platforms.