Get My Exclusive FREE 7-Part Report,
"How To Pass The CCNA", Daily FREE
Cisco And CompTIA Exam Questions,
And All The Latest Certification News
In My Daily Newsletter!

Privacy Policy

Name:
Email:
  More Testimonials >
Visit my blog for free daily Cisco CCNA and CCNP certification questions, my latest free articles and tutorials, and more!


 

Cisco CCNP Certification Exam Training:

Reverse Telnet And IP Host Tables

By Chris Bryant, CCIE #12933

Knowing reverse telnet and how to use IP Host tables is helpful for your CCNA certification exam prep, and those of you with your own Cisco home labs may well have used reverse telnet without even knowing it!  But if you're like me, the first time I heard the term, I thought "how do you reverse the telnet process?"

Think of it this way - when you're using regular Telnet, you're accepting a connection into a line, a forward connection. 

Telnet

 

When Reverse Telnet is in use, a Telnet session is being initiated out an asynchronous line.

Reverse Telnet

Assuming the router has an ethernet0 IP address of 150.1.1.1 and the modem is connected to line 2, the syntax would be as follows:

AccessServer# telnet 150.1.1.1 2002

Trying 150.1.1.1, 2002 ...  Open

Where does the "2002" come from?  The TCP base port for the router's individual lines is 2000.  Just add the line number to 2000 and you've got the rest of the command. 

Testing the connection is just as easy.   Simply send an AT command to the router; if it responds with OK, everything really is OK!  If not, run show line 1 - if no CTS appears there, there's a problem with the physical connection.   I don't care what you're troubleshooting, we always start at Layer 1!

Finally, the Reverse Telnet session must be suspended and then terminated.  If you don't disconnect properly, the line cannot accept incoming calls because it will still be considered busy.  Or worse, another user could connect that still-active session....without being prompted for a password!

To suspend the Reverse Telnet session:  < ctrl-shift-6> < x >

To terminate the session:   AccessServer#  disconnect

The IP Host table makes Reverse Telnet sessions a little easier.  The ip host command is used to build such a table, and here's what a typical IP Host table on an access server in a home lab looks like:

ip host R3 2003 100.1.1.1
ip host R1 2001 100.1.1.1
ip host R2 2002 100.1.1.1
ip host R4 2004 100.1.1.1
ip host SW1 2005 100.1.1.1
ip host SW2 2006 100.1.1.1

The IP address in use here is a loopback interface, but it could be the ethernet address as well.  From here, all you need to do is type "R1" to connect to the device R1 via line 1 (2001).

166#r1
Trying R1 (100.1.1.1, 2001)... Open

R1#

Knowing how to use IP Host tables and reverse telnet helps you on your way to CCNP certification and makes working with your Cisco lab much easier. Have fun!

To your success,

Chris Bryant

CCIE #12933

chris@thebryantadvantage.com

 

 

The Ultimate CCNA Study Package | The Ultimate CCNA Study Guide

Binary Math And Subnetting Mastery

Cisco Rack Rentals

CCNP BSCI Exam Study Package

CCNP BCMSN Exam Study Package

CCNP BCRAN Exam Study Package

CCNP CIT Exam Study Package | CCNP BSCI Exam Study Guide

CCNA CBT Video Boot Camp | CCNP BSCI Video Boot Camp

Cisco Training Tutorials And Cisco Certification Articles

CCNP CBT BCMSN Video Boot Camp | CCNP CBT BCRAN Video Boot Camp

CompTIA Network+ Exam Study Package

CompTIA Security+ Exam Study Package

CompTIA A + Certification Exam Study Package

CCNA Training Store | CCNP Certification Training Store

CompTIA Certification Training Store

Cisco Lab Router And Switch Home Lab Help

Site Map | Home Page | Testimonials

Microsoft Windows Vista Certification Updates And News

The Bryant Advantage Blog | About Chris Bryant, CCIE #12933