Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 7,765 Authors
70,436 Quality Articles
& 6,179 Current Users Online!
Featured Authors
Connor Davidson (5,131)
Joel Hendon (16,285)
Ben Morrish (7,936)
Steve Kovacs (4,545)
Sandra E. Graham (7,883)
Fran Larson (2,271)
Shari Vaudo (418)
David Tanguay (9,577)
Michael Ramzy (633)
Missing Link (766)
E. Raymond Rock (3,068)
Gregory Lewis (1,603)
Nancy Daniels (1,550)
Mark Parsec (15,056)

View All Featured Authors
Most Recent
Computer Training for Microsoft Systems Considered

Finding The Right MCSA Course Uncovered

Where To Do Your Adobe Web Design Course Clarified

Microsoft SQL Computer Training Companies Described

Considering Cisco CCNA Retraining Insights

Home Based MCSE Training Explained

Adobe CS4 Design Training Around The UK - Thoughts

CompTIA Network Plus Support Training - Update

Careers Training for Adobe Web Design Insights

CompTIA A Plus Retraining Courses Revealed

Home » Categories » Computers & Networking » Technical Certification » Cisco CCNA Certification: Everything You Need To Know About Telnet! » Printer Friendly

Cisco CCNA Certification: Everything You Need To Know About Telnet!

Rated 4 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Friday, May 27, 2005
Chris Bryant CCIE 12933 (13,765)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


Telnet is a simple yet powerful program that allows you to connect to a remote Cisco router or switch, and then configure it as though you were right at the console. Telnet is also one of those features that seems so very simple, until you get asked a half dozen questions about it on your CCNA exams. As with all topics, it’s the details you know about Telnet that will help you pass the Intro and ICND exams.

Let’s take a look at a few of these details. We’ll begin by debunking one common belief about Telnet:

Telnet runs at layer 7 of the OSI model, not layer 3!

It’s easy to think that Telnet runs at Layer 3 of the OSI model, the Network layer. After all, you’re entering an IP address when you telnet in to a router or switch, and you may be on another router when you do it! None of that matters. Layer 3 is strictly the domain of routing. Like other features that require input from the end user, especially authentication, Telnet runs at the Application layer of the OSI model.

Speaking of authentication….

Cisco routers require a password to be set before anyone can telnet in.

Cisco routers can run quite a few passwords. We can set an enable password, an enable secret, an enable secret and enable password, a password for PPP connections, and even a console password.

All of those are optional, but the telnet password is not. Makes sense – you wouldn’t want just anyone telnetting into your router, would you?

If you have no password set on the VTY lines of your router, no one can telnet in. If they try, they’ll see this message:

R1#telnet 3.3.3.3

Trying 3.3.3.3 ... Open

Password required, but none set

[Connection to 3.3.3.3 closed by foreign host]

To allow telnet access into a Cisco router, configure the VTY lines with a password and the login command:

R3#conf t

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

R3(config)#line vty 0 4

R3(config-line)#login

% Login disabled on line 2, until 'password' is set

% Login disabled on line 3, until 'password' is set

% Login disabled on line 4, until 'password' is set

% Login disabled on line 5, until 'password' is set

% Login disabled on line 6, until 'password' is set

R3(config-line)#password cisco

Note the messages you get after enabling login. These messages simply indicate that the login won’t work until a password is set. The order with which you use the login and password commands don’t matter just make sure you use them both.

We’re not quite done, though. The remote user can now telnet in, but by default, that user will be placed into user exec mode. If the user is to be allowed to enter privileged exec mode during a telnet session, an enable password or enable secret must be set.

R1#telnet 3.3.3.3

Trying 3.3.3.3 ... Open

User Access Verification

Password:

R3>enable

% No password set

R3>

The user is stuck in user exec until you set a local enable password. Doing so will allow the user to use that password to enter privileged exec mode.

R3#conf t

R3(config)#enable password ccna

R3(config)#^Z

R1#telnet 3.3.3.3

Trying 3.3.3.3 ... Open

User Access Verification

Password: < user entered cisco here>

R3>enable

Password: < user entered ccna here >

R3#

The user is now in privileged exec mode. There’s also another method to use so the user is placed directly into privileged exec mode when telnetting in, avoiding the enable password prompt. Use the command privilege level 15 on the VTY lines to do so.

R3#conf t

R3(config)#line vty 0 4

R3(config-line)#privilege level 15

R1#telnet 3.3.3.3

Trying 3.3.3.3 ... Open

User Access Verification

Password: < user entered VTY line password here >

R3#

Note that the user went straight to privileged exec mode.

Managing Telnet Connections

We already know how to use Telnet (a layer 7 application) to access a remote device there are also commands that help us manage telnet connections.

show sessions" is a common command to see what current telnet sessions are operating.

Telnet sessions do not have to be exited they can be suspended as well. The command to suspend the Telnet session is followed by striking the “X" key.

To resume this telnet session, enter the resume command followed by the session number (“resume 1") and press .

To end a suspended telnet session, enter the disconnect command followed by the session number (“disconnect 1") and press .

__________________________________________

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of over 100 free certification exam tutorials, including Cisco CCNA certification test prep articles. His exclusive Cisco CCNA study guide and Cisco CCNA training is also available!

Visit his blog and sign up for Cisco Certification Central, a daily newsletter packed with CCNA, Network+, Security+, A+, and CCNP certification exam practice questions! A free 7-part course, “How To Pass The CCNA", is also available, and you can attend an in-person or online CCNA boot camp with The Bryant Advantage!




Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 4,716 times.
Article added to SearchWarp.com on 5/27/2005 11:10:24 AM.
View other articles written by Chris Bryant CCIE 12933 (13,765)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Certification: Static And Default Static Routes

Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

Cisco CCNA / CCNP Home Lab Tutorial: Access Server Configuration

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNP / BSCI Exam Tutorial: EIGRP Route Summarization

Cisco CCNA Exam Tutorial: Five OSPF Details You Must Know!

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA Exam Tutorial: The Best Time To Schedule Your Exam Is ....

Viewed from Cache. Load Time: 0.031.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company