Hone

Lessons · Network switches · duplex and speed

The link that works badly rather than failing

Auto-negotiation needs a partner. Fix one end and leave the other on auto, and the auto end falls back to half duplex: the link comes up and runs badly.

Hone is a place to practise programming. This is one of its lessons, written out in full and free to read without an account.

What it is for

It is the hardest kind of fault, because nothing is down. Throughput is a fraction of what it should be, errors climb, and everything reports as connected.

How to think about it

Both ends auto, or both ends fixed to the same thing. Never one of each. `show interfaces status` prints `a-` in front of anything it negotiated, and that prefix is the diagnosis.

Worked example

enable
The # prompt.
configure terminal
Into configuration mode.
interface gi0/3
The suspect port.
duplex half
Forced, the way somebody 'fixed' it once.
speed 100
And forced again.
end
Out.
show interfaces status
Gi0/3 reads half and 100 with no a- in front. No prefix means forced, and forced against an auto partner is the fault.
configure terminal
Back in.
interface gi0/3
The same port.
no duplex
Back to auto.
no speed
And auto.
end
Out.
show interfaces status
a-full and a-1000 now. The prefix says it negotiated, which is what both ends should be doing.

Your turn

Put the duplex setting back to automatic.

 duplex

The trap

Fixing one end to 'make it stable'. That guarantees the mismatch on the other end unless somebody remembers to go and fix it too, and nobody writes that down.

Practise duplex and speed on HoneA question on it now, a coding challenge where there is one, and it is remembered for review. Free, no email needed.