Specifications
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
52
Example
Use the show cdp command to verify the CDP configuration for an interface.
Router# show cdp interface fastethernet 0/1/1
FastEthernet0/1/1 is up, line protocol is up
Encapsulation ARPA
Sending CDP packets every 120 seconds
Holdtime is 180 seconds
Router#
Router# 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
tftp-switch Fas 0/0 125 R S I 2811 Fas 0/3/6
hwic-3745-2 Fas 0/1/0 149 R S I 3745 Fas 0/1
Router#
Monitoring and Maintaining CDP
Use the following commands to monitor and maintain CDP on your device.
SUMMARY STEPS
1. enable
2. clear cdp counters
3. clear cdp table
4. show cdp
5. show cdp entry entry-name [protocol | version]
6. show cdp interface interface-id
7. show cdp neighbors interface-id [detail]
8. show cdp traffic
Step 5
end
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 6
show cdp interface interface-id
Example:
Router# show cdp interface
Verifies the CDP configuration on the interface.
Step 7
show cdp neighbors
Example:
Router# show cdp neighbors
Verifies the information about the neighboring equipment.
Command or Action Purpose