! Equivalent Cisco 2960 configuration kit — not Packet Tracer execution evidence
enable
configure terminal
hostname SW-A
vlan 10
 name STAFF
exit
vlan 20
 name SERVERS
exit
vlan 30
 name GUEST
exit
interface gigabitEthernet0/1
 description TRUNK-TO-PEER
 switchport mode trunk
 switchport trunk native vlan 1
 switchport trunk allowed vlan 10,20,30
 no shutdown
exit
interface fastEthernet0/1
 description VLAN10-ENDPOINT
 switchport mode access
 switchport access vlan 10
 spanning-tree portfast
 no shutdown
exit
interface fastEthernet0/2
 description VLAN20-ENDPOINT
 switchport mode access
 switchport access vlan 20
 spanning-tree portfast
 no shutdown
exit
interface fastEthernet0/3
 description VLAN30-ENDPOINT
 switchport mode access
 switchport access vlan 30
 spanning-tree portfast
 no shutdown
exit
end
copy running-config startup-config
