Professional Documents
Culture Documents
Router#config t
Router(config)#
To set hostname to R1 we will have to go global config mode and type hostname R1
Router(config)#hostname R1
R1(config)#
To setup password to enter into previlage mode go to config mode and types enable password
cisco . Here cisco is passoword.
Now run show-running config from previlage mode and see password is not encrupted .
R1#show running-config
Building configuration...
R1(config)#service password-encryption
R1(config)#
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable password 7 0822455D0A16
!
!
!
!
!
!
ip cef
no ipv6 ce
To enabe password encrypt level 5 use below command , where ccna is password
Now see how password is visible both in level and level 7 method
R1#show running-config
Building configuration...
To enable console login password first connect PC to router using console cable and go
to terminal
R1(config)#line console 0
R1(config-line)#
to set password to login to console type "password ccna" where ccna is password and
type login .
R1(config-line)#password ccna
R1(config-line)#login
SW1(config)#interface Vlan 1
SW1(config-if)#
http://www.freeccnaworkbook.com/workbooks/ccna