Enabling Or Disabling Cdp On An Interface - Cisco MDS 9000 Series Configuration Manual

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

Advertisement

Configuring CDP

Enabling or Disabling CDP on an Interface

CDP is enabled by default on an interface. You can disable CDP on an interface.
If CDP is disabled globally and you enable CDP on specified interfaces, CDP will not be active on those
interfaces. The system does not return an error message when this occurs.
Before You Begin
Ensure that CDP is enabled on the device.
SUMMARY STEPS
1. configure terminal
2. interface interface-type slot/port
3. cdp enable
4. (Optional) show cdp interface interface-type slot/port
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface-type slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
Step 3
cdp enable
Example:
switch(config-if)# cdp enable
Step 4
show cdp interface interface-type slot/port
Example:
switch(config-if)# show cdp interface ethernet 1/2
Step 5
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
OL-29291-02
Enabling or Disabling CDP on an Interface
Purpose
Enters configuration mode.
Enters interface configuration mode.
Enables CDP on this interface. This is enabled
by default.
(Optional)
Displays CDP information for an interface.
(Optional)
Saves this configuration change.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
127

Advertisement

Table of Contents
loading

Table of Contents