Objectives
The simulator ticks each one as soon as the network meets it.
Create VLAN 10 on LEAF1 and LEAF2.
Make Ethernet3 an access port in VLAN 10 on both switches.
Make Ethernet1 a trunk that allows VLAN 10 on both switches.
Check show vlan: VLAN 10 lists Et3 and the trunk Et1.
Ping PC2 (192.168.10.20) from PC1.
Before you start
EOS ports are Layer 2 access ports in VLAN 1 by default. switchport access vlan 10 moves a host port; switchport mode trunk plus switchport trunk allowed vlan 10 carries the VLAN between switches. show vlan lists which ports carry each VLAN.
Concept
VLANs and access ports
A VLAN splits one physical switch into separate broadcast domains. An access port belongs to exactly one VLAN, and frames are only forwarded between ports of the same VLAN.
Concept
802.1Q trunks: VLAN tags on the wire
A trunk carries many VLANs over one link. To keep them apart, the sending switch inserts a 4-byte 802.1Q tag into each frame saying which VLAN it belongs to; the receiving switch reads the tag and removes it before delivering the frame to an access port.