cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12970
Views
0
Helpful
5
Replies

How to enable telnet on a new 1921

jalmeida73
Level 1
Level 1

Hello,

 

I was wondering if someone out here can help me with enabling "telnet" access on a new router I am trying to setup.

The router will be shipped out to one of our remote offices and I will need to connect to it via Telnet.

Current version on it is 15.2 (M6)

2 Accepted Solutions

Accepted Solutions

Depending on how the router is configured setting the password on the vty is the first and easiest way to enable telnet. If you want to do things like login local, or to enable aaa new-model then it gets a bit more complicated and you will need to configure a user name and password.

 

If the router will be shipped to a remote office be sure that you have the IP addressing set for the remote location and also the routing/default route set to work at the remote location.

 

Depending on where the remote location is, and how secure the connection is between your site and the remote site you might want to consider that SSH is much more secure for communicating to remote sites as compared to telnet.

 

HTH

 

Rick

HTH

Rick

View solution in original post

Hi jalmeida,

your setting will work but you need enable password also. so follow these settings, username and password give you a double layer security without it will work. 

enable secret cisco
username admin password cisco

 

nable secret cisco
  line vty 0 4
  password cisco
  login local 
  exit

Recommended ssh only because its remote office:

enable secret cisco
username admin password cisco

ip domain-name cisco

  hostname Router1
  crypto key generate rsa 
  1024
  ip ssh ver 2

 line vty 0 4
  transport input ssh 
  login local
  exit

Lastly, as Richard mention you need as least an interface should be configured which facing internet with default route.

Regards,

kazim

 

View solution in original post

5 Replies 5

jalmeida73
Level 1
Level 1

I believe I have figured this out.

Router(config)#line vty 0 4
Router(config-line)#password ciscopass

Was able to Telnet from a remote machine thru Putty.

Depending on how the router is configured setting the password on the vty is the first and easiest way to enable telnet. If you want to do things like login local, or to enable aaa new-model then it gets a bit more complicated and you will need to configure a user name and password.

 

If the router will be shipped to a remote office be sure that you have the IP addressing set for the remote location and also the routing/default route set to work at the remote location.

 

Depending on where the remote location is, and how secure the connection is between your site and the remote site you might want to consider that SSH is much more secure for communicating to remote sites as compared to telnet.

 

HTH

 

Rick

HTH

Rick

Richard,

Thanks for the useful pointers and suggestions!

 

Jose

Hi jalmeida,

your setting will work but you need enable password also. so follow these settings, username and password give you a double layer security without it will work. 

enable secret cisco
username admin password cisco

 

nable secret cisco
  line vty 0 4
  password cisco
  login local 
  exit

Recommended ssh only because its remote office:

enable secret cisco
username admin password cisco

ip domain-name cisco

  hostname Router1
  crypto key generate rsa 
  1024
  ip ssh ver 2

 line vty 0 4
  transport input ssh 
  login local
  exit

Lastly, as Richard mention you need as least an interface should be configured which facing internet with default route.

Regards,

kazim

 

 

Thank you Kazim.

 

Jose

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card