Cdp - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

cdp

S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
cdp
Use the cdp command to globally configure the Cisco Discovery Protocol parameters. Use the no form
of this command to revert to factory defaults.
Syntax Description
enable
advertise
v1
v2
holdtime
holdtime-seconds
timer
timer-seconds
Defaults
CDP is enabled.
The hold time default interval is 180 seconds.
The refresh time interval is 60 seconds.
Command Modes
Configuration mode.
Command History
Release
1.1(1)
Usage Guidelines
Use the cdp enable command to enable the Cisco Discovery Protocol (CDP) feature at the switch level
or at the interface level. Use the no form of this command to disable this feature. When the interface link
is established, CDP is enabled by default
CDP version 1 (v1) and version 2 (v2) are supported in Cisco MDS 9000 Family switches. CDP packets
with any other version number are silently discarded when received.
Examples
The following example disables the CDP protocol on the switch. When CDP is disabled on an interface,
one packet is sent to clear out the switch state with each of the receiving devices.
switch(config)# no cdp enable
Operation in progress. Please check global parameters
switch(config-console)#
Cisco MDS 9000 Family Command Reference
4-6
cdp {enable | advertise {v1 | v2} | holdtime holdtime-seconds | timer timer-seconds}
no cdp {enable | advertise | holdtime holdtime-seconds | timer timer-seconds}
Enables CDP globally on all interfaces on the switch.
Specifies the EXEC command to be executed.
Specifies CDP version 1.
Specifies CDP version 2.
Sets the hold time advertised in CDP packets.
Specifies the holdtime in seconds. The default is 180 seconds and the valid
range is from 10 to 255 seconds.
Sets the refresh time interval.
Specifies the time interval in seconds. The default is 60 seconds and the valid
range is from 5 to 255 seconds.
Modification
This command was introduced.
Chapter 4
C Commands
OL-8413-07, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents