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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

!!!!!<br />

Success rate is 100 percent (5/5), round-trip min/avg/max<br />

= 28/31/32 ms<br />

Notice that the DNS server is used by the router to resolve the name.<br />

After a name is resolved using DNS, use the show hosts command to see<br />

that the device cached this information in the host table, as shown below.<br />

Todd2509#sh hosts<br />

Default domain is lammle.com<br />

Name/address lookup uses domain service<br />

Name servers are 192.168.0.70<br />

Host Flags Age Type Address(es)<br />

2501b.lammle.com (temp, OK) 0 IP 172.16.10.2<br />

switch (perm, OK) 0 IP 192.168.0.148<br />

Todd2509#<br />

The entry that was resolved is shown as temp, but the switch device is still<br />

perm, which means that it is a static entry. Notice that the hostname is a full<br />

domain name. If I hadn’t used the ip domain-name lammle.com command,<br />

I would have needed to type in ping 2501b.lammle.com, which is a pain.<br />

Checking <strong>Network</strong> Connectivity<br />

You can use the ping and trace commands to test connectivity to<br />

remote devices. Both commands can be used with many protocols, not just IP.<br />

Using the Ping Command<br />

In this chapter, you’ve seen many examples of pinging devices to test IP connectivity<br />

and name resolution using the DNS server. To see all the different protocols<br />

that you can use with ping, use the ping ? command, as shown below.<br />

Todd2509#ping ?<br />

WORD Ping destination address or hostname

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

Saved successfully!

Ooh no, something went wrong!