Cisco Systems 3750E manual Configuring CDP, CDP and Switch Stacks, Default CDP Configuration, 27-2

Models: 3750E

1 1236
Download 1236 pages 40.08 Kb
Page 616
Image 616

Chapter 27 Configuring CDP

Configuring CDP

CDP and Switch Stacks

A switch stack appears as a single switch in the network. Therefore, CDP discovers the switch stack, not the individual stack members. The switch stack sends CDP messages to neighboring network devices when there are changes to the switch stack membership, such as stack members being added or removed.

Configuring CDP

These sections contain this configuration information:

Default CDP Configuration, page 27-2

Configuring the CDP Characteristics, page 27-2

Disabling and Enabling CDP, page 27-3

Disabling and Enabling CDP on an Interface, page 27-4

Default CDP Configuration

Table 27-1shows the default CDP configuration.

Table 27-1

Default CDP Configuration

 

 

 

 

Feature

 

Default Setting

 

 

CDP global state

Enabled

 

 

CDP interface state

Enabled

 

 

CDP timer (packet update frequency)

60 seconds

 

 

CDP holdtime (before discarding)

180 seconds

 

 

CDP Version-2 advertisements

Enabled

 

 

 

Configuring the CDP Characteristics

You can configure the frequency of CDP updates, the amount of time to hold the information before discarding it, and whether or not to send Version-2 advertisements.

Beginning in privileged EXEC mode, follow these steps to configure the CDP timer, holdtime, and advertisement type.

Note Steps 2 through 4 are all optional and can be performed in any order.

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

cdp timer seconds

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

 

 

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

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

27-2

OL-9775-02

 

 

Page 616
Image 616
Cisco Systems 3750E Configuring CDP, CDP and Switch Stacks, Default CDP Configuration, Configuring the CDP Characteristics