It320 Hmwk 4.1

Only available on StudyMode
  • Download(s): 281
  • Published: November 12, 2012
Read full document
Text Preview
IT320
IT320 Wan Technology/ Unit 4
Assignment: 4.1
1. At what layer of the OSI model does CDP operate?
Data Link layer

2. What is the primary use for CDP?
To discover information about directly connected Cisco devices

3. What network layer protocols can CDP provide information for? IP, Internetwork Packet Exchange (IPX), and AppleTalk

4. When CDP is enabled on an interface, a router (or switch) sends CDP advertisements on a regular basis, which list information about the sending router. Included in the packets are a series of Type/Length/Value, or TLV, data structures.

5. The show cdp neighbors command can be used to display one line of information about each directly connected CDP-enabled device. List the six pieces of information displayed. Device ID, local interface, holdtime, capability, platform, and port ID

6. In the topology of all Cisco devices shown in Figure 4-1, you are on Host A and consoled in to RTA. What devices can you see in the output from CDP commands? SWA, RTB, and RTC—only the directly connected devices that are attached to RTA

7. How would you gather information about other CDP-enabled devices in the network? By Telneting to those devices and using the show cdp neighbors command 8. From RTB in Figure 4-1, what devices can you see in the output from CDP commands? RTA and RTD

9. From RTC in Figure 4-1, what devices can you see in the output from CDP commands? RTA and RTD

10. From RTD in Figure 4-1, what devices can you see in the output from CDP commands? RTB, RTC, and SWB
11. cdp run Global Enables CDP globally on the router. cdp enable Interface Enables CDP on an interface. clear cdp counters Privileged EXEC mode Resets the traffic counters to 0. show cdp entry User or privileged EXEC mode Displays information about a specific neighbor.

show cdp interface User or privileged EXEC mode Displays information about interfaces on which CDP is
enabled.
show cdp neighbors [detail] User or privileged EXEC mode Displays at least six pieces of information about the neighbor
12. The cdp run command enables CDP globally on the router. By default, CDP is globally enabled. The enable cdp command enables CDP on a particular interface.
13. Fill in the appropriate commands in the configuration/output that follows: RTC(config)#cdp run_ <-- Command that will start CDP
RTC(config)#interface Ethernet 0
RTC(config-if)#no cdp enable <-- Turn off CDP on this interface RTC(config-if)#end
14. Why would you want to disable CDP on an interface or globally? CDP advertisements contain a wealth of information about your networking devices Ethernet0 is up, line protocol is upEncapsulation ARPA

Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0 is up, line protocol is up
Encapsulation HDLC
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial1 is administratively down, line protocol is down
Encapsulation HDLC
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
15. Fill in the appropriate commands in the configuration/output that follows: RTC# show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
RTC# show cdp traffic <-- Command to display cdp statistics CDP counters :
Total packets output: 70, Input: 34
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 70, Input: 34
RTC# clear cdp counters <-- Command to reset traffic statistics RTC# show cdp traffic <-- Command to display cdp statistics CDP counters :
Total packets output: 0, Input: 0
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1...
tracking img