37
Reading CDP packets
Reading CDP packets
Cisco Discovery Protocol (CDP) packets are used by Cisco devices to advertise themselves to other
Cisco devices. By default, a BigIron RX forwards these packets without examining their contents.
You can configure a device to intercept and display the contents of CDP packets. This feature is
useful for learning device and interface information for Cisco devices in the network.
BigIron RX supports intercepting and interpreting CDP version 1 and 2 packets.
NOTE
The Brocade device can interpret only the information fields that are common to both CDP version
1 and CDP version 2.
NOTE
When you enable interception of CDP packets, the BigIron RX drops the packets. As a result, Cisco
devices will no longer receive the packets.
Enabling interception of CDP packets globally
To enable the device to intercept and display CDP packets, enter the following command at the
global CONFIG level of the CLI.
BigIron RX(config)# cdp run
Syntax: [no] cdp run
The feature is disabled by default.
Enabling interception of CDP packets on an interface
You can disable and enable CDP at the interface level.
You can enter commands such as the following.
BigIron RX(config)# int e 2/1
BigIron RX(config-if-e10000-2/1)# cdp enable
Syntax: [no] cdp enable
By default, the feature is enabled on an interface once CDP is enabled on the device.
Displaying CDP information
You can display the following CDP information:
•
Cisco neighbors
•
CDP entries for all Cisco neighbors or a specific neighbor
•
CDP packet statistics
Displaying neighbors
To display the Cisco neighbors the device has learned from CDP packets, enter the following
command.
1028
BigIron RX Series Configuration Guide
53-1002253-01