Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Network Components & Topologies

Direct 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.

When to use this

Use it to read a network diagram, place a device in its role, or work out which devices a packet passes between two hosts.

First 30 seconds

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?

Operational verification

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
Common mistakes
Common mistakes
  • "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.
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandshow cdp neighbors detail
Scope / prerequisiteUse it to read a network diagram, place a device in its role, or work out which devices a packet passes between two hos…
Show · 2
What next?3 suggested next steps
Catalog command links2
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Commands & verification Verify boundary
CommandShows
show cdp neighbors detailEach directly connected Cisco device: name, model, port, address
show lldp neighbors detailThe same for any vendor
show versionModel, software, uptime
show inventoryChassis, modules and transceivers
show ip interface briefInterfaces and addresses
show ip routeWhether and where the device routes
show power inlinePoE: 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.

Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.
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.

ComponentWhat it doesDecides by
Endpoint, serverSends and receives data—
Layer 2 switchConnects devices in the same VLANDestination MAC address
RouterConnects IP networks; chooses the pathDestination IP address
Layer 3 switchA switch that also routes between VLANs, at hardware speedMAC within a VLAN, IP between them
Firewall (NGFW)Permits or denies traffic between zones; tracks connections; can recognise applications and usersPolicy
IPSInspects permitted traffic for attacks and blocks themSignatures and behaviour
Access pointConnects wireless clients to the wired network—
Wireless LAN controllerConfigures 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.

StandardNamePower at the switch port
802.3afPoE15.4 W
802.3atPoE+30 W
802.3btPoE++ / UPOE60 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

TermMeaning
Access layerWhere endpoints connect; VLAN assignment, PoE, port security
Distribution layerAggregates access switches; default gateways, routing between VLANs, filtering
Core layerHigh-speed backbone between distribution blocks
Collapsed coreDistribution and core in one layer
Spine / leafBackbone and server-facing switches of a data-centre fabric
Default gatewayThe first router a host sends off-network traffic to
UplinkA link towards the core
North-south / east-westTraffic in and out of the site / between systems inside it
RedundancyA 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

ComponentLayerRole
EndpointAllSends and receives application traffic
Access point1–2Bridges wireless clients to the wired network
Wireless LAN controller2–7Manages APs, policies and roaming
Access switch2 (sometimes 3)Connects endpoints; VLANs, PoE, security
Distribution / core switch3Routing between VLANs and blocks
Router3WAN, Internet edge, routing between sites
Firewall / NGFW3–7Policy enforcement, inspection
Controller (Catalyst Center, SD-WAN Manager)ManagementConfiguration, assurance, policy

Common topologies

TopologyWhereCharacteristics
Star (hub and spoke)Access to distributionSimple; the hub is a single point of failure unless redundant
Two-tier (collapsed core)Small and medium campusesDistribution and core combined
Three-tierLarge campusesDedicated core
Spine-leafData centresEvery leaf connects to every spine; equal paths
Full or partial meshWAN coresRedundancy at the cost of links
Hub and spoke (WAN)Branches to the head officeCentral 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

TopologyCharacteristics
StarSimple; central device is a single point of failure
HierarchicalScalable campus design
Spine-leafPredictable east-west paths in data centres
Full meshMaximum redundancy, many links
Hub-and-spokeCentral sites, simple WAN routing

Physical topology (cables) and logical topology (VLANs, routing, tunnels) often differ; troubleshooting needs both.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Depth when you need it

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.

DesignLayersSuits
Three-tierAccess (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 coreSmall 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.

Confirmation

Confirm action

Continue?