Troubleshooting tools
Hardware tools
The cable build chain: snips and cutters, strippers, crimpers, then testers (continuity plus pinout).
Wire map faults: open pair (a conductor not connected), shorted pair (the pair’s wires touch), short between pairs, reverse pair (wires flipped within a pair), cross pair (a whole pair lands on another pair’s pins), split pair (one wire crosses into an adjacent pair).
Cable certifiers report category, throughput, and length. Multimeters check voltage, amperage, and resistance. Punchdown tools terminate on blocks.
A tone generator and probe traces unlabeled runs in walls, and loopback adapters test transmit and receive (different ones for Ethernet vs fiber).
A TDR finds breaks in copper, with distance; an OTDR does fiber. Fiber light meters measure attenuation (LED-based for multimode, laser for single-mode). Fusion splicers permanently join fiber.
TAPs copy packets for analysis. Spectrum analyzers plot amplitude (y) against frequency (x).
Software tools
Wi-Fi analyzers (surveys, SSID and signal and channel, coverage maps), protocol analyzers and packet capture (Wireshark, tcpdump), bandwidth speed testers (real throughput), port scanners (Nmap: open, closed, filtered), NetFlow analyzers (traffic flow, capacity planning), and IP scanners (device discovery, rogue hunting).
Host commands
ipconfig(Windows):/allfor full detail,/releaseand/renewfor DHCP.ifconfig(Unix/macOS) is deprecated;ipis the modern replacement:ip a(show),ip a add <ip> dev eth0,ip link set dev eth0 down/up, with MAC changes and promiscuous mode viaip link set.ping: connectivity plus latency. Windows sends 4 by default (-tcontinuous,-n <count>); Linux runs continuous (-c <count>).-6for IPv6.traceroute/tracert: shows every hop using TTL expiry. Timeouts often just mean a hop ignores ICMP.nslookup(interactive and non-interactive DNS queries),dig(Unix DNS queries, non-interactive),hostname.arp -aviews the cache,arp -dclears it,arp -sadds a static mapping (entries age out after about 21,600 s, 6 hours).netstat: sessions with protocol, local and foreign address, state.-aall sockets,-nnumeric,-anoadds the PID (pair withtasklistto finger the process, handy for malware hunting),-sper-protocol statistics.tcpdump: CLI packet capture (native on Unix), writing PCAP files that load into Wireshark.nmap: host discovery, port scanning, service and OS fingerprinting, network mapping, rogue device identification.
The escalation ladder when things break: ping a website, then ping 8.8.8.8 (DNS vs connectivity), then the default gateway (local network), then your own IP (NIC and drivers).
Network device commands
Vendor CLIs differ but rhyme (Cisco’s the reference point; full syntax in my Cisco CLI reference):
show interface ! status, bandwidth, MTU, errors, collisions
show config ! running system configuration
show ip route ! routing table, gateway of last resort, AD/metric
show mac address-table ! MAC-to-port mappings on a switch
show arp ! IP-to-MAC, spot ARP poisoning
show vlan ! VLAN numbers, names, status, ports
show power ! PoE allocation per portDiscovery protocols
LLDP (802.1AB, the open standard) has devices advertise identity, capabilities, and ports across vendors. CDP (Cisco proprietary) gives richer detail in Cisco shops: model, IP, interfaces, power draw.
Both build accurate topology and inventory and expose rogue devices. But restrict who can read them: misconfiguration hands your topology to attackers.