Справочник Пользователя для Cisco Systems 3750E
11-39
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-02
Chapter 11 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
Clearing and Resetting Interfaces and Counters
lists the privileged EXEC mode clear commands that you can use to clear counters and reset
interfaces.
To clear the interface counters shown by the show interfaces privileged EXEC command, use the clear
counters privileged EXEC command. The clear counters command clears all current interface counters
from the interface unless you specify optional arguments that clear only a specific interface type from a
specific interface number.
counters privileged EXEC command. The clear counters command clears all current interface counters
from the interface unless you specify optional arguments that clear only a specific interface type from a
specific interface number.
Note
The clear counters privileged EXEC command does not clear counters retrieved by using Simple
Network Management Protocol (SNMP), but only those seen with the show interface privileged EXEC
command.
Network Management Protocol (SNMP), but only those seen with the show interface privileged EXEC
command.
show interfaces [interface-id] description
Display the description configured on an interface or all interfaces and
the interface status.
the interface status.
show ip interface [interface-id]
Display the usability status of all interfaces configured for IP routing
or the specified interface.
or the specified interface.
show interface [interface-id] stats
Display the input and output packets by the switching path for the
interface.
interface.
show interfaces interface-id
(Optional) Display speed and duplex on the interface.
show interfaces transceiver properties
(Optional) Display temperature, voltage, or amount of current on the
interface.
interface.
show interfaces [interface-id] [{transceiver
properties | detail}] module number]
properties | detail}] module number]
Display physical and operational status about an SFP module.
show running-config interface [interface-id]
Display the running configuration in RAM for the interface.
show version
Display the hardware configuration, software version, the names and
sources of configuration files, and the boot images.
sources of configuration files, and the boot images.
show controllers ethernet-controller interface-id
phy
phy
Display the operational state of the auto-MDIX feature on the
interface.
interface.
show power inline [interface-id | module
switch-number]
switch-number]
Display PoE status for a switch or switch stack, for an interface, or for
a specific switch in the stack.
a specific switch in the stack.
show power inline consumption default
Display the power consumption data.
show power inline police
Display the power policing data.
Table 11-6
Show Commands for Interfaces (continued)
Command
Purpose
Table 11-7
Clear Commands for Interfaces
Command
Purpose
clear counters [interface-id]
Clear interface counters.
clear interface interface-id
Reset the hardware logic on an interface.
clear line [number | console 0 | vty number]
Reset the hardware logic on an asynchronous serial line.