LMS 3.2 Discovery Display name question

Answered Question
Jun 9th, 2009
User Badges:

Hi,


We are running Cisco LMS 3.2, when doing a discovery it resolves the IP address of the switch but not the hostname. The switches are discovered but the display name doesnt show the hostmname. We dont use put our switches on DNS, how do i ensure that the display name is the hostname? (i.e. hostname on the switch config)


I have tried various options when doing discovery but none of them will show the hostname as the display name. The discovery is being done through Layer 2 CDP

Correct Answer by Joe Clarke about 7 years 10 months ago

The file is in C:\WINDOWS\system32\drivers\etc. There are some example entries already in there. Essentially, an entry will look like:


10.1.1.1 my-router.domain.com

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Tue, 06/09/2009 - 08:14
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You will need to either put your switches' IP addresses in DNS, or add entries to the LMS server's local hosts file so that the address resolution can be performed.

tinu.karki Tue, 06/09/2009 - 12:58
User Badges:

Thanks for that, however "add entries to the LMS server's local hosts file" , could you please let me know how exactly i do this? I found the hosts file c:/windows/drivers/etc but im not sure what exactly i need to add and to which file. thanks in advance.

Correct Answer
Joe Clarke Tue, 06/09/2009 - 13:04
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The file is in C:\WINDOWS\system32\drivers\etc. There are some example entries already in there. Essentially, an entry will look like:


10.1.1.1 my-router.domain.com

tinu.karki Wed, 06/10/2009 - 05:21
User Badges:

Thanks, adding entries to the hosts file has fixed the issue for most devices.

derek.winchester Thu, 06/18/2009 - 09:27
User Badges:

Joe,

I am resolving names to ip address but not ip address to names if I did an NSlookup. Is this a setting within DNS? Do i need to set up a whole reverse zone?

My problem is the same as what is in this post except none of my devices are resolved in device discovery. They are all ip address. They are all in DNS as well. I can resolve "nslookup hostname" but not the other way around for all devices.

Joe Clarke Thu, 06/18/2009 - 09:52
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Yes, you will need to setup a reverse zone (i.e. create PTR records to map IP to name). Discovery has to be able to resolve IPs to hostnames.

Actions

This Discussion