enable
configure terminal
hostname SW1
enable secret <пароль>
line console 0
password <пароль>
login
line vty 0 15
password <пароль>
login
interface GigabitEthernet0/1
interface vlan 1
ip address 192.168.1.2 255.255.255.0
no shutdown
ip default-gateway 192.168.1.1
write memory
copy running-config startup-config
crypto key generate rsa
ip ssh version 2
username admin privilege 15 secret <пароль>
line vty 0 15
transport input ssh
show running-config
show ip interface brief
show mac address-table