Solved

Change Cisco 2960 login account

Posted on 2014-01-23
6
422 Views
Last Modified: 2014-01-29
Hi,

I have several Cisco 2960 switches, which i can access remotely. Now I need to change the login details and the enable password.

Can it be done remotely, or do i have to connect via console port? What are the command to do this?

Thanks!
0
Comment
Question by:SvenIA
6 Comments
 
LVL 3

Accepted Solution

by:
Paul 1 earned 300 total points
Comment Utility
to change the enable password

Router>enable
Router#configure terminal
Router(config)#enable password mypassword

press "CTRL-Z"
write
0
 
LVL 50

Expert Comment

by:Don Johnston
Comment Utility
Can it be done remotely, or do i have to connect via console port? What are the command to do this?
As long as you have telnet, ssh or SDM access from your remote location, you would use the same commands as if you were local.
0
 
LVL 11

Expert Comment

by:Miftaul
Comment Utility
Can it be done remotely, or do i have to connect via console port?
Definitely you can. You can not rename an account name at one go. First create a new user account remotely. Then logon using that account and remove the previous account.

What are the command to do this?
To create new account UserA to be used with telnet/SSH,
R1(Config)#username UserA privilege 15 secret UserAPassword
R1(Config)#line vty 0 4
R1(Config-line)#login local
R1(Config-line)#transport input ssh telnet
R1(Config-line)# exec-timeout 5 0
R1(Config-line)#exit

Open in new window

To change enable password
R1(Config)#enable secret MyPassword
0
Zoho SalesIQ

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

 
LVL 12

Expert Comment

by:Infamus
Comment Utility
Also, I would open another SSH session to test the new login before exiting the current session just to be safe.
0
 
LVL 45

Assisted Solution

by:Craig Beck
Craig Beck earned 200 total points
Comment Utility
Really it depends how admin authentication is configured on the switches, but the enable password/secret can be changed just by using the command posted by Paul1.

If you're using line passwords:

line vty 0 4
 password <password>

Open in new window


If you're using local authentication:

username <username> privilege <privilege-level> password <password>

Open in new window

0
 
LVL 7

Author Closing Comment

by:SvenIA
Comment Utility
Thanks guys. With your information i changed the local and the enable password;

Local login: username local privilege 2 secret <password>

Enable password: enable secret <password>
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
network blips every couple minutes 5 55
Command - show interface status 3 47
vm nic duplex 1 46
Management Interface of ESXi Host 13 59
The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

18 Experts available now in Live!

Get 1:1 Help Now