VLANs: configure access ports
- Switching
- Beginner
- 12 min
- 4 steps
- Cisco IOS-style
Create two VLANs on a switch, assign access ports, and verify that hosts in different VLANs cannot reach each other even when they share an IP subnet.
Open this lab in your browser →
Free · no install · no account
Scenario
VLANs partition broadcast domains logically on a switch. Hosts in different VLANs cannot reach each other without a router — even if they sit on the same IP subnet.
Topology
1 × switch, 4 × router · Cisco IOS-style
SW1— switchH1— routerH2— routerH3— routerH4— router
What you will do
On SW1, create VLAN 10 named SALES.
Create a second VLAN 20 on SW1 named ENGINEERING.
Make Eth0 and Eth1 access ports in VLAN 10.
Make Eth2 and Eth3 access ports in VLAN 20.
Open this lab in your browser →
More labs on this topic
- Syntax delta — VLAN access port (Extreme EXOS)Beginner · 5 min
- Syntax delta — VLAN access port (Cisco IOS)Beginner · 5 min
- EtherChannel: bundle two links between switches with LACPIntermediate · 12 min
- STP: force a root bridge in a redundant L2 triangleIntermediate · 12 min
- Trunk between two switchesIntermediate · 15 min
This lab in other languages
VLANs: Access-Ports konfigurierenVLANs: configurar puertos de accesoVLANs: configurando portas de acessoVLAN : configurer des ports d'accèsVLANs: access ports कॉन्फ़िगर करेंVLAN:配置 access 端口VLAN: configurare porte accessVLAN: access ポートを設定するVLAN: access 포트 구성VLAN: настройка access-портовVLAN: access port'ları yapılandırVLAN: cấu hình các cổng access