0% found this document useful (0 votes)
63 views10 pages

Cisco Discovery Protocol: © 2007 Cisco Systems, Inc. All Rights Reserved. ICND1 v1.0 - 6-1

Uploaded by

Dang Khue
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views10 pages

Cisco Discovery Protocol: © 2007 Cisco Systems, Inc. All Rights Reserved. ICND1 v1.0 - 6-1

Uploaded by

Dang Khue
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Cisco Discovery Protocol

CDP

f0/0

f0/0

R1

f0/1

f0/1

?
Port ID fa0/0 f0/1

R1# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce SwitchA fa0/0 RouterB fa0/1 Holdtme 122 177 Capability S I R S I Platform WS-C2960 2811

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-1

CDP

CDP
f0/0 f0/0

CDP

R1

f0/1

f0/1

router# show cdp Global CDP information: Sending CDP packets every 60 seconds Sending a holdtime value of 180 seconds Sending CDPv2 advertisements is enabled

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-2

CDP

f0/0

R1

f0/1

R1# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce SwitchA fa0/0 RouterB fa0/1 Holdtme 122 177 Capability S I R S I Platform WS-C2960 2811 Port ID fa0/0 f0/1

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-3

CDP

R1

f0/1 [Link]/25

f0/0 [Link]/25

R1# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce RouterB fa0/1 Holdtme 177 Capability R S I Platform 2811 Port ID f0/0

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-4

CDP

Physical media must support the SNAP (Subnetwork Access Protocol) encapsulation

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-5

Discovering Neighbors with CDP


Summary information includes: 1. Device identifiers (hostname) 2. Platform (2950, 2960, 3560, 3550) 3. Capabilities list (R S I) R (Router) S (Switch) I (IGMP)

4. Local Interface
5. Port identifier 6. Neighbors IOS version 7. IP neighbors

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-7

Command

RouterA# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce SwitchA fa0/0 RouterB s0/0/0 Holdtme 122 177 Capability S I R S I Platform Port ID WS-C2960- fa0/2 2811 s0/0/1

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-8

RouterA# show cdp neighbors detail ------------------------Device ID: R2 Entry address(es): IP address: [Link] Platform: Cisco 3725, Capabilities: Router Switch IGMP Interface: FastEthernet0/0, Port ID (outgoing port): F0/0 Holdtime : 127 sec Version : Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T5, RELEASE SOFTWARE (fc4) Technical Support: [Link] Copyright (c) 1986-2008 by Cisco Systems, Inc. Compiled Wed 30-Apr-08 18:27 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Duplex: half

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-9

RouterA# show cdp entry * ------------------------Device ID: R2 Entry address(es): IP address: [Link] Platform: Cisco 3725, Capabilities: Router Switch IGMP Interface: FastEthernet0/0, Port ID (outgoing port): F0/0 Holdtime : 127 sec Version : Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T5, RELEASE SOFTWARE (fc4) Technical Support: [Link] Copyright (c) 1986-2008 by Cisco Systems, Inc. Compiled Wed 30-Apr-08 18:27 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Duplex: half

2007 Cisco Systems, Inc. All rights reserved.

ICND1 v1.06-10

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.06-11

You might also like