Disabling And Enabling Cdp On An Interface - Cisco WS-C3550-12G Software Configuration Manual

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Configuring CDP
This example shows how to enable CDP if it has been disabled.
Switch# configure terminal
Switch(config)# cdp run
Switch(config)# end

Disabling and Enabling CDP on an Interface

CDP is enabled by default on all supported interfaces to send and receive CDP information.
Beginning in privileged EXEC mode, follow these steps to disable CDP on an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
no cdp enable
Step 4
end
Step 5
copy running-config startup-config
Beginning in privileged EXEC mode, follow these steps to enable CDP on an interface when it has been
disabled:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
cdp enable
Step 4
end
Step 5
copy running-config startup-config
This example shows how to enable CDP on an interface when it has been disabled.
Switch# configure terminal
Switch(config)# interface gigabitethernet0/5
Switch(config-if)# cdp enable
Switch(config-if)# end
Catalyst 3550 Multilayer Switch Software Configuration Guide
13-4
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the interface on which
you are disabling CDP.
Disable CDP on an interface.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the interface on which
you are enabling CDP.
Enable CDP on an interface after disabling it.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Chapter 13
Configuring CDP
78-11194-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents