24-1
Chapter 24: 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-28)
• port-channel channel-id (Range: 1-32)
• vlan vlan-id (Range: 1-4093)
Default Setting
None
Table 24-1 Interface Commands
Command Function Mode Page
interface Configures an interface type and enters interface configuration
mode
GC 24-1
description Adds a description to an interface configuration IC 24-2
speed-duplex Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
IC 24-2
negotiation Enables autonegotiation of a given interface IC 24-3
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC 24-4
flowcontrol Enables flow control on a given interface IC 24-5
media-type Force port type selected for combination ports IC 24-6
shutdown Disables an interface IC 24-6
switchport packet-rate Configures broadcast and multicast storm control thresholds IC 24-7
switchport block Prevents flooding of unknown unicast or multicast packets IC 24-8
clear counters Clears statistics on an interface PE 24-8
show interfaces status Displays status for the specified interface NE, PE 24-9
show interfaces
counters
Displays statistics for the specified interfaces NE, PE 24-10
show interfaces
switchport
Displays the administrative and operational status of an
interface
NE, PE 24-11