Anda di halaman 1dari 2

How to Assign Password for privileged Mode,line vtyand line console

Saturday, 26 January 2013


How to assign password for privileged mode,console and telnet.
Setting Password for Privileged mode.Go to global configuration mode and enter t
his command
Previleged mode Password

Router(config)#enable password cisco


Router(config)#enable secret cisco1
In this password is clearly visible to all if we give command show running-confi
g.But enable secret will encrypt those passwords.
We can see both passwords in running configuration because,Old routers doesn't s
upport this new command
enable secret.
Some people will save running configuration to a notepad and they will copy and
paste those configuration to other routers in global configuraion mode.Old rout
ers doesn't support enable secret that time atleast enable password will be acce
pted by the router.

Line Console Password

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Telnet Password Virtual Terminal


Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#

Auxilary Port Password


Router(config)#line aux 0

Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Anda mungkin juga menyukai