Login command with cisco

callonme

Junior Member
Aug 27, 2004
1
0
0
I configured a router with the following command:

line vty 0 4
password password
login

Now when I try to telnet into that router is asks me for a username.But I didnt set a user name.So how do I login?
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Originally posted by: callonme
I configured a router with the following command:

line vty 0 4
password password
login

Now when I try to telnet into that router is asks me for a username.But I didnt set a user name.So how do I login?

well that certainly is a new one.

what is the model? Maybe try a console cable?
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
try the hostname as the username?

ASsuming htat you didn;t get lucky, you have to go via the console port like Spidey stated.
 

Pheran

Diamond Member
Apr 26, 2001
5,740
35
91
Sounds to me like the router also has "aaa new-model" configured, plus possibly some other aaa settings which will make it want a username/password. If there are no users configured on the router, you are pretty much screwed - the console is likely to do the same thing (but it's worth a shot). You'll probably have to use the password recovery procedure to break in.
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
In the event that the console is also configured for username, try the AUX port.

It is a frequent failing for administrators; they forget to put authentication commands on the AUX port.

The AUX port is also autosensing DCE/DTE (modem / terminal).

Otherwise, follow the procedure for Password Recovery to get back into the router.

Good Luck!

Scott