Cisco Systems WSC2960X24PDL Manual De Usuario

Descargar
Página de 112
Example
The following example shows how to enable CDP if it has been disabled:
Switch#
configure terminal
Switch(config)#
cdp run
Switch(config)#
end
What to Do Next
Use the show run all command to show that CDP has been enabled. If you enter only show run , the
enabling of CDP may not be displayed.
Related Topics
Disabling CDP, on page 36
Disabling CDP on an Interface
CDP is enabled by default on all supported interfaces to send and to receive CDP information.
Switch clusters and other Cisco devices (such as Cisco IP Phones) regularly exchange CDP messages.
Disabling CDP can interrupt cluster discovery and device connectivity.
Note
Beginning in privileged EXEC mode, follow these steps to disable CDP on a port.
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. no cdp enable
4. end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies the interface on which you are disabling CDP,
and enters interface configuration mode.
interface interface-id
Example:
Switch(config)#
interface gigabitethernet1/0/1
Step 2
   Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
38
OL-29044-01  
Configuring the Cisco Discovery Protocol
Disabling CDP on an Interface