Installation guide

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
35
Cisco IOS Release 12.3(8)T4
OL-6454-01
Enabling Cisco Discovery Protocol
To enable Cisco Discovery Protocol (CDP) globally, use the following command in global configuration
mode:
Verifying the CDP Global Configuration
Use the show cdp command to verify the CDP configuration:
Router# show cdp
Global CDP information:
Sending CDP packets every 120 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Router#
Enabling CDP on an Interface
To enable CDP on an interface, use the following command in interface configuration mode:
The following example shows how to enable CDP on Fast Ethernet interface 0/1/1:
Router(config)# interface fastethernet 0/1/1
Router(config-if)# cdp enable
Verifying the CDP Interface Configuration
Use the show cdp interface 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#
Verifying CDP Neighbors
Use the show cdp neighbors command to verify information about the neighboring equipment:
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#
Command Purpose
Router(config)# cdp run
Enables CDP globally.
Command Purpose
Router(config-if)# cdp enable
Enables CDP on an interface.