Displaying Cdp Neighbor Information - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 21
Configuring CDP

Displaying CDP Neighbor Information

To display information about directly connected Cisco devices, enter the show cdp neighbors command.
To display specific information, use the following keywords:
To display information about directly connected Cisco devices, perform this task in privileged mode:
Task
View information about CDP neighbors.
This example shows how to display CDP neighbor information for 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
neighbor 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)
This example shows how to display detailed information about the neighboring device:
Console> (enable) show cdp neighbors 2/3 detail
Port (Our Port): 2/3
Device-ID: JAB023807H1(2948)
Device Addresses:
IP Address: 172.20.52.36
Holdtime: 132 sec
Capabilities: TRANSPARENT_BRIDGE SWITCH
Version:
WS-C2948 Software, Version McpSW: 5.1(57) NmpSW: 5.1(1)
Copyright (c) 1995-1999 by Cisco Systems, Inc.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
To display the native VLAN for the connected ports, enter the vlan keyword.
To display the duplex mode for the connected ports, enter the duplex keyword.
To display the device capability codes for the connected device, enter the capabilities keyword.
To display the device capability codes for the connected device, enter the detail keyword.
Device-ID
JAB023807H1(2948)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
Device-ID
JAB023807H1(2948)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
JAB023806JR(4003)
Command
show cdp neighbors [mod_num[/port_num]] [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
21-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents