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.

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

The default is TCP port number 23. You can create a session using Telnet<br />

with a different TCP port number, if needed, and you can assign up to eight<br />

IP addresses to a hostname.<br />

Here is an example of configuring a host table with two entries to resolve<br />

the names for the 2501B router and the switch:<br />

Todd2509#config t<br />

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

CNTL/Z.<br />

Todd2509(config)#ip host ?<br />

WORD Name of host<br />

Todd2509(config)#ip host 2501B ?<br />

Default telnet port number<br />

A.B.C.D Host IP address (maximum of 8)<br />

Todd2509(config)#ip host 2501B 172.16.10.2 ?<br />

A.B.C.D Host IP address (maximum of 8)<br />

<br />

Todd2509(config)#ip host 2501B 172.16.10.2<br />

Todd2509(config)#ip host switch 192.168.0.148<br />

Todd2509(config)#^Z<br />

To see the host table, use the show hosts command.<br />

Todd2509#sh hosts<br />

Default domain is not set<br />

Name/address lookup uses domain service<br />

Name servers are 255.255.255.255<br />

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

2501B (perm, OK) 0 IP 172.16.10.2<br />

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

Todd2509#<br />

In the preceding router output, you can see the two hostnames and their<br />

associated IP addresses. The perm in the Flags column means that the entry<br />

is manually configured. If it said temp, it would be an entry resolved by DNS.

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

Saved successfully!

Ooh no, something went wrong!