Cisco WS-C4003 Software Guide - Page 287
This example shows how to display CDP neighbor information for connected Cisco devices
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 287 highlights
Chapter 20 Configuring CDP Configuring CDP To display specific information, enter the keywords: • 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. To display information about directly connected Cisco devices, perform this task in privileged mode: Task View information about CDP neighbors. Command show cdp neighbors [mod_num[/port_num]] [vlan | duplex | capabilities | detail] 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 Device-ID Port-ID Platform 2/3 JAB023807H1(2948) 2/2 WS-C2948 3/1 JAB023806JR(4003) 2/1 WS-C4003 3/2 JAB023806JR(4003) 2/2 WS-C4003 3/5 JAB023806JR(4003) 2/5 WS-C4003 3/6 JAB023806JR(4003) 2/6 WS-C4003 Console> (enable) This example shows how to display the native VLAN for each port 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 Device-ID Port-ID NativeVLAN 2/3 JAB023807H1(2948) 2/2 522 3/1 JAB023806JR(4003) 2/1 100 3/2 JAB023806JR(4003) 2/2 100 3/5 JAB023806JR(4003) 2/5 1 3/6 JAB023806JR(4003) 2/6* 1 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. 78-12647-02 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 20-5