Configuration File
Configuration File
Switch> en
Switch>en
Switch# show int f0/1
Switch# config t
Switch (config) # int f0/1
Switch (config-if) # no shut
Switch (config-if) # exit
Switch (config)# hostname **
Switch (config)# int v 1
Switch (config)# ip address and subnet mask
Switch (config-if) # no shut
Switch (config-if) #exit
Switch (config)# banner motd warning
Switch (config-if) #line console 0
Switch (config-if) #password cisco
Switch (config-if) #login
Switch (config-if) #exit
Switch (config-if) #enable secret class
Switch (config-if) #service password-encyption
Switch (config-if) # ip default-gateway ***** either 10.10.10.1 or 198.168.1.1
Switch (config-if) #ip domain-name cisco.com
Switch (config-if) #crypto key generate rsa
Switch (config-if) # 1024 bits
Switch (config-if) #ip ssh version 2
Command prompt
PC> ssh -1 admin ****
Three passwords
PC>ssh -1 admin***
Switch> en
Passwords 2
Switch> config t