Configure switch port modes to control how interfaces handle VLAN traffic - access ports for single VLANs or trunk ports for multiple VLANs.
Step 1: Configure access port for single VLAN Set an interface to access mode for connecting end devices like computers or phones to a specific VLAN.
|
|
Step 2: Configure trunk port for multiple VLANs Set an interface to trunk mode for connecting to other switches or devices that need to carry multiple VLAN traffic.
|
|
Step 3: Configure voice VLAN (optional) Enable both data and voice VLANs on a single port for IP phones with built-in switches.
|
|
Step 4: Verify interface configuration
|
|
Key Points:
- Access ports carry traffic for only one VLAN (untagged)
- Trunk ports carry traffic for multiple VLANs (tagged with 802.1Q)
- Native VLAN traffic on trunks is untagged - ensure it matches on both ends
- Voice VLANs allow phones to tag their traffic while PC traffic remains untagged