Professional Documents
Culture Documents
CCNA Basics
1/10
1/10/2015
http://ccnabasics.com/category/e-remote-configurations/
2/10
1/10/2015
When you press enter again after executing the above step, SSH will be enabled.
http://ccnabasics.com/category/e-remote-configurations/
To verify
working of
SSH, use
3/10
1/10/2015
Line vty 0 15
Login local
4/10
1/10/2015
5.2 TELNET
A telnet application allows you to log in and configure your router remotely. If you use Telnet, then you
wont need to sit next to your router, configuring it via the console port. Its a handy tool. However, the
use of telnet involves some security risks. Telnet sends all information unencrypted, in clear text, across
your network. This means that anybody may be able to capture your data with a network analyzer
and obtain your passwords, router configuration, or other sensitive information.
To use TELNET, you need a router connected to a PC. It is important to note that both devices must be
able to communicate with each other, this means that both devices should be on same network.
Accordingly, assign an IP address to both the devices.
EXAMPLE: let us connect a router and a PC such that both devices operate on network of 192.168.10.0
(CLASS C network).
The routers interface connecting the PC has IP address: 192.168.10.1 and the PC has IP address:
192.168.10.2 with subnet mask: 255.255.255.0 and default gateway: 192.168.10.1 (IP address of router).
CONFIGURING TELNET ON YOUR ROUTER
CAUTION:
A device must have two passwords for a remote user to be able to make changes to your configuration:
Line vty password
Enable or enable secret password
Without the enable or enable secret password, a remote user will only be able to get to user mode, not
to privileged mode. This is extra security.
STEP 1: SET YOUR PRIVILEGED EXEC MODE PASSWORD
We have already discussed how to set enable or enable secret password, so follow those steps to set a
password to privileged exec mode.
In the example above, let the secret password be set to cisco as shown in figure below:
http://ccnabasics.com/category/e-remote-configurations/
5/10
1/10/2015
http://ccnabasics.com/category/e-remote-configurations/
6/10
1/10/2015
http://ccnabasics.com/category/e-remote-configurations/
7/10
1/10/2015
8/10
1/10/2015
You can list all active consoles and VTY ports in use on your router with the sh users command in
privileged exec mode.
In the figure shown above, vty port 1 is idle and console was being used. To telnet through port 1 of
vty, you can enter it by typing 1 in privileged exec mode. 1 is the idle vty port number. How I enter
vty port 1 is shown in figure below.
I will check active users again by using command sh users in privileged exec mode.
Router> exit
Router> logout
http://ccnabasics.com/category/e-remote-configurations/
9/10
1/10/2015
Follow
http://ccnabasics.com/category/e-remote-configurations/
10/10