Displaying Cdp Neighbor Information - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 31
Configuring CDP

Displaying CDP Neighbor Information

To display information about the directly connected Cisco devices, enter the show cdp neighbors
command. Enter the vlan keyword to display the native VLAN for the connected ports. Enter the duplex
keyword to display the duplex mode for the connected ports. Enter the capabilities keyword to display
the device capability codes for the connected device. Enter the detail keyword to display the detailed
information about the neighboring device.
If you enter the show cdp neighbors command for a device that supports earlier versions of CDP,
Note
"unknown" is displayed in the following fields: VTP Management Domain, Native VLAN, and Duplex.
To display information about the directly connected Cisco devices, perform this task:
Task
Display information about the CDP neighbors.
This example shows how to display the CDP neighbor information for the connected Cisco devices:
Console> (enable) show cdp neighbors
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port
-------- ------------------------------- ------------------------- ------------
2/3
3/1
3/2
3/5
3/6
Console> (enable)
This example shows how to display the native VLAN for each port that is connected on the neighboring
device (there is a native VLAN mismatch between port 3/6 on the local switch and port 2/6 on the
neighboring device, as indicated by the asterisk [*]):
Console> (enable) show cdp neighbors vlan
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port
-------- ------------------------------- ------------------------- ----------
2/3
3/1
3/2
3/5
3/6
Console> (enable)
OL-8978-04
Device-ID
JAB023807H1(2948)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
Device-ID
JAB023807H1(2948)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Command
show cdp neighbors [mod[/port]] [vlan |
duplex | capabilities | detail]
Port-ID
2/2
2/1
2/2
2/5
2/6
Port-ID
2/2
2/1
2/2
2/5
2/6*
Configuring CDP on the Switch
Platform
WS-C2948
WS-C4003
WS-C4003
WS-C4003
WS-C4003
NativeVLAN
522
100
100
1
1
31-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents