Monitoring And Maintaining Cdp - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 19
Configuring CDP

Monitoring and Maintaining CDP

To monitor and maintain CDP on your device, perform one or more of these tasks, beginning in
privileged EXEC mode.
Command
clear cdp counters
clear cdp table
show cdp
show cdp entry entry-name
[protocol
version]
|
show cdp interface [type number]
show cdp neighbors [type number]
[detail]
show cdp traffic
These are examples of outputs from the CDP show privileged EXEC commands:
Switch# show cdp
Global CDP information:
Switch# show cdp entry *
-------------------------
Device ID: C2950T-155
Entry address(es):
IP address: 172.20.135.155
Platform: cisco WS-C2950T-24,
Interface: FastEthernet0/3,
Holdtime : 126 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Experimental Version 12.1(20011119:23
611) [eleza-cal2_throttle 141]
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Tue 05-Feb-02 09:06 by eleza
78-11380-04
Description
Reset the traffic counters to zero.
Delete the CDP table of information about neighbors.
Display global information, such as frequency of transmissions and the holdtime
for packets being sent.
Display information about a specific neighbor.
You can enter an asterisk (*) to display all CDP neighbors, or you can enter the
name of the neighbor about which you want information.
You can also limit the display to information about the protocols enabled on the
specified neighbor or information about the version of software running on the
device.
Display information about interfaces where CDP is enabled.
You can limit the display to the type of interface or the number of the interface
about which you want information (for example, entering gigabitethernet 0/1
displays information only about Gigabit Ethernet port 1).
Display information about neighbors, including device type, interface type and
number, holdtime settings, capabilities, platform, and port ID.
You can limit the display to neighbors on a specific type or number of interface
or expand the display to provide more detailed information.
Display CDP counters, including the number of packets sent and received and
checksum errors.
Sending CDP packets every 50 seconds
Sending a holdtime value of 120 seconds
Sending CDPv2 advertisements is enabled
Port ID (outgoing port): FastEthernet0/3
Capabilities: Switch IGMP
Catalyst 2950 Desktop Switch Software Configuration Guide
Monitoring and Maintaining CDP
19-5

Advertisement

Table of Contents
loading

Table of Contents