9 clear counters – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 64

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 64 of 855

None

Examples

The following example set the bandwidth of the port.
Switch(config-if)# bandwidth 1000
The following example returns the bandwidth to default value.
Switch(config-if)# no bandwidth

Related Commands

duplex
speed

4.9 clear counters

Use this command to clear the counters on the interface

Command Syntax

clear counters [interface]

The clear counters command clears all current interface counters from the interface unless you
specify optional arguments that clear only a specific interface type from a specific interface number.
interface: the interface name

Command Mode

Privileged Exec mode

Usage

None

Examples

The following example clears the counters on all interfaces.
Switch# clear counters
The following example clears the counters on the interface eth-0-1.
Switch# clear counters eth-0-1
The following example clears the counters on the agg1.
Switch# clear counters agg1

Related Commands

None


Advertising