# Preconfig
enable | |
configure terminal | |
line console 0 | |
no exec-timeout | |
logging synchronous | |
no ip domain lookup | |
hostname |
save config
SW1# copy running-config startup-config | |
SW1# write |
erase config
SW1# erase startup-config | |
SW1# erase nvram: | |
SW1# write erase |
filter strings
SW1# show running-config | include 0/0 | |
SW1# show running-config | section 0/0 |
telnet mode
SW1# conf t | |
SW1(config)# line vty 0 4 | |
SW1(config-line)# transport input telnet | |
SW1(config-line)# password welcome | |
SW1(config-line)# login |