Chapter 45: Interface Commands
These commands are used to display or set communication parameters for an
Ethernet port, aggregated link, or VLAN.
Command
interface
description
speed-duplex
negotiation
capabilities
flowcontrol
media-type
shutdown
clear counters
show interfaces status Displays status for the specified interface
show interfaces
counters
show interfaces
switchport
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: Always 1)
- port - Port number. (Range: 1-24/48)
• port-channel channel-id (Range: 1-24)
• vlan vlan-id (Range: 1-4093)
Default Setting
None
Table 45-1 Interface Commands
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
Disables an interface
Clears statistics on an interface
Displays statistics for the specified interfaces
Displays the administrative and operational status of an
interface
Mode
Page
GC
45-1
IC
45-2
IC
45-2
IC
45-3
IC
45-4
IC
45-5
IC
45-6
IC
45-6
PE
45-7
NE, PE
45-8
NE, PE
45-9
NE, PE
45-10
45-1