EtherChannel, Spanning Tree & Discovery Protocols
CCNA 200-301 · Network Access
Redundancy is essential in a switched network — a single failed link should never isolate a building — but redundant links create loops, and loops are fatal to Ethernet. A broadcast frame looping forever between two switches multiplies until the network collapses, in what engineers call a broadcast storm. Spanning Tree Protocol exists to solve this contradiction: it keeps redundant links physically connected but logically blocked, unblocking them the moment the active path fails. EtherChannel solves the same problem differently, by bundling links so they act as one. The exam tests both heavily, along with the discovery protocols that let you map a network you have never seen.
Rapid PVST+ Spanning Tree
Cisco's spanning tree implementation is Rapid PVST+: Per-VLAN Spanning Tree Plus, running a separate rapid spanning tree instance for each VLAN. Each instance elects a root bridge — the switch with the lowest bridge ID, which is the bridge priority (default 32768, configurable in increments of 4096) combined with the switch's MAC address. The root bridge is the reference point for the whole tree: every other switch finds its best path toward it. You can influence the election with spanning-tree vlan 10 root primary, which lowers the switch's priority to 24576 (or to 4096 below the current root), and spanning-tree vlan 10 root secondary, which sets 28672. Deliberately placing the root bridge on a core or distribution switch, rather than leaving it to the lowest MAC address, is basic good design — and a common exam scenario.
Every non-root switch picks one root port: its single best path to the root bridge, measured by the lowest path cost. Each network segment gets one designated port: the port that forwards traffic onto that segment. All other ports are alternate (blocked) ports — they listen but do not forward, and they wait to take over if the active path fails. Port costs depend on link speed: a 10 Gbps link costs less than a 1 Gbps link, so spanning tree prefers faster paths automatically.
Port states in Rapid PVST+ are simpler than in the original 802.1D standard: discarding (the port neither forwards frames nor learns MAC addresses), learning (it learns MAC addresses but still does not forward), and forwarding (it forwards normally). The old 802.1D states — blocking, listening, learning, forwarding — took 30 to 50 seconds to converge; Rapid PVST+ uses a proposal-and-agreement handshake between switches and typically converges in a few seconds. That speed difference is the main reason rapid spanning tree replaced the original, and the exam tests it.
STP protection features
Four guard features protect the spanning tree from misbehaving devices, and the v1.1 blueprint added all four to the exam, so expect questions on each. PortFast is the starting point: it lets an access port skip the listening and learning states and go straight to forwarding, so a PC or server gets connectivity immediately instead of waiting 30 seconds. PortFast belongs only on ports connected to endpoints — never on ports connected to other switches.
BPDU guard protects a PortFast port: if the port receives a BPDU (a spanning tree message), it means a switch was plugged in where an endpoint should be, so BPDU guard shuts the port down (err-disabled). BPDU filter goes further: it stops the port from sending or processing BPDUs at all, which effectively removes the port from spanning tree — useful on a PortFast port, dangerous on a switch-to-switch link, where it can allow a loop. Root guard prevents an unexpected switch from becoming the root bridge: if a port configured with root guard receives a superior BPDU (one claiming a better root), the port goes into a root-inconsistent blocking state until the superior BPDUs stop. Loop guard protects against unidirectional link failures: if a blocking port stops receiving BPDUs (which it should keep receiving from its neighbour), loop guard keeps it blocked instead of letting it transition to forwarding and potentially creating a loop. The exam's questions on these features are usually scenario-based: given a symptom, pick the feature that prevents it.
EtherChannel
EtherChannel bundles up to eight physical links into one logical link, combining their bandwidth and providing redundancy: if one member link fails, traffic continues on the others, and spanning tree sees the bundle as a single link, so no port is blocked. The configuration is simple — channel-group 1 mode active on each physical interface creates the Port-channel1 interface — but the links must match: same speed, same duplex, same VLAN configuration, or the bundle will not form.
The negotiation protocol matters. LACP (Link Aggregation Control Protocol, IEEE 802.3ad) is the open standard: a port in active mode initiates negotiation, and a port in passive mode responds — so active-passive works, but passive-passive does not. PAgP (Port Aggregation Protocol) is Cisco's proprietary equivalent, with desirable and auto modes that behave the same way. The exam tests the mode combinations, and the key point is that LACP and PAgP are not compatible with each other. You can also force a bundle with mode on, which forms the channel without any negotiation — simple, but with no protection against a misconfiguration. Traffic is spread across member links by a load-balancing algorithm based on source and destination MAC or IP addresses, configurable with port-channel load-balance. Verify with show etherchannel summary, which shows each bundle, its protocol, and which member ports are actually in the channel (flagged with P, meaning bundled).
CDP and LLDP
CDP (Cisco Discovery Protocol) is Cisco's proprietary Layer 2 discovery protocol: enabled by default, it lets a device learn about its directly connected Cisco neighbours — their device name, the local and remote port, the platform, and the management IP address. show cdp neighbors gives the summary, and show cdp neighbors detail adds the IP address. LLDP (Link Layer Discovery Protocol, IEEE 802.1ab) is the open-standard equivalent that works with any vendor's equipment, but unlike CDP it is not enabled by default on Cisco devices — you turn it on with lldp run and check neighbours with show lldp neighbors. Both protocols are invaluable for mapping an unfamiliar network, and both should be disabled on ports facing untrusted networks, because they advertise useful information about your infrastructure to anyone who listens.
Exam traps to watch for
- Putting PortFast on a switch-to-switch link. PortFast is for endpoints only; on an inter-switch link it can create a temporary loop.
- Saying two LACP passive ports will form an EtherChannel. Passive-passive does not negotiate — one side must be active.
- Confusing BPDU guard and root guard: BPDU guard shuts down a PortFast port that receives any BPDU; root guard blocks a port that receives a superior BPDU claiming a better root.
- Forgetting that the root bridge is elected per VLAN in PVST+. Different VLANs can have different root bridges.
Practice questions
Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.
Q1.What is the primary purpose of Spanning Tree Protocol in a switched network?
Explanation: Spanning Tree creates a loop-free logical topology by blocking redundant ports while keeping them ready to take over if the active path fails — redundancy without loops. Option A is wrong because STP provides no encryption. Option B describes EtherChannel, not STP. Option C is wrong because switches do not assign IP addresses to ports; that is a DHCP function.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol
Q2.How is the root bridge elected in a spanning tree instance?
Explanation: The root bridge is the switch with the lowest bridge ID, which is the bridge priority (default 32768) combined with the MAC address as a tiebreaker — so a lower priority wins, and if priorities tie, the lower MAC address wins. Option A is wrong because port count plays no role in the election. Option B is backwards: the lowest MAC address wins a tie, not the highest. Option D is wrong because link speed affects path cost and port selection, not the root bridge election.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol — root bridge
Q3.A switch port configured with PortFast receives a BPDU. BPDU guard is enabled on the port. What happens?
Explanation: BPDU guard is designed for exactly this: a PortFast port should only ever connect to an endpoint, so receiving a BPDU means a switch was plugged in, and BPDU guard error-disables the port to protect the spanning tree topology. Option A is wrong because PortFast ports skip the learning state, and BPDU guard does not send a port to learning. Option B describes BPDU filter behaviour, not BPDU guard. Option C is wrong because receiving a BPDU does not make a port the root port; root port selection depends on path cost to the root bridge.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol — BPDU guard
Q4.Which spanning tree feature prevents a rogue or misconfigured switch from becoming the root bridge?
Explanation: Root guard watches for superior BPDUs — messages claiming a better (lower) bridge ID than the current root — and puts the receiving port into a root-inconsistent blocking state, preventing the unexpected switch from taking over as root. Option B is wrong because PortFast only speeds up endpoint connectivity; it has no root-protection function. Option C is wrong because loop guard protects against unidirectional link failures where BPDUs stop arriving, not against a new root claim. Option D is wrong because BPDU filter simply suppresses BPDUs on the port, which can actually hide a rogue switch rather than block it.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol — root guard
Q5.An EtherChannel is configured with LACP. One switch port is set to active mode and the other to passive mode. What happens?
Explanation: LACP active mode initiates negotiation and passive mode responds to it, so active-passive is a valid combination and the channel forms. Option A is wrong because the modes do not need to match — they need to be compatible, and active-passive is compatible (only passive-passive fails). Option C is wrong because LACP and PAgP are separate, incompatible protocols; enabling both does not help. Option D is wrong because no error occurs — the combination is valid.
Exam objective: 200-301 2.4: Configure and verify (Layer 2/Layer 3) EtherChannel (LACP)
Q6.An engineer bundles four 1 Gbps links into an EtherChannel. What is the main benefit, apart from redundancy?
Explanation: EtherChannel aggregates the bandwidth of its member links (4 x 1 Gbps = 4 Gbps of combined capacity) and presents itself to Spanning Tree as one logical link, so no member port is blocked. Option B is wrong because EtherChannel provides no encryption. Option C is wrong because VLAN trunking is a separate function — a trunk carries multiple VLANs, with or without EtherChannel. Option D is wrong because EtherChannel has nothing to do with default gateways or routing.
Exam objective: 200-301 2.4: Configure and verify (Layer 2/Layer 3) EtherChannel (LACP)
Q7.What is the difference between CDP and LLDP?
Explanation: CDP is Cisco's proprietary discovery protocol, enabled by default on Cisco devices; LLDP is the vendor-neutral IEEE 802.1ab standard and is not enabled by default on Cisco devices — it is turned on with lldp run. Option B is wrong because both protocols operate at Layer 2. Option C is wrong because both discover directly connected neighbours regardless of medium. Option D reverses the two protocols.
Exam objective: 200-301 2.3: Configure and verify Layer 2 discovery protocols (CDP and LLDP)
Q8.In Rapid PVST+, what does a switch port in the discarding state do?
Explanation: A discarding port drops received frames and does not learn MAC addresses from them — it is the RSTP equivalent of the old blocking state, and it is the state of alternate (blocked) ports. Option A is wrong because forwarding without learning is not a spanning tree state. Option C describes the learning state, not the discarding state. Option D describes the forwarding state.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol — port states
Q9.A blocking spanning tree port stops receiving BPDUs from its neighbour because of a unidirectional link failure. Which feature prevents it from transitioning to forwarding and creating a loop?
Explanation: Loop guard keeps a blocking port in a loop-inconsistent blocking state when it stops receiving the BPDUs it expects from its neighbour — exactly the symptom of a unidirectional failure — instead of letting it transition to forwarding and form a loop. Option A is wrong because PortFast applies to endpoint ports and skips spanning tree states; it does not guard against lost BPDUs. Option B is wrong because BPDU guard reacts to receiving a BPDU on a PortFast port, the opposite situation. Option C is wrong because root guard reacts to superior BPDUs claiming a better root bridge.
Exam objective: 200-301 2.5: Interpret basic operations of Rapid PVST+ Spanning Tree Protocol — loop guard