Configuring Cdp - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 5
Initial Configuration
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

Configuring CDP

The Cisco Discovery Protocol (CDP) is an advertisement protocol used by Cisco devices to advertise
itself to other Cisco devices in the same network. CDP runs on the data link layer and is independent of
Layer 3 protocols. Cisco devices that receive the CDP packets cache the information to make it is
accessible through the CLI and SNMP.
CDP is supported on the management Ethernet interface on the supervisor module and the Gigabit
Ethernet interfaces on the IPS and MPS-14/2 modules. The CDP daemon is restartable and switchable.
The running and startup configurations are available across restarts and switchovers.
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.
When the interface link is established, CDP is enabled by default and three CDP packets are sent at
one-second intervals. Following this, the CDP frames are sent at the globally configured refresh interval.
To globally disable the CDP, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# no cdp enable
Operation in progress. Please check global
parameters
switch(config-console)#
switch(config)# cdp enable
Operation in progress. Please check global
parameters
switch(config)#
To disable the CDP protocol on a specific interface, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface gigbitethernet
3/8
switch(config-if)#
Step 3
switch(config-if)# no cdp enable
Operation in progress. Please check
interface parameters
switch(config-console)#
switch(config-if)# cdp enable
Operation in progress. Please check
interface parameters
switch(config)#
OL-18084-01, Cisco MDS NX-OS Release 4.x
Command
Enters configuration mode.
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.
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.
Command
Enters configuration mode.
Configures the Gigabit Ethernet interface for the
module in slot 3 port 8.
Disables the CDP protocol on the selected interface.
When CDP is disabled on an interface, one packet is
sent to clear out the switch state with each of the
receiving devices.
Enables (default) the CDP protocol on the selected
interface. When CDP is enabled on an interface, one
packet is sent immediately. Subsequent packets are
sent at the configured refresh time.
Cisco MDS 9000 Family CLI Configuration Guide
Configuring CDP
5-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents