Disabling And Enabling Cdp On An Interface - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Configuring CDP

Disabling and Enabling CDP on an Interface

CDP is enabled by default on NNIs to send and to receive CDP information. You can enable CDP on
ENIs, but it is not supported on UNIs. Beginning in privileged EXEC mode, follow these steps to disable
CDP on a port:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
no cdp enable
Step 4
end
Step 5
copy running-config startup-config
Beginning in privileged EXEC mode, follow these steps to enable CDP on a port when it has been
disabled:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
cdp enable
Step 4
end
Step 5
copy running-config startup-config
This example shows how to enable CDP on a port when it has been disabled.
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# cdp enable
Switch(config-if)# end
This example shows how to change a UNI to an ENI and enable CDP on the port.
Switch# configure terminal
Switch(config)# interface fastethernet0/1
Switch(config-if)# port-type eni
Switch(config-if)# cdp enable
Switch(config-if)# end
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
23-4
Purpose
Enter global configuration mode.
Specify the interface on which you are disabling CDP, and enter
interface configuration mode.
If the interface is a UNI, you must enter the port-type nni or
Note
port-type eni interface configuration command before
configuring CDP. By default, CDP is enabled on NNIs and
disabled on ENIs.
Disable CDP on the interface.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the interface on which you are enabling CDP, and enter
interface configuration mode.
If the interface is a UNI, you must enter the port-type nni or
Note
port-type eni interface configuration command before
configuring CDP. By default, CDP is enabled on NNIs and
disabled on ENIs.
Enable CDP on the interface after disabling it.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Chapter 23
Configuring CDP
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents