Displaying CDP packet information

After enabling CDP packet interception, you can view CDP packet information.

Ensure that CDP has been enabled.

You can display the following CDP information:

  • Cisco neighbors
  • CDP entries for all Cisco neighbors or a specific neighbor
  • CDP packet statistics
Note: The commands used to display CDP information are the same as those used to display FDP information. In the following steps we are only displaying CDP information that a RUCKUS device has intercepted. You will normally see Foundry Discovery Protocol (FDP) information in addition to CDP information.
  1. To display CDP entries for all neighbors, enter the following command:
    device# show fdp entry *
    
    Device ID: Router
    Entry address(es):
      IP address: 10.95.6.143
    Platform: cisco RSP4,  Capabilities: Router
    Interface: Eth 1/1/2,  Port ID (outgoing port): FastEthernet5/0/0
    Holdtime : 124 seconds
    Version :
    Cisco Internetwork Operating System Software
    IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)T1,  RELEASE SOFTWARE
    (fc1)
    Copyright (c) 1986-1999 by cisco Systems, Inc.
    Compiled Thu 19-Aug-99 04:12 by cmong
  2. To display CDP entries for a specific device, specify the device ID.
    device# show fdp entry Router1 
    
    Device ID: Router1
    Entry address(es):
      IP address: 10.95.6.143
    Platform: cisco RSP4,  Capabilities: Router
    Interface: Eth 1/1/2,  Port ID (outgoing port): FastEthernet5/0/0
    Holdtime : 156 seconds
    Version :
    Cisco Internetwork Operating System Software
    IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)T1,  RELEASE SOFTWARE
    (fc1)
    Copyright (c) 1986-1999 by cisco Systems, Inc.
    Compiled Thu 19-Aug-99 04:12 by cmong
  3. To display CDP packet statistics, enter the following command:
    device# show fdp traffic
    
    CDP counters:
      Total packets output: 0, Input: 3
      Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
      No memory: 0, Invalid packet: 0, Fragmented: 0