Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3500/3550 Series Password Change 2

Status
Not open for further replies.

timeiu79

MIS
Oct 31, 2006
29
0
0
US
I've been able to find a lot of information about how to Reset passwords on switches if you've forgotten them, but what about changing the PW when you know the current one? The person who normally handles our Cisco stuff has left, so we need to change the PW's. Thanks!
 
Telnet --> go into config mode.

line vty 0 15 , enter
<enter new password>


enable password

config t
enable secret <password>
 
Thanks for the response, Vipergg. I had no trouble changing the enable password, but when I try the first command I get "invalid input detected" after I try to enter the password.
 
switch#conf t
switch(config)#line vty 0 15
switch(config-line)#password whatever
switch(config-line)#login
switch(config-line)#end
switch#wr

Burt
 
Here's what I get. For examply purposes, I changed the switch name to switch, and of course the password:

Password:
switch>ena
Password:
switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#line vty 0 15
switch(config-line)#password
^
% Invalid input detected at '^' marker.

flmsw01(config-line)#
 
Returns the following:

Line configuration commands:
access-class Filter connections based on an IP access list
autocommand Automatically execute an EXEC command
autocommand-options Autocommand options
data-character-bits Size of characters being handled
databits Set number of data bits p
default Set a command to its defaults
domain-lookup Enable domain lookups in show commands
editing Enable command line editing
escape-character Change the current line's escape character
exec Start an EXEC process
exec-banner Enable the display of the EXEC banner
exec-character-bits Size of characters to the command exec
exec-timeout Set the EXEC timeout
exit Exit from line configu
flowcontrol Set the flow control
full-help Provide help to unprivileged user
help Description of the interactive help system
history Enable and control the command history function
international Enable international 8-bit character support
ip IP options
length Set number of lines on a screen
location Enter terminal location description
logging Modify messa
login Enable password checking
modem Configure the Modem Control Lines
monitor Copy debug output to the current terminal line
motd-banner Enable the display of the MOTD banner
no Negate a command or set its defaults
notify Inform users of output from concurrent sessions
padding Set padding for a specified output character
parity Set terminal parity
password Set a password
privilege Change privilege level for line
refuse-message Define a refuse banner
rotary Add line to a rotary group
rxspeed Set the receive speed
session-timeout Set interval for closing connection when there is no
input traffic
special-character-bits Size of the escape (and other special) characters
speed Set the transmit and receive speeds
start-character Define the start character
stop-character Define the stop character
stopbits Set async line stop bits
terminal-type Set the terminal type
timeout Timeouts for the line
transport Define transport protocols for line
txspeed Set the transmit speeds
vacant-message Define a vacant banner
width Set width of the display terminal

flmsw01(config-line)#
 
And it won't take the "password"???

flmsw01(config-line)#password bla
Like that?
Weird...can you try it the other way around? First do the "login" command...
Wait---are you an admin in that router? Are you consoled in? It could be that whomever was there before could have set the privelege levels low, so that a console session (or whatever session you're trying this from) cannot do that command. Please post a sh run.

Burt
 
I was entering the actual password, not password "actual password". Sorry, I'm a Cisco amateur! Hopefully my CCNA training in Jan. will change that. Thanks everybody for all your help on this. I really appreciate it.
 
Cool, good deal. The "?" is very helpful in Cisco devices. Also know that as soon as you hit enter after a command in a Cisco device, it takes place right away.

Burt
 
Will these same commands work on cisco routers as well?
 
For passwords the syntax is the same for all "IOS" devices, so this will work on routers as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top