Configure router as a terminal server or an access server

In this tutorial we will learn how to configure router as a terminal server or an access server.Here in below diagram Router0 is working as a terminal server or you can say an access server.

So what this actually mean?

It means if a client seating on PC0 will try to login to router r1, r2,r3,r4 or r5 he/she cannot be able to access these routers directly,he/she must have to go through Router0 which is an access server.

router as terminal server

 

 

Now i am going to start configuring Access-Server:

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host ACCESS-SERVER

ACCESS-SERVER(config)#int fa0/0

ACCESS-SERVER(config-if)#ip add 1.0.0.254 255.0.0.0

ACCESS-SERVER(config-if)#no shutdown

 

ACCESS-SERVER(config)#ip domain-name cisco.com

ACCESS-SERVER(config)#crypto key generate rsa

The name for the keys will be: ACCESS-SERVER.cisco.com

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

How many bits in the modulus [512]: 1024

% Generating 1024 bit RSA keys, keys will be non-exportable…[OK]

ACCESS-SERVER(config)#ip ssh version 2

*Mar 1 0:5:21.334: %SSH-5-ENABLED: SSH 1.99 has been enabled

ACCESS-SERVER(config)#username satish pr 15 password cisco

ACCESS-SERVER(config)#line vty 0 4

ACCESS-SERVER(config-line)#login local

ACCESS-SERVER(config-line)#transport input ssh

ACCESS-SERVER(config-line)#exit

 

Now after configuring access server its time to Troubleshoot:

ACCESS-SERVER(config)#do show line

Tty Line Typ Tx/Rx A Roty AccO AccI Uses Noise Overruns Int

* 0 0 CTY – – – – 0 0 0/0 –

1 1 AUX 9600/9600 – – – – 0 0 0/0 –

0/0/0 2 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/1 3 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/2 4 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/3 5 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/4 6 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/5 7 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/6 8 TTY 9600/9600 – – – – 0 0 0/0 –

0/0/7 9 TTY 9600/9600 – – – – 0 0 0/0 –

194 194 VTY – – – – 0 0 0/0 –

195 195 VTY – – – – 0 0 0/0 –

196 196 VTY – – – – 0 0 0/0 –

197 197 VTY – – – – 0 0 0/0 –

198 198 VTY – – – – 0 0 0/0 –

Line(s) not in async mode -or- with no hardware support:

10-193

 

Now again go to ACCESS SERVER or TERMINAL SERVER ROUTER:

ACCESS-SERVER(config)#line tty 2 4

ACCESS-SERVER(config-line)#login local

ACCESS-SERVER(config-line)#transport input ssh

ACCESS-SERVER(config-line)#exit

 

Now go to pc and from pc login to ACCESS-SERVER or TERMINAL-SERVER ROUTER using SSH.

pc>ipconfig

pc>ssh -l satish 1.0.0.254

ACCESS-SERVER#

 

Now you can see you have successfully loged in to ACCESS_SERVER ROUTER.

 

Now FROM ACCESS-SERVER ROUTER We will login to Other routers r1,r2,r3 0r r4.See How..

ACCESS-SERVER#ssh -l satish:2 1.0.0.254

 

Explanation of above command: Now you can see above command will take you too router r1.

 

 

 

To logout from r1 router go terminal router and type below comand

 

ACCESS-SERVER#clear line tty 2

[confirm]

[OK]

ACCESS-SERVER#

 

 

If you find any error or you are unable to configure this lab successfully you can see this video.

2 thoughts on “Configure router as a terminal server or an access server

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.