! Reference template for an isolated Cisco IOS-style Layer 3 switch. ! Review interface names and feature support for your simulator/image. ! Not production configuration. VLAN interfaces need an active port/trunk. hostname LAB-CORE ip routing vlan 10 name ADMIN vlan 20 name STAFF vlan 30 name STUDENTS vlan 40 name SERVERS interface Vlan10 ip address 192.0.2.1 255.255.255.192 no shutdown interface Vlan20 ip address 192.0.2.65 255.255.255.192 no shutdown interface Vlan30 ip address 192.0.2.129 255.255.255.192 no shutdown interface Vlan40 ip address 192.0.2.193 255.255.255.192 no shutdown interface GigabitEthernet0/1 description SAMPLE-ACCESS-SWITCH switchport mode trunk switchport trunk allowed vlan 10,20,30,40 no shutdown ! ! Routing only; no access restriction is implied by this template. ! Apply a separately reviewed policy in the firewall or ACL exercise. ! Verify: ! show vlan brief ! show interfaces trunk ! show ip interface brief ! show ip route connected