ZNetLab › Published › Lab

Lab: a redundant triangle that does not melt

LabSwitching@admin1 min read

Lab: a redundant triangle that does not melt

Three switches in a ring. With spanning tree, resilience; without it, a storm you can watch in the counters.

Three switches, each cabled to the other two. That is a loop, and at layer 2 a loop has no TTL to stop it.

Do this

SW1(config)# spanning-tree vlan 1 root primary
SW1# show spanning-tree vlan 1

The point

Spanning tree is doing something very specific: it leaves exactly enough ports forwarding to reach everything and blocks the rest. The blocked port is not off — it is listening, and it is your redundancy.

The default root election is by lowest MAC address, which means that without configuration your traffic path is decided by which switch is oldest. Set it deliberately.

Try breaking it

stpspanning-treeswitchingccnalab

Join the discussion

Replies, likes and bookmarks live in the community half, which needs a free account. This lab opens in the browser — no install, no plugin.

Open this in the communityEverything publishedHow this works