Enabling Or Disabling Cdp On An Interface - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring CDP
Step 3

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.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
interface interface slot/port
Example:
switch(config)# interface ethernet 1/2
switch(config-if)#
[no] cdp enable
Example:
switch(config-if)# cdp enable
show cdp interface interface slot/port
Example:
switch(config-if)# show cdp interface
ethernet 1/2
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Enabling or Disabling CDP on an Interface
Purpose
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Enters interface configuration mode.
Enables or disables CDP on this interface. It
is enabled by default.
Note
Make sure that CDP is enabled
globally on the device.
(Optional)
Displays CDP information for an interface.
(Optional)
Copies the running configuration to the
startup configuration.
87

Advertisement

Table of Contents
loading

Table of Contents