Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

RME job for Mass Hostname Changes

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?

4 REPLIES
Cisco Employee

Re: RME job for Mass Hostname Changes

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:

deviceA

deviceB

...

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

New Member

Re: RME job for Mass Hostname Changes

Thank you Joe.

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

68109.ROUTER

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!

New Member

Re: RME job for Mass Hostname Changes

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?

Cisco Employee

Re: RME job for Mass Hostname Changes

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

185
Views
0
Helpful
4
Replies