NETCONFIG : Update Hostname

Answered Question
Nov 4th, 2008
User Badges:

I would like to update the hostname on 175 devices to match the device name that displays in CiscoWorks. Is there an easy way to do this? If so, how?


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
drew.salmon Tue, 11/04/2008 - 17:52
User Badges:

Thank you Joe.

So this appears to be a static file that I would have to manually generate, like this:


And so on, for all 175 devices I want to change?

There is not a way to declare values and call those values via a script? Or maybe something like set hostname = device name?

If not, the above method is better than logging into each device and manually setting the hostname.

Thank you!

Joe Clarke Tue, 11/04/2008 - 20:42
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This parameter file must be created manually. There is no existing automatic method to do this. However, you could script its creation.


This Discussion