Interface Commands
4-135
4
Interface Commands
These commands are used to display or set communication parameters for an
Ethernet port, aggregated link, or VLAN.
interface
This command configures an interface type and enter interface configuration mode.
Use the no form to remove a trunk.
Syntax
interface interface
no interface port-channel channel-id
interface
• ethernet unit/port
- unit - Stack unit. (Always unit 1)
- port - Port number. (Range: 1-24)
• port-channel channel-id (Range: 1-8)
• vlan vlan-id (Range: 1-4093)
Default Setting
None
Table 4-2 Interface Commands
Command Function Mode Page
interface Configures an interface type and enters interface configuration
mode
GC 4-135
description Adds a description to an interface configuration IC 4-136
speed-duplex Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
IC 4-136
negotiation Enables autonegotiation of a given interface IC 4-137
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC 4-138
flowcontrol Enables flow control on a given interface IC 4-139
media-type Force port type selected for combination ports IC 4-140
shutdown Disables an interface IC 4-141
switchport packet-rate Configures broadcast and multicast and unknown unicast storm
control thresholds
IC 4-141
clear counters Clears statistics on an interface PE 4-142
show interfaces status Displays status for the specified interface NE, PE 4-143
show interfaces
counters
Displays statistics for the specified interfaces NE, PE 4-144
show interfaces
switchport
Displays the administrative and operational status of an
interface
NE, PE 4-145