01-21-2021 08:41 AM
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
01-21-2021 12:24 PM
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
01-22-2021 07:38 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide