Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: line vty 0 4 error

line vty 0 4 error 11 years 2 months ago #21940

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

Re: line vty 0 4 error 11 years 2 months ago #21942

  • Smurf
  • Smurf's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1390
  • Karma: 1
  • Thank you received: 0
Just use login on its own. The password is used to specify the password.

Re: line vty 0 4 error 11 years 2 months ago #21946

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

Re: line vty 0 4 error 11 years 2 months ago #22031

What is the model of this device?

Re: line vty 0 4 error 11 years 2 months ago #22033

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13
Try using 'login local' and simply set a username/password in the priv. configuration mode. That should work.

Cheers,
  • Page:
  • 1
Time to create page: 0.214 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup