21. Interface Commands
21-1
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: 12.
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 eth 1/0/1
Switch#
21-2
This command is used to add a description to an interface.
description STRING
no description
Parameters
STRING
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
DXS-1210 Series Smart Managed Switch CLI Reference Guide
clear counters
Specifies to clear counters for all interfaces.
Specifies the interface ID to clear the counter.
description
Specifies a description for an interface with a maximum of 64
characters.
157