05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

352 Chapter 7 � Managing a <strong>Cisco</strong> Internetwork<br />

As you can see, I didn’t set my passwords—how embarrassing! Remember<br />

that the VTY ports on a router are configured as login, which means<br />

you must either set the VTY passwords or use the no login command. (See<br />

Chapter 4 for details on setting passwords.)<br />

On a <strong>Cisco</strong> router, you do not need to use the telnet command. If you<br />

just type in an IP address from a command prompt, the router will assume<br />

that you want to telnet to the device, as shown below:<br />

Todd2509#172.16.10.2<br />

Trying 172.16.10.2 ... Open<br />

Password required, but none set<br />

[Connection to 172.16.10.2 closed by foreign host]<br />

Todd2509#<br />

It’s time to set VTY passwords on the router I want to telnet into. Here is<br />

an example of what I did:<br />

2501B#config t<br />

Enter configuration commands, one per line. End with<br />

CNTL/Z.<br />

2501B(config)#line vty 0 4<br />

2501B(config-line)#login<br />

2501B(config-line)#password todd<br />

2501B(config-line)#^Z<br />

2501B#<br />

%SYS-5-CONFIG_I: Configured from console by console<br />

Now, let’s try connecting to the router again (from the 2509 router<br />

console).<br />

Todd2509#172.16.10.2<br />

Trying 172.16.10.2 ... Open<br />

User Access Verification<br />

Password:<br />

2501B>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!