We should set passwords in Cisco networking devices so that non authorized people can't access easily. The followings are the ways to set passwords in Cisco networking devices by CLI.
(Note : Most of Cisco Networking Devices are needed to be configured by CLI)


*** Console Password ***

enable (en)

configure terminal (config t)

line console 0

password console123 (type secured password)

 

*** Enable Password ***

enable (en)

configure terminal (config t)

enable password enable123 (type secured password)

 
 
*** Enable Secret ***

enable (en)

configure terminal (config t)

enable secret secret123 (type secured password)

 

*** VTY Password ***

enable (en)

configure terminal (config t)

line vty 0 15

password vty123 (type secured password)

 

*** To go back enable mode ***

 end

 
*** To save configuration ***

 copy run start


Share On: