Shared media
Cheat sheet · https://pcornel.dk/topic.php?topic=893
Answer
Shared media means several devices share one collision domain (hubs, old coax), so they run half duplex and use CSMA/CD; it is obsolete in switched networks.
Remember
On shared media (hubs, old coax) only one device can send at a time; CSMA/CD detects collisions and retries. Switches give every port its own collision domain. Collisions on a modern switch port almost always mean a duplex mismatch.
First checks
show interfaces status— connected, speed, duplex, VLAN and media type per port.show interfaces <if>— line/protocol state, input errors, CRC, collisions, last change.show interfaces <if> counters errors— FCS, alignment, runts and late collisions.test cable-diagnostics tdr interface <if>thenshow cable-diagnostics tdr interface <if>— pair status and fault distance (supported copper ports).show interfaces transceiver detail— optical levels on fibre ports.show logging | include LINK|DUPLEX— link flaps and duplex mismatches.
Commands
show interfaces status
Verify in this order
dedicated switch port → full duplex on both ends → no CSMA/CD → no collisions
Where it usually breaks
media/optics → administrative state → carrier/line protocol → negotiation → error/drop counters → neighbor discovery → upper-layer adjacency
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=893