Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Change Cisco 2960 login account

Posted on 2014-01-23
6
Medium Priority
?
444 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
[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
6 Comments
 
LVL 3

Accepted Solution

by:
Paul 1 earned 1200 total points
ID: 39802343
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
ID: 39802981
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
ID: 39803032
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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 12

Expert Comment

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

Assisted Solution

by:Craig Beck
Craig Beck earned 800 total points
ID: 39809047
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
ID: 39817357
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

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

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

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

721 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