Link to home
Start Free TrialLog in
Avatar of nasemabdullaa
nasemabdullaa

asked on

change password for cisco switch , router, pix

hi
how i can change password for
1- cisco switch
2- cisco router
3- pix firewall

thanks
Avatar of rshooper76
rshooper76

What kind of password are you trying ot change?  Specifically a local username and password, the enable password, the exex password, etc.  Do you curently have access to the device?
Avatar of Les Moore
Here are the password recovery procedures for almost every Cisco device. Handy to keep bookmarked..
http://www.cisco.com/warp/public/474/index.shtml

Changing telnet password, user passwords, and other passwords depend on the product model and whch passwords you're needing to change
Avatar of nasemabdullaa

ASKER

hi
thanks for all reply
sorry my question is not clear
my question is how i can change password (i mean password for entering the device and for enable and for telnet ) for each router and pix and switch
>>>>Do you curently have access to the device
yes i can enter to the device but i want to change the old password

thanks
SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi
thanks for your reply
for switch  
Sw1(config)#enable secret <new_secret_password>

Sw1(config)#enable password <new_enable_password>

Sw1(config)#line vty 0 15
Sw1(config-line)#password <new_vty_password>
Sw1(config-line)#login

Sw1(config-line)#line con 0
Sw1(config-line)#password <new_console_password>
----------------------------------------------------------------
for router
Router(config)# enable secret <new_secret_password>

Router(config)#enable secret <new_secret_password>

Router(config)#line vty 0 4
Router(config-line)#password <new_vty_password>
Router(config-line)#login

Router(config-line)#line con 0
Router(config-line)#password <new_console_password>
----------------------------------------------------------------------------
for PIX
PIX(config-line)#line con 0
PIX(config-line)#password <new_console_password>

PIX# enable password <new_enable_password>

PIX#password <new_telnet_password>
------------------------------------------------------------------------------
is the above command  true or not

thanks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi
thanks for your reply
>>>You cannot apply a password directly to the serial console port, but you can set the console port to use AAA local username/password. Pix calls the console port "serial" port
  aaa authentication serial LOCAL

please can you explain more about this

thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi
thanks Irmoore