Cisco Systems C2960XSTACK configure terminal 2. cdp timer seconds 3. cdp holdtime seconds, Step

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 47
Image 47
1.configure terminal

Configuring the Cisco Discovery Protocol

Configuring CDP Characteristics

Beginning in privileged EXEC mode, follow these steps to configure these characteristics.

SUMMARY STEPS

1.configure terminal

2.cdp timer seconds

3.cdp holdtime seconds

4.cdp advertise-v2

5.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

cdp timer seconds

Example:

Switch(config)# cdp timer 20

(Optional) Sets the transmission frequency of CDP updates in seconds.

The range is 5 to 254; the default is 60 seconds.

Step 3

cdp holdtime seconds

Example:

Switch(config)# cdp holdtime 60

(Optional) Specifies the amount of time a receiving device should hold the information sent by your device before discarding it.

The range is 10 to 255 seconds; the default is 180 seconds.

Step 4

cdp advertise-v2

(Optional) Configures CDP to send Version-2 advertisements.

 

Example:

This is the default state.

 

 

 

Switch(config)# cdp advertise-v2

 

Step 5

end

Returns to privileged EXEC mode.

 

Example:

 

 

Switch(config)# end

 

Example

The following example shows how to configure CDP characteristics:

Switch# configure terminal

Switch(config)# cdp timer 50

Switch(config)# cdp holdtime 120

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

OL-29044-01

35

Page 47
Image 47
Cisco Systems C2960XSTACK configure terminal 2. cdp timer seconds 3. cdp holdtime seconds, cdp advertise-v2 5. end, Step