enable
configure terminal
hostname ASw-1
enable secret SecretPW
service password-encryption
banner motd #Unauthorized access is prohibited!#
line console 0
password LinePW
login
exit
line vty 0 15
password LinePW
login
exit
interface vlan 1
ip address S1Add 255.255.255.0
no shutdown
exit
end
copy running-config startup-config