Network engineering

Stage 2 of 10 · 8 lessons · ~4 weeks

Switching and VLANs

Configure switches from the Cisco command line: MAC learning, VLANs, trunks, routing between VLANs, spanning tree, EtherChannel and the discovery protocols that map what is connected.

Start: How a switch learns and forwards

Lessons· one lesson for each topic, in this order

  1. 1How a switch learns and forwards
  2. 2VLANs and access ports
  3. 3Trunks, 802.1Q and the native VLAN
  4. 4Routing between VLANs
  5. 5Spanning tree
  6. 6PortFast, BPDU Guard and Root Guard
  7. 7EtherChannel with LACP
  8. 8CDP and LLDPOptional

Do this

  • Configure three named VLANs and assign access ports, including a voice VLAN.
  • Trunk two switches with a restricted allowed list and an unused native VLAN.
  • Route between the VLANs with SVIs on a Layer 3 switch, and once with router on a stick.
  • Set the spanning tree root on purpose and check port roles on every switch.
  • Add PortFast and BPDU Guard to access ports and trigger BPDU Guard once.
  • Bundle two links with LACP and confirm the bundle in show etherchannel summary.

Start with· follow one of these

Practise

Before moving on: A saved Packet Tracer or emulator lab with three switches, three VLANs across trunks, a chosen spanning tree root, protected access ports, one LACP EtherChannel and working routing between the VLANs.

Tauseef's advice
Type every command yourself; copying and pasting configs teaches you nothing. Break the lab on purpose: mismatch a native VLAN, remove a VLAN from a trunk, plug a switch into a BPDU Guard port. Fixing faults you made is how the commands stick.

Mark this stage as not done?