Use it to read a network diagram, place a device in its role, or work out which devices a packet passes between two hosts.
Network Components & Topologies
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.
1. show cdp neighbors on the device nearest the host — what is upstream?
2. Repeat on each neighbour until the diagram is complete.
3. show ip route — which device is the default gateway, i.e. where does routing happen?
4. traceroute <destination> — the Layer 3 hops between the two hosts.
5. Mark on the path: where is traffic switched, routed, filtered?
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
Context & applicabilityCommon mistakes · platform/version boundaries
- "A Layer 3 switch is just a faster switch." It routes between VLANs and is usually the default gateway.
- "The firewall is the router." It may route, but its job is policy; do not assume either.
- "More links mean more redundancy." Only if they lead to different devices and do not share a single point of failure.
- "The cabling diagram shows who can reach whom." VLANs and routing decide that.
- "In spine-leaf, leaves connect to each other." Never; only to spines.
- "PoE works on any port with any device." The standard and the remaining power budget must cover the device.
Operational reference
Fast context before you go deeper.
show cdp neighbors detailShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show cdp neighbors detailShowDisplay Cisco neighbor information.
Use when: Topology discovery.
Quick note: Cisco-specific discovery.
IOS/IOS XE · mixedshow lldp neighbors detailShowDisplay LLDP neighbor information.
Use when: Vendor-neutral topology discovery.
Quick note: Useful with mixed vendors.
IOS/IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands & verification Verify boundary
| Command | Shows |
|---|---|
show cdp neighbors detail | Each directly connected Cisco device: name, model, port, address |
show lldp neighbors detail | The same for any vendor |
show version | Model, software, uptime |
show inventory | Chassis, modules and transceivers |
show ip interface brief | Interfaces and addresses |
show ip route | Whether and where the device routes |
show power inline | PoE: power used per port and the remaining budget |
traceroute <destination> | The routing devices on a path |
Step 2 Troubleshooting by ownership boundary Narrow the fault
Work along the path, asking at each device the question that fits its role.
1. Endpoint: does it have an address, mask and gateway?
2. Access switch: is the port up and in the right VLAN? Is the device's MAC address learned?
3. Gateway (Layer 3 switch or router): can the endpoint ping it? Does it have a route to the destination?
4. Core and WAN: traceroute — which is the last device that answers?
5. Firewall: is the flow permitted? The log says.
6. The far side: the same questions in reverse order, for the return path.
If only one device is affected, start at step 1; if a whole VLAN, at step 2–3; if a whole site, at step 4.
To learn an undocumented network: start at one switch, read show cdp neighbors, move to each neighbour and repeat; then find the gateways with show ip interface brief and show ip route.
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.
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.
ReferenceWhat it is1 section · depth on demand
What it is
A network is assembled from a small set of device roles — switches, routers, firewalls, access points, controllers, and the endpoints and servers they connect — arranged in a recognisable pattern. Knowing what each role does, and which pattern a network follows, tells you where a packet goes and which device to look at when it does not arrive.
ReferenceWhy it matters1 section · depth on demand
Components are roles, not boxes
Troubleshooting starts with a mental picture of the path: host, access switch, gateway, core, firewall, WAN. Each device on it makes a different kind of decision — by MAC address, by IP address, by policy — and so fails in a different way. The same roles appear in every network, whether as separate boxes or combined in one, so the picture transfers from a small office to a data centre.
ReferenceHow it works2 sections · depth on demand
How it works
The roles.
| Component | What it does | Decides by |
|---|---|---|
| Endpoint, server | Sends and receives data | — |
| Layer 2 switch | Connects devices in the same VLAN | Destination MAC address |
| Router | Connects IP networks; chooses the path | Destination IP address |
| Layer 3 switch | A switch that also routes between VLANs, at hardware speed | MAC within a VLAN, IP between them |
| Firewall (NGFW) | Permits or denies traffic between zones; tracks connections; can recognise applications and users | Policy |
| IPS | Inspects permitted traffic for attacks and blocks them | Signatures and behaviour |
| Access point | Connects wireless clients to the wired network | — |
| Wireless LAN controller | Configures and coordinates many access points | — |
| Controller (Catalyst Center, SD-WAN manager) | Central configuration, monitoring and automation of network devices | — |
A role is a function, not a box: a home router is router, switch, access point and firewall in one; a campus core switch is mostly a router.
Power over Ethernet. A switch can power access points, phones and cameras over the data cable.
| Standard | Name | Power at the switch port |
|---|---|---|
| 802.3af | PoE | 15.4 W |
| 802.3at | PoE+ | 30 W |
| 802.3bt | PoE++ / UPOE | 60 W or 90 W |
The switch has a total power budget; when it is exhausted, further devices get no power.
Following a packet. From a client to a server in another network: the access switch forwards the frame to the default gateway by MAC address; the gateway routes by IP address towards the destination network, hop by hop; a firewall on the way checks policy; the last router delivers the packet into the server's VLAN, where a switch forwards it by MAC address again.
How enterprise components divide responsibility
Routers make Layer-3 forwarding decisions between IP networks; Layer-2 and multilayer switches provide endpoint and campus connectivity; next-generation firewalls add stateful security/policy; IPS functions inspect traffic for attack patterns; controllers centralize policy or control information; access points bridge wireless clients into the wired policy domain; endpoints and servers consume or provide services.
When troubleshooting, identify which component owns the failed decision before changing configuration. A switch can have a healthy VLAN while the default gateway, firewall policy or server is still the failing step.
ReferenceImportant terms & boundaries3 sections · depth on demand
Important terms & boundaries
| Term | Meaning |
|---|---|
| Access layer | Where endpoints connect; VLAN assignment, PoE, port security |
| Distribution layer | Aggregates access switches; default gateways, routing between VLANs, filtering |
| Core layer | High-speed backbone between distribution blocks |
| Collapsed core | Distribution and core in one layer |
| Spine / leaf | Backbone and server-facing switches of a data-centre fabric |
| Default gateway | The first router a host sends off-network traffic to |
| Uplink | A link towards the core |
| North-south / east-west | Traffic in and out of the site / between systems inside it |
| Redundancy | A second device or link, so one failure does not stop traffic |
In depth
Network components and how they connect
Every troubleshooting session starts with a picture of the path: host, access switch, distribution or gateway, core, firewall, WAN or Internet. Cisco's campus design guide describes the standard roles:
- Access switches: connect endpoints, wired and wireless, with security and QoS.
- Distribution switches: aggregate the access layer and form the Layer 2/Layer 3 boundary.
- Core: connects distribution blocks over Layer 3 links only.
Smaller sites collapse the core into the distribution layer (two-tier). The guide recommends a separate core once a location has more than three distribution blocks.
Components and their roles
| Component | Layer | Role |
|---|---|---|
| Endpoint | All | Sends and receives application traffic |
| Access point | 1–2 | Bridges wireless clients to the wired network |
| Wireless LAN controller | 2–7 | Manages APs, policies and roaming |
| Access switch | 2 (sometimes 3) | Connects endpoints; VLANs, PoE, security |
| Distribution / core switch | 3 | Routing between VLANs and blocks |
| Router | 3 | WAN, Internet edge, routing between sites |
| Firewall / NGFW | 3–7 | Policy enforcement, inspection |
| Controller (Catalyst Center, SD-WAN Manager) | Management | Configuration, assurance, policy |
Common topologies
| Topology | Where | Characteristics |
|---|---|---|
| Star (hub and spoke) | Access to distribution | Simple; the hub is a single point of failure unless redundant |
| Two-tier (collapsed core) | Small and medium campuses | Distribution and core combined |
| Three-tier | Large campuses | Dedicated core |
| Spine-leaf | Data centres | Every leaf connects to every spine; equal paths |
| Full or partial mesh | WAN cores | Redundancy at the cost of links |
| Hub and spoke (WAN) | Branches to the head office | Central control, possible hairpinning |
How many links a core saves (CVD)
Without a core, N distribution blocks need N×(N−1)/2 interconnections for a full mesh. With a core, they need N×2. For eight blocks that is 28 links against 16.
acc1# show cdp neighbors
dist1# show ip route summary
host$ traceroute -n 10.30.0.15
1 10.110.0.1 1 ms
2 10.0.1.1 1 ms
3 10.0.0.9 2 ms
4 10.30.0.15 2 ms
Each traceroute hop corresponds to a component in the picture: the gateway on the distribution switch, the core, the data centre distribution, then the server. Mapping hops to roles is the first step in locating a problem.
Documented example, not captured output.
Quick reference
Network components are the building blocks — endpoints, switches, routers, firewalls, access points, controllers and servers — and topologies describe how they are connected. Common topologies are star (access switches to hosts), hierarchical tree (access–distribution–core), spine-leaf, full or partial mesh, and hub-and-spoke WAN.
| Topology | Characteristics |
|---|---|
| Star | Simple; central device is a single point of failure |
| Hierarchical | Scalable campus design |
| Spine-leaf | Predictable east-west paths in data centres |
| Full mesh | Maximum redundancy, many links |
| Hub-and-spoke | Central sites, simple WAN routing |
Physical topology (cables) and logical topology (VLANs, routing, tunnels) often differ; troubleshooting needs both.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network Fundamentals → Network Components & Topologies. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Deep reference
Exam focus
Exam focus
- CCNA-1.1 — Explain role/function of network components. Routers, L2/L3 switches, NGFW/IPS, APs, controllers, endpoints, servers and PoE.
- CCNA-1.1.a — Routers. Role and function of routers.
- CCNA-1.1.b — Layer 2 and Layer 3 switches. Role and function of L2/L3 switches.
- CCNA-1.1.c — Next-generation firewalls and IPS. Role and function of NGFW/IPS.
- CCNA-1.1.f — Endpoints. Endpoint role in the network.
- CCNA-1.1.g — Servers. Server role in the network.
- CCNA-1.1.h — PoE. Power over Ethernet role and use.
- CCNA-1.2 — Describe network topology architectures. Two-tier, three-tier, spine-leaf, WAN, SOHO and on-prem/cloud.
- CCNA-1.2.a — Two-tier. Two-tier topology characteristics.
- CCNA-1.2.b — Three-tier. Three-tier topology characteristics.
- CCNA-1.2.c — Spine-leaf. Spine-leaf topology characteristics.
- CCNA-1.2.d — WAN. WAN topology characteristics.
Design & tradeoffs
Topology patterns
Campus designs.
| Design | Layers | Suits |
|---|---|---|
| Three-tier | Access (connects devices), distribution (routing between VLANs, policy), core (fast transport between distribution blocks) | Large campuses |
| Two-tier (collapsed core) | Access, plus one layer doing both distribution and core | Small and medium sites |
Access switches connect to two distribution switches for redundancy.
Data centre: spine-leaf. Every leaf switch connects to every spine switch, and leaves never connect to each other. Any two servers are therefore at most two switch hops apart, with equal-cost paths through every spine; capacity grows by adding spines, ports by adding leaves.
WAN. Connects sites over provider services: leased lines, MPLS, or the internet with VPN tunnels or SD-WAN on top. The usual shape is hub-and-spoke — branches connect to a central site — or a full or partial mesh.
SOHO. A small office or home: one device combines router, switch, access point and firewall, with a single internet connection.
On-premises and cloud. Servers may run in the organisation's own data centre or at a cloud provider, reached over the internet, a VPN or a private connection. The network roles are the same; some are then virtual and operated by the provider.
Physical and logical. A diagram of cables is the physical topology. VLANs, subnets and VRFs form the logical topology, which decides who can talk to whom — and the two often look quite different.