C
OMMAND
L
INE
I
NTERFACE
4-152
Command Usage
This command allows you to disable a port due to abnormal behavior
(e.g., excessive collisions), and then reenable it after the problem has
been resolved. You may also want to disable a port for security reasons.
Example
The following example disables port 5.
clear counters
This command clears statistics on an interface.
Syntax
clear counters
interface
interface
•
ethernet
unit
/
port
-
unit
- Stack unit. (Always unit 1)
-
port
- Port number. (Range: 1-30)
•
port-channel
channel-id
(Range: 1-6)
Default Setting
None
Command Mode
Privileged Exec
Command Usage
Statistics are only initialized for a power reset. This command sets the
base value for displayed statistics to zero for the current management
session. However, if you log out and back into the management
interface, the statistics displayed will show the absolute value
accumulated since the last power reset.
Console(config)#interface ethernet 1/5
Console(config-if)#shutdown
Console(config-if)#
Summary of Contents for 6152L2
Page 2: ......
Page 18: ...TABLES xiv ...
Page 32: ...INTRODUCTION 1 10 ...
Page 46: ...INITIAL CONFIGURATION 2 14 ...
Page 185: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 249: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 290: ...CONFIGURING THE SWITCH 3 244 ...
Page 303: ...COMMAND GROUPS 4 13 VC VLAN Database Configuration ...
Page 434: ...COMMAND LINE INTERFACE 4 144 ...
Page 568: ...TROUBLESHOOTING B 4 ...
Page 581: ......