Skip to content

Instantly share code, notes, and snippets.

@noslin005
Created April 9, 2018 23:38
Show Gist options
  • Save noslin005/88e3c49b8ade2a2bf390f875eb3140ce to your computer and use it in GitHub Desktop.
Save noslin005/88e3c49b8ade2a2bf390f875eb3140ce to your computer and use it in GitHub Desktop.
Router > enable
Router# configure terminal
Router(config)# hostname R1
Router(config)# username admin secret cisco
Router(config)# enable secret cisco
R1(config)# ip domain-name localhost.local
R1(config)# crypto key generate rsa
R1(config)# ip ssh version 2
R1(config)# line vty 0 4
R1(config-line)# transport input ssh
R1(config-line)# logging synchronous
R1(config-line)# login local
R1(config)# aaa new-model
R1(config)# aaa authentication enable default enable
R(config)# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment