Skip to content

Helpdesk tips

IT Helpdesk Tips

  • Uncategorized
  • Cisco
  • Networks
  • Hardware
  • Network Management
  • Quiz
    • Quiz – Network architecture – 10/26 questions
    • Quiz – Network operations – 10/28 questions
    • Quiz – Network security – 10/23 questions
  • Forums
Helpdesk tips

Adding password for telnet access

For access to router / switch using Telnet we use the Virtual Teletype (VTY) lines. To protect VTY port from unwanted access, we must configure password on this port. Also, if password is not configured and enabled, Telnet access will not be possible. 

Router#config t
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password newpassword

With password newpassword we can set new password for vty port, and with login we activate it. Also, we can use no password to delete password, or no login to disable it.

If you try this

Router(config)#line vty 0 ?
<0-4>  Last Line Number
<cr>
Router(config)#

you will see that you have 5 VTY lines, and it is possible to configure different password for each. You can not choose on which line you will be connected using Telnet, so different passwords can cause troubles.

To enable access without password, try this

Router(config)#line vty 0 4
Router(config-line)#no login

Do not forget always to save new settings.

It's only fair to share...Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Share on Reddit
Reddit
Email this to someone
email
Print this page
Print
Author Sunny BoyPosted on 21. 04. 2016.28. 02. 2018.Categories CiscoTags Cisco, Enable password, example, line, login, password, VTY

Post navigation

Previous Previous post: Adding password to console port
Next Next post: Adding password for AUX / auxiliary port

Tags

  • active directory
  • AD
  • Anycast
  • AS
  • Autonomous System
  • AUX
  • auxiliary port
  • Broadcast
  • Cisco
  • clipboard
  • console port
  • dsquery
  • EGP
  • enable numlock
  • Enable password
  • Enable secret
  • example
  • Exterior Gateway Protocols
  • IGP
  • Interior Gateway Protocols
  • laptop
  • Lenovo
  • line
  • login
  • membership list
  • Mouse
  • Multicast
  • net user
  • Pairing
  • password
  • Password recovery
  • path
  • Routing
  • serial number
  • Static Default Route
  • switch
  • switchport
  • Traffic Types
  • trunk
  • Ultraslim Keyboard
  • Unicast
  • VLAN
  • VTY
  • whoami
  • Windows 10
  • Uncategorized
  • Cisco
  • Networks
  • Hardware
  • Network Management
  • Quiz
    • Quiz – Network architecture – 10/26 questions
    • Quiz – Network operations – 10/28 questions
    • Quiz – Network security – 10/23 questions
  • Forums
Helpdesk tips Proudly powered by WordPress