SlideShare a Scribd company logo
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—-6-1
Network Environment Management
Discovering Neighbors
on the Network
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-2
Cisco Discovery Protocol
 Cisco Discovery Protocol is a proprietary utility that provides a
summary of directly connected switches, routers, and other Cisco
devices.
 Cisco Discovery Protocol discovers neighboring devices,
regardless of which protocol suite they are running.
 Physical media must support the SNAP encapsulation.
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-3
Discovering Neighbors with Cisco
Discovery Protocol
 Cisco Discovery Protocol runs on Cisco IOS
devices.
 Summary information includes:
– Device identifiers
– Address list
– Port identifier
– Capabilities list
– Platform
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-4
Using Cisco Discovery Protocol
RouterA#show cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbors entries
traffic CDP statistics
<cr>
RouterA(config)#no cdp run
RouterA(config)#interface serial0/0/0
RouterA(config-if)#no cdp enable
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-5
Using Cisco Discovery Protocol
RouterA#show cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
traffic CDP statistics
…
RouterA(config)#no cdp run
! Disable CDP Globally
RouterA(config)#interface serial0/0/0
RouterA(config-if)#no cdp enable
! Disable CDP on just this interface
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-6
Using the show cdp neighbors Command
RouterA#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
SwitchA fa0/0 122 S I WS-C2960- fa0/2
RouterB s0/0/0 177 R S I 2811 s0/0/1
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-7
Using the show cdp entry Command
Device ID: RouterB
Entry address(es):
IP address: 10.1.1.2
Platform: Cisco 2811, Capabilities: Router Switch IGMP
Interface: Serial0/0/0, Port ID (outgoing port): Serial0/0/1
Holdtime : 155 sec
Version :
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(12), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 17-Nov-06 12:02 by prod_rel_team
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-8
Additional Cisco Discovery Protocol
Commands
RouterA#show cdp traffic
CDP counters :
Total packets output: 8680, Input: 8678
Hdr syntax: 0, Chksum error: 0, Encaps failed: 5
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 8680, Input: 8678
RouterA#show cdp interface s0/0/0
Serial0/0/0 is up, line protocol is up
Encapsulation PPP
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-9
Creating a Network Map
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-10
Summary
 Cisco Discovery Protocol is an information-gathering tool used by
network administrators to obtain information about directly
connected devices.
 Cisco Discovery Protocol exchanges hardware and software
device information with its directly connected Cisco Discovery
Protocol neighbors.
 Cisco Discovery Protocol on a router can be enabled or disabled
as a whole or on a port-by-port basis.
 The show cdp neighbors command displays information about
the Cisco Discovery Protocol neighbors of a router.
 The show cdp entry, show cdp traffic, and show cdp interface
commands display detailed Cisco Discovery Protocol information
on a Cisco device.
 Using the information obtained from the show cdp command
output, a network topology map can be created to aid
troubleshooting.
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-11

More Related Content

PPT
CCNA Icnd110 s05l02
PPT
CCNA Icnd110 s05l05
PPT
Icnd210 s07l02
PPT
CCNA Icnd110 s06l03
PPT
Icnd210 s08l01
PPT
CCNA Icnd110 s06l02
PPT
CCNA Icnd110 s05l01
PPT
CCNA Icnd110 s05l04
CCNA Icnd110 s05l02
CCNA Icnd110 s05l05
Icnd210 s07l02
CCNA Icnd110 s06l03
Icnd210 s08l01
CCNA Icnd110 s06l02
CCNA Icnd110 s05l01
CCNA Icnd110 s05l04

What's hot (20)

PPT
CCNA Icnd110 s04l10
PPT
Icnd210 s06l01
PPT
Icnd210 s02l04
PPT
Icnd210 s03l01
PPT
CCNA Icnd110 s05l06
PPT
Icnd210 cag
PPT
Icnd210 s08l05
PPT
Icnd210 s03l02
PPT
CCNA Icnd110 s05l03
PPT
Icnd210 s04l01
PPT
Icnd210 s07l01
PPT
Icnd210 s04l02
PPT
Icnd210 s07l03
PPT
CCNA Icnd110 s04l06
PPT
CCNA Icnd110 s02l06
PPT
Icnd210 s01l01
PPT
Icnd210 s08l04
PPT
Icnd210 s08l02
PPT
Icnd210 s02l03
PPT
Icnd210 s02l05
CCNA Icnd110 s04l10
Icnd210 s06l01
Icnd210 s02l04
Icnd210 s03l01
CCNA Icnd110 s05l06
Icnd210 cag
Icnd210 s08l05
Icnd210 s03l02
CCNA Icnd110 s05l03
Icnd210 s04l01
Icnd210 s07l01
Icnd210 s04l02
Icnd210 s07l03
CCNA Icnd110 s04l06
CCNA Icnd110 s02l06
Icnd210 s01l01
Icnd210 s08l04
Icnd210 s08l02
Icnd210 s02l03
Icnd210 s02l05
Ad

Viewers also liked (20)

PPT
CCNA Icnd110 s02l02
PPT
Icnd210 s04l03
PPT
CCNA Icnd110 s02l04
PPT
CCNA Icnd110 s02l08
PPT
CCNA Icnd110 s04l07
PPT
CCNA Icnd110 s04l01
PDF
Icnd210 sg vol 2
PPT
CCNA Icnd110 s04l08
PPT
Icnd210 s08l03
PPT
CCNA Icnd110 s02l01
PPT
CCNA Icnd110 lg
PPT
CCNA Icnd110 s01l08
PPT
CCNA Icnd110 s01l07
PPT
CCNA Icnd110 s01l04
PPT
CCNA Icnd110 s01l03
PPT
CCNA Icnd110 s01l02
PPT
CCNA Icnd110 s01l06
PPT
Icnd210 s02l02
PPT
CCNA Icnd110 s01l05
PPT
Icnd210 lg
CCNA Icnd110 s02l02
Icnd210 s04l03
CCNA Icnd110 s02l04
CCNA Icnd110 s02l08
CCNA Icnd110 s04l07
CCNA Icnd110 s04l01
Icnd210 sg vol 2
CCNA Icnd110 s04l08
Icnd210 s08l03
CCNA Icnd110 s02l01
CCNA Icnd110 lg
CCNA Icnd110 s01l08
CCNA Icnd110 s01l07
CCNA Icnd110 s01l04
CCNA Icnd110 s01l03
CCNA Icnd110 s01l02
CCNA Icnd110 s01l06
Icnd210 s02l02
CCNA Icnd110 s01l05
Icnd210 lg
Ad

Similar to CCNA Icnd110 s06l01 (20)

PPTX
ENSA_Module_10.pptx
PPTX
CCNA_RSE_Chp10.pptx
PPTX
CCNA_RSE_Chp10-01 for Networking Engineer.pptx
PPTX
CCNA2 Verson6 Chapter10
ODP
Cisco ios-cont
PPT
managing your network environment
PPT
CCNA Router Startup and Configuration
PPT
CCNA Icnd110 cag
PPT
05 module managing your network enviornment
PPTX
Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...
PDF
PPT
PPTX
CCNA2 Verson6 Chapter1
PPT
1 Routing Concepts-students to download only.ppt
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
PPTX
CCNA3 Verson6 Chapter1
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 10
PPT
Eigrp authentication
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 1
PPT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ENSA_Module_10.pptx
CCNA_RSE_Chp10.pptx
CCNA_RSE_Chp10-01 for Networking Engineer.pptx
CCNA2 Verson6 Chapter10
Cisco ios-cont
managing your network environment
CCNA Router Startup and Configuration
CCNA Icnd110 cag
05 module managing your network enviornment
Setting up CDP (Cisco Discovery Protocol) between Cisco IOS and VMware Virtua...
CCNA2 Verson6 Chapter1
1 Routing Concepts-students to download only.ppt
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA3 Verson6 Chapter1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 10
Eigrp authentication
CCNA (R & S) Module 04 - Scaling Networks - Chapter 1
ACIT - CCNA Training Course Topic - Switch Stp ACIT

More from computerlenguyen (8)

PPT
Icnd210 s06l03
PPT
Icnd210 s06l02
PPT
Icnd210 s05l03
PPT
Icnd210 s05l02
PPT
Icnd210 s03l03
PPT
Icnd210 s02l06
PPT
Icnd210 s02l01
PPT
Icnd210 s01l02
Icnd210 s06l03
Icnd210 s06l02
Icnd210 s05l03
Icnd210 s05l02
Icnd210 s03l03
Icnd210 s02l06
Icnd210 s02l01
Icnd210 s01l02

Recently uploaded (20)

PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Computing-Curriculum for Schools in Ghana
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
01-Introduction-to-Information-Management.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Insiders guide to clinical Medicine.pdf
Cell Structure & Organelles in detailed.
TR - Agricultural Crops Production NC III.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Supply Chain Operations Speaking Notes -ICLT Program
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
VCE English Exam - Section C Student Revision Booklet
PPH.pptx obstetrics and gynecology in nursing
Computing-Curriculum for Schools in Ghana
102 student loan defaulters named and shamed – Is someone you know on the list?
01-Introduction-to-Information-Management.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf

CCNA Icnd110 s06l01

  • 1. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—-6-1 Network Environment Management Discovering Neighbors on the Network
  • 2. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-2 Cisco Discovery Protocol  Cisco Discovery Protocol is a proprietary utility that provides a summary of directly connected switches, routers, and other Cisco devices.  Cisco Discovery Protocol discovers neighboring devices, regardless of which protocol suite they are running.  Physical media must support the SNAP encapsulation.
  • 3. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-3 Discovering Neighbors with Cisco Discovery Protocol  Cisco Discovery Protocol runs on Cisco IOS devices.  Summary information includes: – Device identifiers – Address list – Port identifier – Capabilities list – Platform
  • 4. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-4 Using Cisco Discovery Protocol RouterA#show cdp ? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbors entries traffic CDP statistics <cr> RouterA(config)#no cdp run RouterA(config)#interface serial0/0/0 RouterA(config-if)#no cdp enable
  • 5. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-5 Using Cisco Discovery Protocol RouterA#show cdp ? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbor entries traffic CDP statistics … RouterA(config)#no cdp run ! Disable CDP Globally RouterA(config)#interface serial0/0/0 RouterA(config-if)#no cdp enable ! Disable CDP on just this interface
  • 6. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-6 Using the show cdp neighbors Command RouterA#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SwitchA fa0/0 122 S I WS-C2960- fa0/2 RouterB s0/0/0 177 R S I 2811 s0/0/1
  • 7. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-7 Using the show cdp entry Command Device ID: RouterB Entry address(es): IP address: 10.1.1.2 Platform: Cisco 2811, Capabilities: Router Switch IGMP Interface: Serial0/0/0, Port ID (outgoing port): Serial0/0/1 Holdtime : 155 sec Version : Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(12), RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Fri 17-Nov-06 12:02 by prod_rel_team
  • 8. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-8 Additional Cisco Discovery Protocol Commands RouterA#show cdp traffic CDP counters : Total packets output: 8680, Input: 8678 Hdr syntax: 0, Chksum error: 0, Encaps failed: 5 No memory: 0, Invalid packet: 0, Fragmented: 0 CDP version 1 advertisements output: 0, Input: 0 CDP version 2 advertisements output: 8680, Input: 8678 RouterA#show cdp interface s0/0/0 Serial0/0/0 is up, line protocol is up Encapsulation PPP Sending CDP packets every 60 seconds Holdtime is 180 seconds
  • 9. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-9 Creating a Network Map
  • 10. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-10 Summary  Cisco Discovery Protocol is an information-gathering tool used by network administrators to obtain information about directly connected devices.  Cisco Discovery Protocol exchanges hardware and software device information with its directly connected Cisco Discovery Protocol neighbors.  Cisco Discovery Protocol on a router can be enabled or disabled as a whole or on a port-by-port basis.  The show cdp neighbors command displays information about the Cisco Discovery Protocol neighbors of a router.  The show cdp entry, show cdp traffic, and show cdp interface commands display detailed Cisco Discovery Protocol information on a Cisco device.  Using the information obtained from the show cdp command output, a network topology map can be created to aid troubleshooting.
  • 11. © 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—6-11

Editor's Notes

  • #3: Note: CDP is sent using multicast frames with the MAC address 0100.0ccc.cccc.
  • #4: Emphasize: CDP is media- and protocol-independent and runs on all Cisco-manufactured equipment including routers, access servers, switches, and some managed hubs. With CDP, network management applications can retrieve the device type and SNMP agent address of neighboring devices. This capability enables applications to send SNMP queries to neighboring devices. CDP allows network management applications to dynamically discover Cisco devices that are neighbors. CDP runs on all media that support the Subnetwork Access Protocol, including LAN and Frame Relay. CDP runs over the data link layer only, not the network layer. Therefore, two systems that support different network-layer protocols can learn about each other. Cached CDP information is available to network management applications. Cisco devices never forward a CDP packet. When new information is received, old information is discarded. The holdtime determines how long to keep existing information from a neighbor.
  • #5: Note: Some of the CDP commands are not available on the Catalyst 1900 switch, like cdp run, show cdp traffic, and show cdp entry.
  • #6: Note: Some of the CDP commands are not available on the Catalyst 1900 switch, like cdp run, show cdp traffic, and show cdp entry.
  • #7: Emphasize: This graphic shows the show cdp neighbors command initiated from a router, which displays a summary of the capabilities and access details for the CDP neighbors. The show cdp neighbors detail command shows detailed information about the same devices. Note: If the neighbor is a Catalyst 1900 switch, the switch MAC address is also displayed. If the switch is a 2900xl, its MAC address is not displayed.
  • #8: Emphasize: The example shows what information can be obtained about RouterA’s neighbor. CDP is one way to learn about other Cisco devices on the network.
  • #9: Note: The holdtime indicates how long the neighbor information will be kept in the local CDP table.
  • #11: Purpose: This slide discuss the initial configurations on the routers and switches. Note: There is no setup mode on the Catalyst 1900 switch.