Pcornel
Networking · Network Fundamentals

Network Components & Topologies

Cheat sheet · https://pcornel.dk/topic.php?topic=145

Back to the Topic

Answer

A network is built from a few device roles — switches connect devices within a network, routers connect networks, firewalls filter between them, access points attach wireless clients — arranged in a known pattern: two-tier, three-tier, spine-leaf, or a small office with one box doing everything.

Remember

Layer 2 switches forward by MAC address inside a VLAN; routers and Layer 3 switches forward by IP address between networks. Three-tier is access, distribution, core; two-tier collapses distribution and core. In spine-leaf every leaf connects to every spine, so any two leaves are two hops apart.

First checks

  • show cdp neighbors detail / show lldp neighbors detail — what is connected to each port: name, model, address.
  • show version — the device's model and software.
  • show ip interface brief — its interfaces and addresses.
  • show ip route — does it route (many networks) or only switch?
  • traceroute <destination> — the routers on the path.

Commands

show cdp neighbors detail
Display Cisco neighbor information.
show lldp neighbors detail
Display LLDP neighbor information.
show version
show inventory
show ip interface brief
show ip route
show power inline
traceroute <destination>
traceroute
show cdp neighbors

Verify in this order

host → access switch (same VLAN: switched) → default gateway (first routing hop) → distribution/core or spine → firewall where zones meet → WAN or internet edge → destination's gateway → destination

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=145

Confirmation

Confirm action

Continue?