Displaying The Cdp Interface Configuration - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 31
Configuring CDP
This example shows how to disable CDP on Fast Ethernet interface 5/1:
Switch(config)# interface fastethernet 5/1
Switch(config-if)# no cdp enable

Displaying the CDP Interface Configuration

To display the CDP configuration for an interface, use this command:
Command
Switch# show cdp interface [type/number]
This example shows how to display the CDP configuration of Fast Ethernet interface 5/1:
Switch# show cdp interface fastethernet 5/1
FastEthernet5/1 is up, line protocol is up
Encapsulation ARPA
Sending CDP packets every 120 seconds
Holdtime is 180 seconds
Switch#
Monitoring and Maintaining CDP
To monitor and maintain CDP on your device, enter one or more of the following commands:
Command
Switch# clear cdp counters
Switch# clear cdp table
Switch# show cdp
Switch# show cdp entry entry_name
[protocol | version]
Switch# show cdp interface
[type/number]
Switch# show cdp neighbors
[type/number] [detail]
Switch# show cdp traffic
Switch# show debugging
This example shows how to clear the CDP counter configuration on your switch:
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Displays information about interfaces where CDP is
enabled.
Purpose
Resets the traffic counters to zero.
Deletes the CDP table of information about neighbors.
Displays global information such as frequency of
transmissions and the holdtime for packets being
transmitted.
Displays information about a specific neighbor. The
display can be limited to protocol or version
information.
Displays information about interfaces on which CDP is
enabled.
Displays information about neighboring equipment.
The display can be limited to neighbors on a specific
interface and expanded to provide more detailed
information.
Displays CDP counters, including the number of
packets sent and received and checksum errors.
Displays information about the types of debugging that
are enabled for your switch.
Configuring CDP
31-3

Advertisement

Table of Contents
loading

Table of Contents