Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
291
32. Interface Commands
32-1 clear counters
This command is used to clear counters for a physical port interface.
clear counters {all | interface INTERFACE-ID [,|-]}
Parameters
all
Specifies to clear counters for all interfaces.
INTERFACE-ID
Specifies the interface ID to clear the counter.
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 eth1/0/1
Switch#
32-2 description
This command is used to add a description to an interface.
description STRING
no description
Parameters
STRING
Specifies a description for an interface with a maximum of 64
characters.
Default
None.
Command Mode
Interface Configuration Mode.