There is not interaction between the hostname resolution used by the router and the hostname received via CDP. So you can't use the CDP hostname to telnet to the remote device unless this hostname is also configured in your DNS or locally on the router using the "ip host" command.
Harold Ritter Sr. Technical Leader CCIE 4168 (R&S, SP) firstname.lastname@example.org México móvil: +52 1 55 8312 4915 Cisco México Paseo de la Reforma 222 Piso 19 Cuauhtémoc, Juárez Ciudad de México, 06600 México
Thanks for your input! I had some strange situation in switching environment, under show cdp nei details I was able to see the IP address of VLAN interface but when I tried to telnet it I wasnt able to do that but when I tried using device name I was able to. but the hostname bind to different IP address in DNS system. Finally i did trace route and I found router is trying to telnet the CDP neighbor via WAN link not the directly connected ethernet where it learned neighbor using CDP... so that stuff create confusion in my mind!
Thanks all of you for links! so here we can see the neighbor IP address as well as host name! so I can telnet to device using hostname also there I dont need to have any kind of DNS name server configuration to resolve right? as CDP is learning it using the TLV! right!!!
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...