Wednesday

Configuring Telnet

Telnet is used as a way of connecting to a device remotely and in the case of cisco devices it is used to remotely view and make changes to device configuration.

To setup telnet access into a cisco device there are a number of commands involved:
1.      
Router# configure terminal
Router(config)# line vty 0 4
Router(config-line)# password cisco
Router(config-line)# exec-timeout 20
Router(config-line)# login
Router(config-line)# exit

The line vty 0 4 command is used to configure telnet and define the number of users that connect to the device at once. 0 4 means that 5 users can connect at any one time – 0,1,2,3,4. If you used the command line vty 0 9 it would mean that 10 users would be able to connect simultaneously.

The exec-timeout command specifies the number of minutes until the telnet connection is dropped if it’s not being used.

The login command specifies that the password must be used for the user to telnet into the device.
If you typed no login instead of login then no password would be required.

** You also need to make sure that the device that you are telneting into has an enable password so that you can access the privileged exec mode via telnet.
Router# configure terminal

Router(config)# enable password cisco

  © Blogger template 'A Click Apart' by Ourblogtemplates.com 2008

Back to TOP