Cisco – CDP not available to be enabled on ME3400 port

cdpciscoswitch

We have a ME3400 that we want to enable CDP on but there is no cdp option. Why is it not available?

switch(config)#int gi0/1
switch(config-if)#cdp ?
% Unrecognized command

CDP is enabled globally.

switch#show cdp
Global CDP information:
        Sending CDP packets every 60 seconds
        Sending a holdtime value of 180 seconds
        Sending CDPv2 advertisements is enabled

Here is the running config of that interface.

interface GigabitEthernet0/1
 switchport trunk allowed vlan 101-108,110,112-115,119,170,192,211,254-262,268
 switchport trunk allowed vlan add 269,271,508-512,701,888
 switchport mode trunk
 load-interval 30
 udld port

Best Answer

CDP is not allowed on ports running in UNI mode. If you use:

show port-type

You should see which mode the port is running in. You need to use ENI or NNI to support CDP on the interface.