Skip to content

Instantly share code, notes, and snippets.

@giljr
Last active August 31, 2022 10:55
Show Gist options
  • Save giljr/56e9c2c31fda09946b371f69fb549804 to your computer and use it in GitHub Desktop.
Save giljr/56e9c2c31fda09946b371f69fb549804 to your computer and use it in GitHub Desktop.
CCLAB_01.csv
Mode Command Description
Router> enable User EXEC Mode
Router# configure terminal Privileged EXEC mode
Router(config)# hostname 1841 The router's name
1841(config)# no ip domain lookup DNS lookup function is disabled on the router
1841(config)# banner motd @ Message Of The Day (MOTD) banner is presented
- - ########################################
- - Only Authorized Personnel!!!
- - ########################################
@ - End with the character '@'
1841(config)# enable secret cisco Setting the secret password :)
1841(config)# service password-encryption Allows password hashing so they can not be easily guessed from :/
1841(config)# line vty 0 4 Means the device can allow 5 simultaneous virtual connections which may be Telnet or SSH
1841(config-line) password cisco Setting the secret password :/
1841(config-line) login Allows remote access attempt it is no use requiring only the password you have to force the login :/
1841(config-line) exec-timeout 0 0 This means that on the console port will never timeout :/
1841(config-line) exec-timeout 10 0 Better type this instead: the console line will logoff when inactivity at this line reaches 10 minutes :)
1841(config-line) logging synchronous Used to synchronize unsolicited messages and debug output with solicited Cisco IOS Software output
1841(config-line) exit Returns to the previous configuration mode
1841(config)# line console 0 It is the physical console port on the switch/router you plug into
1841(config-line)# password cisco Setting the secret password :/
1841(config-line)# exit Returns to the previous configuration mode
1841(config)# interface f 0/0 Interface f 0/0 Configuration mode
1841(config-if)# ip address 192.168.0.254 255.255.255.0 Router IP Address & subnet mask entered
1841(config-if)# no shut *Shutdown* shuts down the interface while *no shutdown* brings up the interface
1841(config)# end Returns directly to privileged mode
1841# copy running-config startup-config Saves your running config to the router's startup config (NVRAM) so it will survive a reload
- - Building configuration...
- - [OK]
1841# - -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment