149
Example:
Opening ports 1/1-8.
Switch(Config)#interface ethernet1/1-8
Switch(Config-Port-Range)#no shutdown
4.2.1.2.13 speed-duplex
Command:speed-duplex {auto | force10-half | force10-full | force100-half |
force100-full | { {force1g-half | force1g-full} [nonegotiate [master |
slave]] } }
no speed-duplex
Function:
Sets the speed and duplex mode for 1000Base-TX or 100Base-TX ports; the
“
no speed-duplex
” command restores the default speed and duplex mode setting, i.e.,
auto speed negotiation and duplex.
Parameters:
auto
for auto speed negotiation;
force10-half
for forced 10Mbps at
half-duplex;
force10-full
for forced 10Mbps at full-duplex mode;
force100-half
for forced
100Mbps at half-duplex mode;
force100-full
for forced 100Mbps at full-duplex mode;
force1g-half
for forced 1000Mbps at half-duplex mode;
force1g-full
for forced
1000Mbps at full-duplex mode;
nonegotiate
for disable auto-negotiation for 1000 Mb
port;
master
to force the 1000Mb port to be
master
mode;
slave
to force the 1000Mb
port to be
slave
mode.
Command mode:
Port configuration Mode
Default:
Auto-negotiation for speed and duplex mode is set by default.
Usage Guide:
This command applies to 1000Base-TX or 100Base-TX ports only.
speed-duple
x command is not available for 1000Base-X port. For combo port, this
command applies to the 1000Base-TX port only and has no effect on 1000Base-X port.
To change the negotiation mode of 1000Base-X port, use
negotiation
command instead.
When configuring port speed and duplex mode, the speed and duplex mode must be the
same as the setting of the remote end, i.e., if the remote device is set to auto-negotiation,
then auto-negotiation should be set at the local port. If the remote end is in forced mode,
the same should be set in the local end.
1000Gb ports are by default
master
when configuring
nonegotiate
mode. If one end is
set to
master
mode, the other end must be set to
slave
mode.
force1g-half
Is not
supported yet.
Example:
Port 1 of Switch 1 is connected to port 1 of SwitchB, the following will set both
ports in forced 100Mbps at half-duplex mode.
SwitchA(Config)#interface e1/1
SwitchA(Config-Ethernet1/1)#speed-duplex force100-half
SwitchB(Config)#interface e1/1
SwitchB(Config-Ethernet1/1)#speed-duplex force100-half