Table of Contents

Every Port Is Either Access or Trunk
Access ports carry one VLAN. Trunk ports carry multiple VLANs between switches. Configure correctly or traffic won’t flow.

| Port Type | Carries | Use |
|---|---|---|
| Access | 1 VLAN | End devices: PC, server, printer |
| Trunk | Multiple VLANs (tagged) | Switch-to-switch, switch-to-router |
Basic Access Port Config
- Enter config mode.
- Select the interface (e.g., GigabitEthernet0/1).
- Set mode: switchport mode access.
- Set VLAN: switchport access vlan 10.
- Save config.
Basic Trunk Port Config
- Select the uplink interface.
- Set mode: switchport mode trunk.
- Allowed VLANs: switchport trunk allowed vlan 10,20,30.
- Save.
KITOZER / Guangzhou Laian Intelligent System Development Co., Ltd. – switch config, network. Call +86 13922289957 (WeChat) or +86 18520668845. WhatsApp +86 19068534140. Web: www.gdlain.com | www.lain.com.cn. Address: Chaotian Park, Zhongrun Industrial Zone, Shilou, Panyu, Guangzhou, China.