Jeremy’s IT Lab lecture video:

Day 16 - VLANs (1)


Commands


VLANs

  • A LAN is a single broadcast domain, including all devices in it. And a broadcast domain is a group of devices which will receive a broadcast frame (Dest. MAC ffff.ffff.ffff) sent by any of the members.
  • VLANs logically separate a switch’s LANs on Layer 2.
  • (PS. Subnets logically separate LAN networks on Layer 3)

Switchport Types

There are two switchport types which use VLANs:

  1. Access ports (untagged ports):
    • An access port is a switchport which belongs to a single VLAN, and usually connects to end hosts like PCs. Traffic is ==NOT== tagged when sent over this interface.
  2. Trunk ports (tagged ports):
    • A trunk port carries traffic from multiple VLANs. Traffic is tagged on this interface except if the data is being sent on the native VLAN.