Académique Documents
Professionnel Documents
Culture Documents
assigned to the interface which the CDP frame was sent out.
##############################################################################
Step 3.
Using only R1, determine the port R1 is connected to on SW1. To obtain t
his information you can use either the show cdp neighbors or 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
SW1
R1#
Local Intrfce
Fas 0/0
Holdtme
125
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
R1#
Local Intrfce
Holdtme
###########################################################################
Step 6.
Change the default timers on both R1 and SW1 from 60/180 to 15/45 and ve
rify your configuration changes. To make these changes you will use the cdp time
r and cdp holdtime commands in global configuration. To verify the changes made
use the show cdp command in user or privileged mode as shown below;
R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#cdp timer 15
R1(config)#cdp holdtime 45
R1(config)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#show cdp
Global CDP information:
Sending CDP packets every 15 seconds
Sending a holdtime value of 45 seconds
Sending CDPv2 advertisements is enabled
R1#