C
HAPTER
27
| Interface Commands
Interface Configuration
– 985 –
EXAMPLE
In this example, “Default” means that the packets are not discarded.
Console#show discard
Port CDP PVST
-------- ------- -------
Eth 1/ 1 Default Default
Eth 1/ 2 Default Default
Eth 1/ 3 Default Default
Eth 1/ 4 Default Default
Eth 1/ 5 Default Default
Eth 1/ 6 Default Default
.
.
.
show interfaces
brief
This command displays a summary of key information, including
operational status, native VLAN ID, default priority, speed/duplex mode,
and port type for all ports.
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show interfaces brief
Interface Name Status PVID Pri Speed/Duplex Type Trunk
--------- ------------------ -------- ---- --- ------------- ------------ ---
Eth 1/ 1 Up 1 0 Auto-100full 100TX None
Eth 1/ 2 Down 1 0 Auto 100TX None
Eth 1/ 3 Down 1 0 Auto 100TX None
Eth 1/ 4 Down 1 0 Auto 100TX None
Eth 1/ 5 Down 1 0 Auto 100TX None
Eth 1/ 6 Down 1 0 Auto 100TX None
.
.
.
show interfaces
counters
This command displays interface statistics.
SYNTAX
show interfaces counters [interface]
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
port-channel channel-id (Range: 1-12)
DEFAULT SETTING
Shows the counters for all interfaces.