cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4626
Views
0
Helpful
2
Replies

CDP Device-ID

m.ogden
Level 1
Level 1

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?

2 Replies 2

amit-singh
Level 8
Level 8

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

paddyxdoyle
Level 6
Level 6

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