Cisco Systems WSC2960X48TSL Disabling CDP on an Interface, Disabling CDP, on page, Summary Steps

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 50
Image 50
Disabling CDP, on page 36

Configuring the Cisco Discovery Protocol

Disabling CDP on an Interface

Example

The following example shows how to enable CDP if it has been disabled:

Switch# configure terminal

Switch(config)# cdp run

Switch(config)# end

What to Do Next

Use the show run all command to show that CDP has been enabled. If you enter only show run , the enabling of CDP may not be displayed.

Related Topics

Disabling CDP, on page 36

Disabling CDP on an Interface

CDP is enabled by default on all supported interfaces to send and to receive CDP information.

Note Switch clusters and other Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages. Disabling CDP can interrupt cluster discovery and device connectivity.

Beginning in privileged EXEC mode, follow these steps to disable CDP on a port.

SUMMARY STEPS

1.configure terminal

2.interface interface-id

3.no cdp enable

4.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

interface interface-id

Specifies the interface on which you are disabling CDP,

 

 

and enters interface configuration mode.

 

Example:

 

 

Switch(config)# interface gigabitethernet1/0/1

 

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

38

OL-29044-01

Page 50
Image 50
Cisco Systems WSC2960X48TSL Disabling CDP on an Interface, Disabling CDP, on page, interface interface-id, What to Do Next