enable
configure terminal
hostname SW1
interface FastEthernet0/1
 switchport mode access
 switchport access vlan 1
 no shutdown
exit
interface FastEthernet0/2
 switchport mode access
 switchport access vlan 1
 no shutdown
exit
interface GigabitEthernet0/1
 switchport mode access
 switchport access vlan 1
 shutdown
exit
end
