interface

This command configures an interface type and ente r i nterface confi gura tion m ode .

Use the

no

form with a trunk to remove an inactive interface.

Syntax

interface interfac e

no interface

port-channel

channel-id

interface

ethernet unit/port

- unit - Stack unit. (Range: 1-8)

- port - Port number. (Rang e: 1-26/50 )

port-channel cha nnel-id (Range: 1-32)

vlan vlan-id (Range: 1-4093)

27-1

Chapter 27: Interface Commands

These commands are used to display or set communication parameters for an

Ethernet port, aggregated link, or VLAN.

Table 27-1 Interface Commands

Command
interface
description
speed-duplex
negotiation
capabilities
flowcontrol
media-type
shutdown
switchport broadcast
packet-rate
clear counters
show interfaces status
show interfaces
counters
show interfaces
switchport
Function
Configures an interface type and enters interface configuration
mode
Adds a description to an interface configuration
Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
Enables autonegotiation of a given interface
Advertises the capabilities of a given interface for use in
autonegotiation
Enables flow control on a given interface
Force port type selected for combination ports
Mode
GC
IC
IC
IC
IC
IC
IC
Page
27-1
27-2
27-3
27-4
27-4
27-5
27-6
27-7
27-7
27-8
27-9
27-10
27-11
Disables an interface IC
Configures the broadcast storm control threshold
Clears statistics on an interface
Displays status for the specified interface
Displays statistics for the specified interfaces
Displays the administrative and operational status of an
interface
IC
PE
NE, PE
NE, PE
NE, PE