Configuring Cdp On The Switch; Setting The Cdp Global Enable State; Setting The Cdp Enable State On A Port - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Configuring CDP on the Switch

Table 21-1 CDP Default Configuration
Feature
CDP global enable state
CDP port enable state
CDP message interval
CDP holdtime
Configuring CDP on the Switch
The following sections describe how to configure CDP.

Setting the CDP Global Enable State

To set the CDP global enable state on the switch, perform this task in privileged mode:
Task
Step 1
Set the CDP global enable state.
Step 2
Verify the CDP configuration.
This example shows how to enable CDP globally and verify the configuration:
Console> (enable) set cdp enable
CDP enabled globally
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)
This example shows how to disable CDP globally and verify the configuration:
Console> (enable) set cdp disable
CDP disabled globally
Console> (enable) show cdp
CDP
Message Interval
Hold Time
Console> (enable)

Setting the CDP Enable State on a Port

You can enable or disable CDP on a per-port basis. You must enable CDP globally before the switch can
transmit CDP messages on any ports.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
21-2
Default Value
Enabled
Enabled on all ports
60 sec
180 sec
: enabled
: 60
: 180
: disabled
: 60
: 180
Chapter 21
Command
set cdp {enable | disable}
show cdp
Configuring CDP
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents