Cisco Systems WSC2960X24TSLL Monitoring and Maintaining CDP, cdp enable, clear cdp counters, Step

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 52
Image 52
Specifies the interface on which you are enabling CDP,

Configuring the Cisco Discovery Protocol

Monitoring and Maintaining CDP

 

Command or Action

Purpose

Step 2

interface interface-id

Specifies the interface on which you are enabling CDP,

 

 

and enters interface configuration mode.

 

Example:

 

 

Switch(config)# interface gigabitethernet1/0/1

 

Step 3

cdp enable

Enables CDP on a disabled interface.

 

Example:

 

 

Switch(config-if)# cdp enable

 

Step 4

end

Returns to privileged EXEC mode.

 

Example:

 

 

Switch(config-if)# end

 

Example

The following example shows how to enable CDP on a disabled port:

Switch# configure terminal

Switch(config)# interface gigabitethernet1/0/1

Switch(config-if)# cdp enable

Switch(config-if)# end

Related Topics

Disabling CDP on an Interface, on page 38

Monitoring and Maintaining CDP

Table 6: Commands for Displaying CDP Information

Command

Description

clear cdp counters

Resets the traffic counters to zero.

clear cdp table

Deletes the CDP table of information about neighbors.

show cdp

Displays global information, such as frequency of transmissions

 

and the holdtime for packets being sent.

 

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

40

OL-29044-01

Page 52
Image 52
Cisco Systems WSC2960X24TSLL Monitoring and Maintaining CDP, Specifies the interface on which you are enabling CDP, Step