Solved

change password for cisco switch , router, pix

Posted on 2007-03-23
9
19,551 Views
Last Modified: 2012-05-05
hi
how i can change password for
1- cisco switch
2- cisco router
3- pix firewall

thanks
0
Comment
Question by:nasemabdullaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 9

Expert Comment

by:rshooper76
ID: 18781302
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?
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 18782553
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
0
 

Author Comment

by:nasemabdullaa
ID: 18784710
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
0
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 100 total points
ID: 18785044
To change enable password
router(config)#enable password newpassword

To change telnet password
router(config)#line vty 0 4
router(config-if)#password newpassword

Telnet password on switch
  line vty 0 15
   password newpassword

Telnet password on PIX
  password newpassword
0
 

Author Comment

by:nasemabdullaa
ID: 18788206
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
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 100 total points
ID: 18788691

>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>

Correct (must be in config mode)
PIX(config)# enable password <new_enable_password>
PIX(config)#password <new_telnet_password>

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
0
 

Author Comment

by:nasemabdullaa
ID: 18790864
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
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 100 total points
ID: 18792022
The PIX will not challenge you for a password for direct connection to the console port. If you want the PIX to present you with a username/password prompt from a direct console connection, then you have to enable aaa authentication to use LOCAL username/password. Example:
 aaa authentication serial console LOCAL
 username nasemabdullaa password yourPa$$w0rd privilege 15

Then when you console into the PIX, instead of:
 pixfirewall>

You will see:

User Access Verification
Username: <enter username>
Password: <enter password>
Type help or '?' for a list of available commands.
pixfirewall>

0
 

Author Comment

by:nasemabdullaa
ID: 18800098
hi
thanks Irmoore
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question