clear cos violation (S-, K-Series)

Use this command to clear Class of Service violation statistics.

Syntax

clear cos violation {irl | flood-ctrl} {all | disabled-ports port-list | violation-index} {both | status | counter}

Parameters

irl | flood-ctrl Specifies the type of limiter statistics to clear:
  • irl – inbound rate limiter
  • flood-ctrl – flood control
all Clears all limiting violation entries for the specified limiter.
disabled-ports 
port-list Clears the list of ports that are disabled because of violating the specified rate limiter.
violation-index Clears the entry for a specific violation index.
both | status | counter Clears the violation status, the violation counter, or both.

Defaults

If no options are specified, all information for all types of CoS violations will be cleared.

Mode

All command modes.

Example

This example shows how to clear both status and counters from all CoS inbound rate limiting violation entries:

System(rw)->clear cos violation irl all both