Cisco MDS 9124 - Fabric Switch Reference page 161

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Chapter 4
C Commands
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
The following example enables (default) the CDP protocol on the switch. When CDP is
enabled on an interface, one packet is sent immediately. Subsequent packets are sent at
the configured refresh time
switch(config)# cdp enable
Operation in progress. Please check global parameters
switch(config)#
The following example configures the Gigabit Ethernet interface 8/8 and disables the CDP protocol on
this interface. 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)# interface gigbitethernet 8/8
switch(config-if)# no cdp enable
Operation in progress. Please check interface parameters
switch(config-console)#
The following example enables (default) the CDP protocol on the selected interface. When CDP is
enabled on this interface, one packet is sent immediately. Subsequent packets are sent at the configured
refresh time.
switch(config-if)# cdp enable
Operation in progress. Please check interface parameters
switch(config)#
The following example globally configures the refresh time interval for the CDP protocol in seconds.
The default is 60 seconds and the valid range is from 5 to 255 seconds.
switch# config terminal
switch(config)# cdp timer 100
switch(config)#
The following example globally configures the hold time advertised in CDP packet in seconds. The
default is 180 seconds and the valid range is from 10 to 255 seconds.
switch# config terminal
switch(config)# cdp holdtime 200
switch(config)#
The following example globally configures the CDP version. The default is version 2 (v2). The valid
options are v1 and v2
switch# config terminal
switch(config)# cdp advertise v1
switch(config)#
Related Commands
Command
clear cdp
show cdp
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Description
Clears global or interface-specific CDP configurations.
Displays configured CDP settings and parameters.
Cisco MDS 9000 Family Command Reference
cdp
4-7

Advertisement

Table of Contents
loading

Table of Contents