Setting The Cdp Message Interval; Setting The Cdp Holdtime; Displaying Cdp Neighbor Information - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring CDP

Setting the CDP Message Interval

The CDP message interval specifies how often the switch will transmit CDP messages to directly
connected Cisco devices.
To change the default CDP message interval, perform this task in privileged mode:
Task
Step 1
Change the default CDP message interval. The
allowed range is 5–900 seconds.
Step 2
Verify the CDP configuration.
This example shows how to change the default CDP message interval to 100 seconds and verify the
configuration:
Console> (enable) set cdp interval 100
CDP message interval set to 100 seconds for all ports.
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)

Setting the CDP Holdtime

The CDP holdtime specifies how much time can pass between CDP messages from neighboring devices
before the device is no longer considered connected and the neighbor entry is aged out.
To change the default CDP holdtime, perform this task in privileged mode:
Task
Step 1
Change the default CDP holdtime. The allowed
range is 10–255 seconds.
Step 2
Verify the CDP configuration.
This example shows how to change the default CDP holdtime to 225 seconds and verify the
configuration:
Console> (enable) set cdp holdtime 225
CDP holdtime set to 225 seconds.
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)

Displaying CDP Neighbor Information

To display information about directly connected Cisco devices, enter the show cdp neighbors command.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
20-4
: enabled
: 100
: 180
: enabled
: 100
: 225
Chapter 20
Command
set cdp interval interval
show cdp
Command
set cdp holdtime interval
show cdp
Configuring CDP
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents