1. Basic Configuration - metrafonic/Cisco-Cheatsheet GitHub Wiki
Initial Commands
Commands to bu run right after a fresh boot with no configuration
Change Hostname:
> enable
# configure terminal
(config)# hostname [newhostname]
(config)# exit
Set IP address & enable interface:
(config)# interface g0/0
(config-if)# ip address [ip-address] [subnet]
(config-if)# no shutdown
Check interfaces
# show ip interface brief
Disable DNS lookup:
(config)# no ip domain-lookup
Save config
(config)# copy running-config startup-config