Solved

change password for cisco switch , router, pix

Posted on 2007-03-23
9
19,520 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
  • 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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now