– 349 –
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 69: 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
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
clear counters Clears statistics on an interface 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 periodic sampling of statistics, including the
sampling interval, number of samples, and counter values
NE, 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
Transceiver Threshold Configuration
transceiver-monitor Sends a trap when any of the transceiver’s operational
values fall outside specified thresholds
IC
transceiver-threshold-auto Uses default threshold settings obtained from the
transceiver to determine when an alarm or trap message
should be sent
IC