16. Interface Commands
16-1 clear counters
This command is used to clear counters for a physical port interface.
clear counters {all | interface INTERFACE-ID [,|-]}
Parameters
all
INTERFACE-ID
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 1.
Usage Guideline
Use this command to clear counters for a physical port interface.
Example
This example shows how to clear the counters of interface eth1/0/1.
Switch# clear counters interface Ethernet 1/0/1
Switch#
16-2 description
This command is used to add a description to an interface.
description STRING
no description
Parameters
STRING
Default
None.
Command Mode
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
Specifies to clear counters for all interfaces.
Specifies the interface ID to clear the counter.
Specifies a description for an interface with a maximum of 64
characters.
82