Configuring Cdp; Default Cdp Configuration; Configuring The Cdp Characteristics - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Configuring CDP

Configuring CDP
These sections include CDP configuration information and procedures:

Default CDP Configuration

Table 21-1
Table 21-1 Default CDP Configuration
Feature
CDP global state
CDP interface state
CDP timer (packet update frequency)
CDP holdtime (before discarding)
CDP version-2 advertisements

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
Step 1
configure terminal
Step 2
cdp timer seconds
Step 3
cdp holdtime seconds
Step 4
cdp advertise-v2
Step 5
end
Catalyst 3560 Switch Software Configuration Guide
21-2
Default CDP Configuration, page 21-2
Configuring the CDP Characteristics, page 21-2
Disabling and Enabling CDP, page 21-3
Disabling and Enabling CDP on an Interface, page 21-4
shows the default CDP configuration.
Purpose
Enter global configuration mode.
(Optional) Set the transmission frequency of CDP updates in seconds.
The range is from 5 to 254; the default is 60 seconds.
(Optional) Specify the amount of time a receiving device should hold the
information sent by your device before discarding it.
The range is from 10 to 255 seconds; the default is 180 seconds.
(Optional) Configure CDP to send version-2 advertisements.
This is the default state.
Return to privileged EXEC mode.
Chapter 21
Default Setting
Enabled
Enabled
60 seconds
180 seconds
Enabled
Configuring CDP
78-16156-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents