Monday 2 December 2013

Configuring Cisco Discovery Protocol (CDP)

Real World Application & Core Knowledge:

Cisco Discovery Protocol every day by network engineers worldwide record and all understand the physical network topology and not stall. CDP runs on the 2nd layer of the OSI model and exchanging information between IP addresses of most Cisco devices, physical link connection port identifier, interface device IOS version, device capabilities, such as the native VLAN, duplex and VTP management domain.


In this lab, you will familiarize yourself with the following command;

Lab Prerequisites:

  • Than load if you use GNS3 CCNA free Binder GNS3 topology than starting system R1 and SW1
  • Building R1 and SW1 configuration console sessions respecting the hostname of the device (s).
  • IP addresses configured on R1 ′ s FastEthernet0/0 interface 192.168.255.1/24
  • SW1 ′ s Vlan1 interface configuration on IP address 192.168.255.254/24.
Lab Objectives:

  • Use only R1, determine if SW1 IOS feature set and version that is running on.
  • Use only the SW1, determine the IP address of R1 through CDP learned.
  • Use only R1, determine the ports of R1 is connected to SW1.
  • Use only R1, determine if the native VLAN and VTP domain are on the R1 is connected directly to the switch ports.
  • Clear R1 on the CDP table, and verify that it has been cleared; ex post facto verifying R1 relearns about the SW1.
  • Change the default timer R1 and SW1 from one to sixty-one hundred and eightieths and verify that your configuration changes.
Lab Instruction:

Step 1. Use the only the R1, determine if SW1 IOS feature set and version that is running on. To determine this information in user or privileged mode, as shown below on the R1 show CDP neighbors detail command is executed.

R1>show cdp neighbors detail
-------------------------
Device ID: Router
Entry address(es): 
Platform: Cisco 3640,  Capabilities: Router Switch IGMP 
Interface: FastEthernet0/0,  Port ID (outgoing port): FastEthernet0/1
Holdtime : 134 sec
Version :
Cisco IOS Software, 3600 Software (C3640-JK9O3S-M), Version 12.4(13a),
RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 06-Mar-07 20:25 by prod_rel_team
advertisement version: 2
VTP Management Domain: ''
Duplex: full
R1>

The statement as shown above with the bottom line SW1; run the enterprise/FW/ID plus IPSEC 3DES version 12.4 (13A).

Step 2. Use only the SW1, determine the IP address of R1 through CDP learned. To obtain this information, you will use the show CDP neighbors detail command on SW1 in user or privileged mode see below;

SW1#show cdp neighbors detail
-------------------------
Device ID: R1
Entry address(es): 
  IP address: 192.168.255.1
Platform: Cisco 3725,  Capabilities: Router Switch IGMP 
Interface: FastEthernet0/1,  Port ID (outgoing port): FastEthernet0/0
Holdtime : 168 sec
Version :
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version
12.4(15)T14, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 17-Aug-10 12:08 by prod_rel_team
advertisement version: 2
VTP Management Domain: ''
Duplex: full
SW1#

The statement as shown above with the bottom line R1 has an IP address assigned to the interface of the CDP frame is sent out 192.168..

Step 3. Use the only the R1, determine the ports of R1 is connected to SW1. To obtain this information or CDP neighbor display you can use the show CDP neighbors detail command.

R1#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
SW1                  Fas 0/0             125           R S I         3640           Fas 0/1
R1#

Step 4. Use the only the R1, determine if the native VLAN and VTP domain are on the R1 is connected directly to the switch ports. This information is by using the show CDP neighbors detail command is shown below;

The statement as shown on the bottom line; the VTP domain is empty. This so-called "Null" it just means that there is no VTP domain has been posted on the exchanger Configuring CDP on the frame. R1 is connected directly to the switch port number of the native VLAN is VLAN 1.

Step 5. Clear the CDP table of R1 and verify that it has been cleared; verify R1 relearns SW1. To clear the CDP table clears CDP table command in privileged mode, as shown below followed by verification;

R1#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
SW1                    Fas 0/0            173         R S I         2650XM      Fas 1/0
R1#clear cdp table
R1#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
R1#

Step 6. Change the default timer on the R1 and SW1 from one to sixty-one hundred and eightieths and verify that your configuration changes. To make these changes using CDP timer and CDP Holdtime global configuration command. To verify that the changes in the user or privileged mode, use the show CDP command, as shown below;

0 comments:

Post a Comment