Autonegotiation Speed and Duplex

By default, each Cisco switch port uses Ethernet auto-negotiation to determine the speed and duplex setting (half or full). The switches can also set their duplex setting with the duplex interface subcommand, and their speed with—you guessed it—the speed interface subcommand.

Switches can dynamically detect the speed setting on a particular Ethernet segment by using a few different methods. Cisco switches (and many other devices) can sense the speed using the Fast Link Pulses (FLP) of the auto-negotiation process. However, if auto-negotiation is disabled on either end of the cable, the switch detects the speed anyway based on the incoming electrical signal. You can force a speed mismatch by statically configuring different speeds on either end of the cable, causing the link to no longer function.

Switches detect duplex settings through auto-negotiation only. If both ends have auto-negotiation enabled, the duplex is negotiated. However, if either device on the cable disables auto-negotiation, the devices without a configured duplex setting must assume a default. Cisco switches use a default duplex setting of half duplex (HDX) (for 10-Mbps and 100-Mbps interfaces) or full duplex (FDX) (for 1000-Mbps interfaces). To disable auto-negotiation on a Cisco switch port, you simply need to statically configure the speed and the duplex settings.

Ethernet devices can use FDX only when collisions cannot occur on the attached cable; a collision-free link can be guaranteed only when a shared hub is not in use. The next few topics review how Ethernet deals with collisions when they do occur, as well as what is different with Ethernet logic in cases where collisions cannot occur and FDX is allowed.

Continue reading here: Collision Domains and Switch Buffering

Was this article helpful?

+4 -2

Readers' Questions

  • Jasmine Gamgee
    How a cisco switchport auto negotiates speed?
    4 months ago
  • When a Cisco switchport is configured to auto negotiate speed, the port will initially send out a Fast Link Pulse (FLP) message. This message contains the switchport's capabilities, such as supported speeds and duplex settings. When a connected device (such as a computer or another switch) receives the FLP message, it will respond by sending a message with its own capabilities. Both devices will then compare their capabilities and settle on the highest speed and duplex setting that both devices can support.
    • teodros osman
      How can change negotiation in cisco switch?
      1 year ago
    • Cisco switches can be configured with negotiation settings such as auto-negotiation or noauto-negotiation. To change the negotiation setting, use the interface command media-type or the speed and duplex settings. For example, to enable auto-negotiation on a Fast Ethernet port, you can use the command “media-type auto”. To set the speed and duplex to 10Mbps/half duplex, use the command “speed 10” and “duplex half”.
      • karolin
        How to disable autonegotiation of duplex on an interface on cisco?
        1 year ago