C
HAPTER
30
| Interface Commands
– 776 –
speed-duplex This command configures the speed and duplex mode of a given interface
when auto-negotiation is disabled. Use the no form to restore the default.
SYNTAX
speed-duplex {1000full | 100full | 100half | 10full | 10half}
no speed-duplex
1000full - Forces 1 Gbps full-duplex operation
100full - Forces 100 Mbps full-duplex operation
100half - Forces 100 Mbps half-duplex operation
10full - Forces 10 Mbps full-duplex operation
10half - Forces 10 Mbps half-duplex operation
DEFAULT SETTING
◆ Auto-negotiation is enabled by default on the Gigabit ports.
◆ When auto-negotiation is disabled on the Gigabit ports, the default
speed-duplex setting is 100full.
◆ The speed-duplex setting on the 10 Gigabit ports is fixed at 10Gfull
regardless of the setting for auto-negotiation.
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
◆ The 1000BASE-T standard does not support forced mode. Auto-
negotiation should always be used to establish a connection over any
1000BASE-T port or trunk. If not used, the success of the link process
cannot be guaranteed when connecting to other types of switches.
◆ To force operation to the speed and duplex mode specified in a speed-
duplex command, use the no negotiation command to disable auto-
negotiation on the selected interface.
◆ When using the negotiation command to enable auto-negotiation, the
optimal settings will be determined by the capabilities command. To set
the speed/duplex mode under auto-negotiation, the required mode
must be specified in the capabilities list for an interface.
EXAMPLE
The following example configures port 5 to 100 Mbps, half-duplex
operation.
Console(config)#interface ethernet 1/5
Console(config-if)#speed-duplex 100half
Console(config-if)#no negotiation
Console(config-if)#