- Preface
- Overview of Access Point Features
- Using the Web-Browser Interface
- Using the Command-Line Interface
- Configuring the Access Point for the First Time
- Administering the Access Point
- Configuring Radio Settings
- Configuring Multiple SSIDs
- Configuring Spanning Tree Protocol
- Configuring an Access Point as a Local Authenticator
- Configuring WLAN Authentication and Encryption
- Configuring Authentication Types
- Configuring WDS, Fast Secure Roaming, Radio Management, and Wireless Intrusion Detection Services
- Configuring RADIUS and TACACS+ Servers
- Configuring VLANs
- Configuring QoS
- Configuring Filters
- Configuring CDP
- Configuring SNMP
- Configuring Repeater and Standby Access Points and Workgroup Bridge Mode
- Managing Firmware and Configurations
- Configuring L2TPv3 Over UDP/IP
- Configuring System Message Logging
- Troubleshooting
- Protocol Filters
- Supported MIBs
- Error and Event Messages
- Glossary
Configuring CDP
This chapter describes how to configure Cisco Discovery Protocol (CDP) on your access point.
Note For complete syntax and usage information for the commands used in this chapter, refer to the Cisco Aironet IOS Command Reference for Access Points and Bridges for this release and the Cisco IOS Configuration Fundamentals Command Reference for Release 12.2.
Understanding CDP
Cisco Discovery Protocol (CDP) is a device-discovery protocol that runs on all Cisco network equipment. Each device sends identifying messages to a multicast address, and each device monitors the messages sent by other devices. Information in CDP packets is used in network management software such as Cisco Prime Infrastructure2000.
CDP is used in network management to know about the neighbors of a given network device. CDP is enabled on the access point radio port only when the radio is associated to another wireless infrastructure device, such as an access point or a bridge. CDP is sent on the lowest VLAN number configured on the access point. When more than on VLAN is used in a wireless network, We recommend that the lowest VLAN number configured be used as the native VLAN
Note For best performance on your wireless LAN, disable CDP on all radio interfaces and on sub-interfaces if VLANs are enabled on the access point.
Configuring CDP
This section contains CDP configuration information and procedures:
- Default CDP Configuration
- Configuring the CDP Characteristics
- Disabling and Enabling CDP
- Disabling and Enabling CDP on an Interface
Default CDP Configuration
Table 17-1 lists the default CDP settings.
|
|
---|---|
Configuring the CDP Characteristics
You can configure the CDP holdtime (the number of seconds before the access point discards CDP packets) and the CDP timer (the number of seconds between each CDP packets the access point sends).
Beginning in Privileged Exec mode, follow these steps to configure the CDP holdtime and CDP timer.
Use the no form of the CDP commands to return to the default settings.
This example shows how to configure and verify CDP characteristics:
#
show cdpGlobal CDP information:
Sending a holdtime value of 120 seconds
Sending CDP packets every 50 seconds
For additional CDP show commands, see the “Monitoring and Maintaining CDP” section.
Disabling and Enabling CDP
CDP is enabled by default. Beginning in Privileged Exec mode, follow these steps to disable the CDP device discovery capability.
|
|
|
---|---|---|
Beginning in privileged EXEC mode, follow these steps to enable CDP:
|
|
|
---|---|---|
This example shows how to enable CDP.
Disabling and Enabling CDP on an Interface
CDP is enabled by default on all supported interfaces to send and receive CDP information.
Beginning in privileged EXEC mode, follow these steps to disable CDP on an interface:
|
|
|
---|---|---|
Enter interface configuration mode, and enter the interface on which you are disabling CDP. |
||
Beginning in privileged EXEC mode, follow these steps to enable CDP on an interface:
|
|
|
---|---|---|
Enter interface configuration mode, and enter the interface on which you are enabling CDP. |
||
This example shows how to enable CDP on an interface.
Monitoring and Maintaining CDP
To monitor and maintain CDP on your device, perform one or more of these tasks, beginning in privileged EXEC mode.
Below are six examples of output from the CDP show privileged EXEC commands:
Global CDP information:
Sending CDP packets every 50 seconds
Sending a holdtime value of 120 seconds
Enabling CDP Logging
You can enable CDP logging. To log errors related to duplex-mismatches identified through CDP, use the global configuration command cdp log mismatch duplex. To log errors related to duplex mismatches reported through CDP on a particular interface, use the same command at the interface level.
The following example enables logging for errors related to duplex-mismatches identified through CDP on the gigabit Ethernet interface, but disables logging for errors related to duplex-mismatches identified through CDP on the Radio 0 interface.