19

I am studying for CCNA and on Wendell Odom's book is said that(regarding autonegotiation):

When autonegotiation fails on one node, to choose (half/full-duplex) we must use the rule:

  • If you have a 10/100 Mb/s interface -> use half-duplex
  • If you have a 1000 Mb/s interface-> use full-duplex

Why is that?

0

2 Answers 2

20

When autonegotiation fails on one node, to choose (half/full-duplex) we must use the rule:

  • If you have a 10/100 Mb/s interface -> use half-duplex
  • If you have a 1000 Mb/s interface-> use full-duplex

Why is that?

Summary

In brief, ethernet has been around since the 1980s... as a result

  • Old ethernet NICs only supported half duplex operation with no auto-negotiation. If you have auto-negotiation enabled in this situation, you must support all old NICs (which means falling back to half-duplex operation). Another answer mentions hubs, which also fall into this category.
  • Auto-negotiation is required by the 1GE spec; therefore, there is no point in forcing failure to half-duplex at 1GE speeds. 1GE auto-negotiation announces whether it is half / full-duplex capable.

These days, you should always try to use auto-negotiation unless you know the other port doesn't support it.

The table below may help explain the twisted history around auto-negotiation.

+------------+------+---------------+--------------+-----------------------+
| Standard   | Year | Speeds        | Media        | Auto-neg Status       |
+------------+------+---------------+--------------+-----------------------+
| 802.3i     | 1990 | 10M           | Twisted Pair | No auto-negotiation   |
+------------+------+---------------+--------------+-----------------------+
| 802.3u     | 1995 | 10/100M       | Twisted Pair | Optional, not trusted |
+------------+------+---------------+--------------+-----------------------+
| 802.3-1998 | 1998 | 100/100M      | Twisted Pair | Optional              |
+------------+------+---------------+--------------+-----------------------+
| 802.3ab    | 1999 | 10/100/1000M  | Twisted Pair | Optional @ 10/100M    |
|            |      |               |              | Required @ 1Gbps      |
+------------+------+---------------+--------------+-----------------------+

Impact of Duplex Mismatches:

Regarding Cisco's practice of falling back to half-duplex when auto-negotiation fails... One could rightfully object that falling back to half-duplex if auto-negotiation fails introduces a misconfiguration; however, the misconfiguration is tolerable. The worst that can happen in this situation is you get manually hard coded full-duplex on one side of a FastEthernet link, and auto-negotiation failing to half duplex on the other side of the link... the mismatched duplex causes link-level errors (collisions and runts), but you still can communicate pretty well, as long as you arent trying to exceed about one third of the link speed (i.e about 35Mbps on FastEthernet).

Potentially interesting details:

Original FastEthernet Auto-negotiation == bad juju

People had such bad experiences with early auto-negotiation in IEEE 802.3u (FastEthernet) that conventional wisdom was to disable auto-negotiation, and lock speed / duplex manually on all ethernet copper ports.

This practice of disabling auto-negotiation on all copper ports became so entrenched in old-timer's minds that it's still not unusual to find locked speed / duplex on Cat5e / Cat6 today, even though industry auto-negotiation implementations have reliable for over a decade. FYI, some ISPs still force 100M / full on their customer circuits under the misguided assumption that manual speed / duplex is more reliable.

Vendor support for advertising specific 1GE duplex modes

Auto-negotiation is required as part of IEEE 802.3ab (Gigabit Ethernet over copper); however, you still find some vendor implementations that permit you to hard-code GigE speed / duplex... I have seen some JunOS switches that permit full-duplex configuration on 1GE switch ports. Does this mean that the JunOS switch disables auto-negotiation on that 1GE port? No, this effectively means JunOS only advertises the configured speed / duplex during auto-negotiation.

Update for @ytti's question: Ethernet line conditioning

1GE auto-negotiation includes (quoting 802.3-2012, Clause 40.5.1):

Auto-negotiation is required by 802.3ab at 1GE, because GigabitEthernet auto-negotiation includes special line conditioning; this conditioning happens during the TRAINING mode of the MASTER/SLAVE PHY startup; the TRAINING mode ensures the line is stable enough to push 1000Mbps over Cat5e runs up to 100m long.

9
  • 2
    I'd like to read more on this auto-negotiation 'line conditioning', do you have link for it? Preferably page in 802.3 section three. Fully agreed that autonego should be used, unfortunately many telcos are still in 90s mind-set and products mandate no-autonego. Another good argument to try to convince them is that autonego provides RFI (Remote Fault Indication), which will cause both ends to go down, when one end is not receiving but can still send.
    – ytti
    Aug 19, 2013 at 6:44
  • 2
    @ytti, 802.3 generically refers to the line conditioning as TRAINING. TRAINING is part of the MASTER-SLAVE PHY negotiation that happens during auto-negotiation. You can find reference to MASTER-SLAVE negotiation in 802.3-2012, Section 3, Clause 40.5.1 (which describes all the auto-negotiation functions). To find more about training, search the 802.3-2012 PDFs for "TRAINING" Aug 19, 2013 at 9:17
  • Thanks, I was aware of clock election in ethernet. Thought line conditioning was something else.
    – ytti
    Aug 19, 2013 at 9:47
  • 2
    Master / Slave PHY startup includes what is called the Decision Feedback Equalizer (DFE - Ref 802.3-2012, Section 3, Clause 40.4.2.4); the DFE works along side other functions for Echo Cancellation / Near-End Cross-Talk (NEXT) Cancellation Aug 19, 2013 at 10:01
  • you're most welcome... it was a good refresher to surf through the 802.3 docs... Aug 19, 2013 at 10:59
12

When autonegotiation fails on one node, to choose (half/full-duplex) we must use the rule: ->If you have a 10/100 Mb/s interface -> use half-duplex

In the event that a hub is connected, a default of full duplex would cause too many collisions. A default of half duplex ensures communications continue regardless of the connected device (Switch or hub)

->If you have a 1000 Mb/s interface-> use full-duplex

The 1000Base-T standard was designed to require auto-negotiation, as well as a switched layer 2 domain (no hubs). This is because all four pairs need to communicate in full duplex at 250Mbps. As such, it is assumed that no hubs exist on the connection for the purpose of bidirectional communication.

1
  • BTW, hubs are a good reason for falling back to half-duplex, but it's not just hubs... early 10/100M NICs did not auto-negotiate at all... and the early FastEthernet auto-negotiation implementations were unreliable. Aug 18, 2013 at 22:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.