RME job for Mass Hostname Changes

Unanswered Question
Oct 6th, 2008
User Badges:

I would like to create an RME job to do mass hostname changes so all our network equipment complies with our naming convention. Does anyone had an example of how to create this job using RME or if this can even be done?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 10/06/2008 - 12:42
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The part where the actual hostname is changed on the device can easily be done using RME. You will need to create a parameterized Netconfig template for this (under RME > Config Mgmt > Netconfig > User-defined Tasks). For example, your template would look like:

hostname $hostName

Then, your parameterized command file would look like:




More about creating Netconfig parameterized templates can be found in the context-sensitive help once you launch the User-defined Task workflow.

drew.salmon Tue, 11/04/2008 - 17:50
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!

vergeerf Thu, 08/27/2009 - 04:12
User Badges:

but this RME job doesn't update the DCR with the new hostname (even after a RME inventory update and CM Data collection) How to solve this?

Joe Clarke Thu, 08/27/2009 - 08:53
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

No, this will not update DCR. That update would have to be done manually.


This Discussion