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.

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

Both the <strong>Cisco</strong> routers and the <strong>Cisco</strong> switches use the same parameters.<br />

The output on a router looks like this:<br />

Router#sh cdp<br />

Global CDP information:<br />

Sending CDP packets every 60 seconds<br />

Sending a holdtime value of 180 seconds<br />

Router#<br />

Use the global commands show cdp holdtime and show cdp timer to<br />

configure the CDP holdtime and timer on a router.<br />

Router#config t<br />

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

Router(config)#cdp ?<br />

holdtime Specify the holdtime (in sec) to be sent in packets<br />

timer Specify the rate at which CDP packets are sent(in sec)<br />

run<br />

Router(config)#cdp timer 90<br />

Router(config)#cdp holdtime 240<br />

Router(config)#^Z<br />

You can turn off CDP completely with the no cdp run command from<br />

global configuration mode of a router. To turn CDP off or on in a router<br />

interface, use the no cdp enable and cdp enable commands, which are discussed<br />

in more detail in the “Getting Port and Interface Information” section<br />

a bit later in this chapter.<br />

Getting Neighbor Information<br />

The show cdp neighbor command (sh cdp nei for short) shows information<br />

about directly connected devices. It is important to remember that CDP<br />

packets are not passed through a <strong>Cisco</strong> switch, and you only see what is<br />

directly attached. On a router connected to a switch, you will not see the<br />

other devices connected to the switch.

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

Saved successfully!

Ooh no, something went wrong!