Interface Commands

4-155

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. (Range: 1)
-port - Port number. (Range: 1-26/50)
port-channel channel-id (Range: 1-32)
vlan vlan-id (Range: 1-4094)
Default Setting
None
Table 4-48 Interface Commands
Command Function Mode Page
interface Configures an interface type and enters interface configuration
mode
GC 4-155
description Adds a description to an interface configuration IC 4-156
speed-duplex Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
IC 4-156
negotiation Enables autonegotiation of a given interface IC 4-157
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC 4-158
flowcontrol Enables flow control on a given interface IC 4-159
media-type Forces port type selected for combination ports IC 4-160
shutdown Disables an interface IC 4-160
switchport packet-rate Configures storm control thresholds IC 4-161
clear counters Clears statistics on an interface PE 4-162
show interfaces status Displays status for the specified interface NE, PE 4-163
show interfaces
counters
Displays statistics for the specified interfaces NE, PE 4-164
show interfaces
switchport
Displays the administrative and operational status of an
interface
NE, PE 4-165