17-7
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter17 Configuring CDP
Enabling CDP Logging
GigabitEthernet0/8 is up, line protocol is down
Encapsulation ARPA
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
AP# show cdp neighbor
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device IDLocal InterfaceHoldtmeCapabilityPlatformPort ID
Perdido2Gig 0/6125R S IWS-C3550-1Gig0/6
Perdido2Gig 0/5125R S IWS-C3550-1Gig 0/5
AP# show cdp traffic
CDP counters :
Total packets output: 50882, Input: 52510
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
No memory: 0, Invalid packet: 0, Fragmented: 0
CDP version 1 advertisements output: 0, Input: 0
CDP version 2 advertisements output: 50882, Input: 52510
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.
ap(config)# int gigabitEthernet 0
ap(config-if)# cdp log mismatch duplex
ap(config)# interface dot11Radio 0
ap(config-if)# no cdp log mismatch duplex
ap(config-if)# end