EasyManuals Logo

Cisco WS-C2960-24LC-S User Manual

Cisco WS-C2960-24LC-S
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #416 background imageLoading...
Page #416 background image
20-4
Catalyst 2960 Switch Software Configuration Guide
OL-8603-04
Chapter 20 Configuring CDP
Monitoring and Maintaining CDP
Disabling and Enabling CDP on an Interface
CDP is enabled by default on all supported interfaces to send and to receive CDP information.
Beginning in privileged EXEC mode, follow these steps to disable CDP on a port:
Beginning in privileged EXEC mode, follow these steps to enable CDP on a port when it has been
disabled:
This example shows how to enable CDP on a port when it has been disabled.
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# cdp enable
Switch(config-if)# end
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 Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are disabling CDP, and enter
interface configuration mode.
Step 3
no cdp enable Disable CDP on the interface.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are enabling CDP, and enter
interface configuration mode.
Step 3
cdp enable Enable CDP on the interface after disabling it.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Description
clear cdp counters Reset the traffic counters to zero.
clear cdp table Delete the CDP table of information about neighbors.
show cdp Display global information, such as frequency of transmissions and the holdtime
for packets being sent.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C2960-24LC-S and is the answer not in the manual?

Cisco WS-C2960-24LC-S Specifications

General IconGeneral
BrandCisco
ModelWS-C2960-24LC-S
CategoryNetwork Router
LanguageEnglish

Related product manuals