interface
Syntax
interface <PORT-LIST> [disable|enable]
Description
Disables or enables the port for network traffic. Does not use the
no
form of the command. Defaults to
enable
. You can substitute
int
for
interface
(for example,
int
<PORT-LIST>
.)
Parameters and options
speed-duplex [auto-10|10-full|10-half|100-full|100-half|auto|auto-100|1000-full]
Specifies the port's data transfer speed and mode. Does not use the
no
form of the command. Default:auto
.The 10/100 auto-negotiation feature allows a port to establish a link with a port at the other end at either 10 Mbps or 100 Mbps, using the highest mutual speed and duplex mode available. Only these speeds are allowed with this setting.
10 Mbps and 100 Mbps is supported on half duplex mode when link parameter is configured as
100-full
and local as
auto
.
Configure port C5 for auto-10-100
switch# int c5 speed-duplex auto-10-100
Configure ports C1 through C3 and port C6 for 100Mbps full-duplex
switch# int c1-c3,c6 speed-duplex 100-full
switch# int e c6 switch(eth-C6#) speed-duplex 100-full