CLI Reference Guide-R04

Table Of Contents
– 407 –
11 Interface Commands
These commands are used to display or set communication parameters for an
Ethernet port, aggregated link, or VLAN; or perform cable diagnostics on the
specified interface.
Table 74: Interface Commands
Command Function Mode
Interface Configuration
interface Configures an interface type and enters interface
configuration mode
GC
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC
description Adds a description to an interface configuration IC
discard Discards CDP or PVST packets IC
flowcontrol Enables flow control on a given interface IC
history Configures a periodic sampling of statistics, specifying the
sampling interval and number of samples
IC
media-type Forces transceiver mode to use for SFP/SFP+ ports, or the
port type to use for combination RJ-45/SFP ports
IC
negotiation Enables autonegotiation of a given interface IC
shutdown Disables an interface IC
speed-duplex Configures the speed and duplex operation of a given
interface when autonegotiation is disabled
IC
switchport block Prevents flooding of broadcast, unknown multicast, or
unknown unicast packets
IC
switchport mtu Sets the maximum transfer unit for an interface IC
clear counters Clears statistics on an interface PE
show discard Displays if CDP and PVST packets are being discarded PE
show interfaces brief Displays a summary of key information, including
operational status, native VLAN ID, default priority, speed/
duplex mode, and port type
PE
show interfaces counters Displays statistics for the specified interfaces NE, PE
show interfaces history Displays statistical history for the specified interfaces PE
show interfaces status Displays status for the specified interface NE, PE
show interfaces switchport Displays the administrative and operational status of an
interface
NE, PE