EasyManua.ls Logo

Cisco Catalyst 3750 - Disabling and Enabling CDP

Cisco Catalyst 3750
926 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
19-3
Catalyst 3750 MetroSwitch Software Configuration Guide
78-15870-01
Chapter 19 Configuring CDP
Configuring CDP
Use the no form of the CDP commands to return to the default settings.
This example shows how to configure and verify CDP characteristics.
Switch# configure terminal
Switch(config)# cdp timer 50
Switch(config)# cdp holdtime 120
Switch(config)# cdp advertise-v2
Switch(config)# end
Switch# show cdp
Global CDP information:
Sending CDP packets every 50 seconds
Sending a holdtime value of 120 seconds
Sending CDPv2 advertisements is enabled
For additional CDP show commands, see the “Monitoring and Maintaining CDP” section on page 19-5.
Disabling and Enabling CDP
CDP is enabled by default.
Beginning in privileged EXEC mode, follow these steps to disable the CDP device discovery capability:
Beginning in privileged EXEC mode, follow these steps to enable CDP when it has been disabled:
This example shows how to enable CDP if it has been disabled.
Switch# configure terminal
Switch(config)# cdp run
Switch(config)# end
Step 6
show cdp Verify configuration by displaying global information about CDP on the
device.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
no cdp run Disable CDP.
Step 3
end Return to privileged EXEC mode.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
cdp run Enable CDP after disabling it.
Step 3
end Return to privileged EXEC mode.

Table of Contents

Other manuals for Cisco Catalyst 3750

Related product manuals