06-08-2005 03:46 AM - edited 03-02-2019 11:02 PM
I have 6509 sitches running 8.4(2a) code. When I issue " show cdp nei" the Device-ID is displayed as the switch serial number, this isn't of much use. I want to display the Hostname only if possible. How is this achieved?
06-08-2005 04:10 AM
Hi,
Please use the command:
set cdp format device-id
This will take care of your need.
Please check the link below:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_8_4/cmd_ref/ses_sete.htm#wp1026797
HTH,
-amit singh
06-08-2005 04:32 AM
I can't think of any obvious to change this on my firmware
When looking at CDP in my envrionment, if i run CDP from a 5500 switch running CATOS 5.1, it displays the Device-ID of a 6509 running CATOS 7.1 as Device-ID(hostname) however it displays other types of switches (1900,2924 & 3750's) by hostname only.
When looking at CDP from the 6509, it show the 5500 as Device-ID only and all other switches by hostname only.
Strange
When looking at CDP between two 6509's running IOS, the Device ID is always hostname.
FWIW!
Paddy
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