Skip to main content

line vty 0 4 error

More
17 years 6 months ago #21940 by cjsmith22
line vty 0 4 error was created by cjsmith22
hi - probably a bit of a basic question but whats wrong with the login line below ?
A010807(config)#line con 0
A010807(config-line)# exec-timeout 30 0
A010807(config-line)# password cisco
A010807(config-line)#line aux 0
A010807(config-line)#line vty 0 4
A010807(config-line)#login cisco
^
% Invalid input detected at '^' marker.

A010807(config-line)# exec-timeout 30 0
A010807(config-line)# password cisco
A010807(config-line)# transport input telnet ssh
A010807(config-line)#!
A010807(config-line)#end
(* the ^ should be under the i in cIsco)

thanks in advance
More
17 years 6 months ago #21942 by Smurf
Replied by Smurf on topic Re: line vty 0 4 error
Just use login on its own. The password is used to specify the password.

Wayne Murphy
Firewall.cx Team Member
www.firewall.cx

Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
More
17 years 6 months ago #21946 by cjsmith22
Replied by cjsmith22 on topic Re: line vty 0 4 error
thats the line that i had originally but i was getting incomplete command error -

line con 0
A035202(config-line)# exec-timeout 30 0
A035202(config-line)# password cisco
A035202(config-line)#line aux 0
A035202(config-line)#line vty 0 4
A035202(config-line)#login
% Incomplete command.

A035202(config-line)# exec-timeout 30 0
A035202(config-line)# password cisco
A035202(config-line)# transport input telnet ssh
A035202(config-line)#!
A035202(config-line)#end
More
17 years 5 months ago #22031 by sp1k3tou
Replied by sp1k3tou on topic Re: line vty 0 4 error
What is the model of this device?
More
17 years 5 months ago #22033 by Chris
Replied by Chris on topic Re: line vty 0 4 error
Try using 'login local' and simply set a username/password in the priv. configuration mode. That should work.

Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
Time to create page: 0.131 seconds