Cisco CCNA

Tag: cisco practice

Cisco CCNA Certification The Hidden Details Of Telnet

by admin on May.29, 2009, under Cisco CCNA Study

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 Cisco 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 Cisco  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 ccna

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: cisco ccna
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> cisco ccna
R3>enable
Password: < user entered ccna here > cisco ccna
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 > cisco ccna
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 .

1 Comment :, , more...

Cisco CCNA Practice Exam Questions And Answers

by admin on Apr.29, 2009, under Cisco CCNA Study

Cisco CCNA Practice Exam Questions And Answers

Here are some free Cisco CCNA exam questions to get you thinking. We are going to ensure you are clear on router memory types. It is very easy to get tripped up on these types of questions in the Cisco CCNA exam due to pressure of time.

Let’s test your knowledge of Etherchannels, Voice protocols, and other important Cisco CCNA certification exam topics with these practice exam questions!
Cisco CCNA Certification:

1.You’ve just successfully bundled three separate physical trunks into an Etherchannel. What is the net effect on the overall port cost of these links?
A. The Etherchannel will have a single port cost, and it will be lower than that of the separate links.
B. The Etherchannel will have a single port cost, and it will be higher than that of the separate links.
C. The Etherchannel will have a single port cost roughly equivalent to that of the separate links.
D. Etherchannels do not have port costs.
Answer: A. The Etherchannel will appear in various Cisco switch commands as “port-channel0″, and this virtual interface will appear with a lower port cost than the individual switch ports did previous to the bundling.

2.What is the numeric value assigned to the highest devices in an NTP hierarchy?
Answer: Zero, or “stratum zero” to be more precise.

3.Which of the following is true of H.323?
A. It’s Cisco-proprietary.
B. It’s considered a “mature” protocol.
C. It does not support many recent VoIP features.
D. Cisco IP Phones do not support this protocol.
Answers: B, D. H.323 is an industry-standard protocol, not Cisco-proprietary.

4. Where is the router running-configuration file stored?
A. ROM
B. DRAM
C. EEPROM
D. NVRAM
Answer: B. The running config is only needed while the router is live and so DRAM is used. If you want to save the current running config you save it using the ‘copy run start’ command which saves it to NVRAM.

5. Where is the router IOS file stored?
A. ROM
B. DRAM
C. EEPROM
D. NVRAM
Answer: C. The IOS is stored in EEPROM or Flash memory. It can be wiped or have more than one IOS image stored on it.

6. Where is the router startup configuration file stored?
A. ROM
B. DRAM
C. EEPROM
D. NVRAM
Answer: D. NVRAM. The IOS is stored in EEPROM or Flash memory. It can be wiped or have more than one IOS image stored on it.

7. Where is the router boot strap file stored?
A. ROM
B. DRAM
C. EEPROM
D. NVRAM
Answer: A. The boot strap (or rommon image) is stored in ROM. It cannot be wiped.
8. Which memory is used for to buffer packets and store routing tables?
A. ROM
B. DRAM
C. EEPROM
D. NVRAM
Answer: B. DRAM is used to temporarily store packets, the routing table is also stored here.

1 Comment :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...