170 Ethernet Configuration Commands
Example
The following example enables back pressure on port 1/e5.
clear counters
The clear counters User EXEC mode command clears statistics on an interface.
Syntax
•
clear counters
[
ethernet
interface
|
port-channel
port-channel-number
]
•
interface —
Valid Ethernet port.
(Full syntax:
unit/port
)
•
port-channel-number —
Valid port-channel number.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example clears the counters for interface 1/e1.
set interface active
The set interface active Privileged EXEC mode command reactivates an interface that was shutdown.
Syntax
•
set interface active
{
ethernet
interface
|
port-channel
port-channel-number
}
•
interface
— Valid Ethernet port. (Full syntax:
unit/port
)
•
port-channel-number —
Valid port-channel number.
Console(config)# interface ethernet 1/e5
Console(config-if)# back-pressure
Console> clear counters ethernet 1/e1
book.book Page 170 Thursday, December 18, 2008 7:40 PM