27-1
Chapter 27: 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 with a trunk to remove an inactive interface.
Syntax
interface interface
no interface port-channel channel-id
interface
• ethernet unit/port
- unit - Stack unit. (Range: 1-8)
- port - Port number. (Range: 1-26/50)
• port-channel channel-id (Range: 1-32)
• vlan vlan-id (Range: 1-4093)
Table 27-1 Interface Commands
Command Function Mode Page
interface Configures an interface type and enters interface configuration
mode
GC 27-1
description Adds a description to an interface configuration IC 27-2
speed-duplex Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
IC 27-3
negotiation Enables autonegotiation of a given interface IC 27-4
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC 27-4
flowcontrol Enables flow control on a given interface IC 27-5
media-type Force port type selected for combination ports IC 27-6
shutdown Disables an interface IC 27-7
switchport broadcast
packet-rate
Configures the broadcast storm control threshold IC 27-7
clear counters Clears statistics on an interface PE 27-8
show interfaces status Displays status for the specified interface NE, PE 27-9
show interfaces
counters
Displays statistics for the specified interfaces NE, PE 27-10
show interfaces
switchport
Displays the administrative and operational status of an
interface
NE, PE 27-11