VLANs and access ports
A VLAN is a separate broadcast domain inside one physical switch. Access ports belong to one VLAN and carry untagged traffic for the connected host. This chapter teaches access-port configuration and verification.
A VLAN is a separate broadcast domain inside one physical switch. Access ports belong to one VLAN and carry untagged traffic for the connected host. This chapter teaches access-port configuration and verification.
By default every port on a switch belongs to VLAN 1. A broadcast frame received on any port floods to every other port. VLANs let you split that single broadcast domain into many — Sales in VLAN 10, Engineering in VLAN 20, Voice in VLAN 100 — even though they share the same physical switch.
Hosts in different VLANs cannot reach each other directly. Inter-VLAN traffic must pass through a router (or an L3 switch with SVIs).
Switch> enable
Switch# configure terminal
Switch(config)# vlan 10
Switch(config-vlan)# name SALES
Switch(config-vlan)# exit
Switch(config)# interface Fa0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# end
Switch# show vlan brief2 more sections in this chapter, plus a 2-question quiz.
You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: Network Foundations end-to-end and saves your labs — start there, no card required.
NetForge-AI is an independent educational platform and is not affiliated with, endorsed by, or sponsored by any networking vendor or certification body. All product names, protocols, and standards referenced are the property of their respective owners and are used for descriptive, educational purposes only.
Free account · no card required · compare plans any time