cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3776
Views
10
Helpful
2
Replies

no cdp enable and no cdp tlv server-location , no cdp tlv app

gvindio
Level 1
Level 1

Hello All,

 

I having a problem trying to config  an interface with the below cmds example.

 

interface GigabitEthernet0/1
no cdp enable
no cdp tlv server-location
no cdp tlv app

Every time I try to add the no cdp enable cmd to the interface

the

no cdp tlv server-location
no cdp tlv app

 

Cmds disappear just leaving the interface with the

 

no cdp enable

command.

 

How do i get the interface to have all three cmds as below?

 

interface GigabitEthernet0/1
no cdp enable
no cdp tlv server-location
no cdp tlv app

 

 

Thanks

 

 

 

 

 

 

2 Replies 2

Hello,

 

both commands are dependent on CDP. If you disable CDP, tlv app and tlv server-location are automatically disabled as well, and won't show up in the configuration.

 

Check the error you get when you disable CDP first:

 

Router(config-if)#no cdp enable

Router(config-if)#no cdp tlv app
% Cannot enable this CLI, Since CDP is disabled on this interface

 

I  have several interfaces that do show the

noo cdp tlv server-location
no cdp tlv app

 

When no CDP is enabled

 

Example below:

interface GigabitEthernet0/18
description ABC
switchport access vlan 20
switchport mode access
switchport nonegotiate
no cdp enable
no cdp tlv server-location
no cdp tlv app
spanning-tree guard root
!
interface GigabitEthernet0/19
description DEF
switchport access vlan 30
switchport mode access
switchport nonegotiate
no cdp enable
no cdp tlv server-location
no cdp tlv app
spanning-tree guard root
!
interface GigabitEthernet0/20
description GHI
switchport access vlan 40
switchport mode access
switchport nonegotiate
no cdp enable
no cdp tlv server-location
no cdp tlv app
spanning-tree guard root

 

Thanks

Review Cisco Networking for a $25 gift card