Back to course

VLAN Configuration and Access Ports

CCNA: 0 to Hero - Comprehensive Network Engineering Bootcamp

Lesson 24: VLAN Configuration and Access Ports

Access Ports

An Access Port connects an end device (PC, printer, IP phone) to the switch. An access port belongs to exactly one VLAN and carries only frames from that VLAN.

Configuration Steps

  1. Create the VLAN: Assign a name for clarity.
  2. Assign the Port: Set the interface mode and assign the VLAN ID.

ios Switch# configure terminal

! Step 1: Create VLAN 10 Switch(config)# vlan 10 Switch(config-vlan)# name Staff_Data Switch(config-vlan)# exit

! Step 2: Configure the interface as an access port for VLAN 10 Switch(config)# interface FastEthernet 0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 10 Switch(config-if)# end

Verification Commands

  • show vlan brief: Lists all configured VLANs and which ports are assigned to them.
  • show interface Fa0/1 switchport: Displays the switchport configuration details for a specific port.