| CCNAGURU.com
| CCNA Articles
| CCNA
- CCNP Articles | CCNP
Articles | Network+
| CCNA Training - CCNP
Training Exams |
||||||||||||
Cisco CCENT 640-822 Certification Exam Training : Telnet And VTY Line Passwords |
||||||||||||
Knowing the benefits and potential issues with Telnet connections is not only an important part of your CCNA and CCENT studies, but this is knowledge that's very practical for use in production networks. When you're connecting to a Cisco router or switch, you're going to use one of two methods: - Physically connecting a laptop to the switch We're going to telnet from one Cisco router to another in this example, but there is one major rule that holds true for any Telnet configuration on a Cisco router or switch: You must configure a password, and without a password, no user will be able to telnet to a Cisco router or switch! In the following example, I've attempted to telnet to a Cisco router that has no VTY line password set. R1#telnet 172.12.123.3 In another CCNA / CCENT tutorial, we saw that the console port didn't require a password. There is a little basic security in place when using the console port, since the user has to physically be present in order to access the router. Hopefully your server room has enough physical security in place to prevent someone from just walking in and connecting to a router! With Telnet connections, though, the user doesn't have to be present - that's the reason we use it in the first place! We certainly don't want just anyone connecting to our network, so Cisco routers and switches require a password to be set for Telnet access; failure to set one results in a message like the one we just saw. So... let's set a Telnet password! On a Cisco router, the password portion of the configuration will look almost the same as it does on a switch. line con 0 To configure a Telnet password, we need to concern ourselves with that "line vty 0 4" section. The vty lines are the virtual terminal lines, and it's those lines that are used for Telnet. To configure a password on all five vty lines at once, just use this configuration: R3(config)#line vty 0 4 Now what happens when we try to telnet from R1 to R3 again? R1#telnet 172.12.123.3 Success! We were prompted for the password, and after we entered it, we're now in R3 as indicated by the prompt. About the password entry process...some vendors have asterisks appear as you enter a password, but Cisco routers and switches do not. You will not see any characters appear as you enter that password. Take a look at the prompts in the password entry example. Note that R1 has a pound sign after "R1", but that R3 has a "greater than" symbol. Before we continue our Telnet discussion, we're going to talk about router and switch modes and what those particular symbols indicate.
By Chris Bryant, CCIE #12933
|
More
Resource Updated : CCNAGURU.com Finding out for real updated CCNA, CCNP Exam Questions it can help for your success to get CCNA Certification or CCNP Certification in a little time, for your success!!! |
|||||||||||
Spread the word
|
||||||||||||
| Copyright © 2007 WWW.CCNAGURU.COM CCNA Training - CCNP Training Certification Exam | ||||||||||||