Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

Network Change & Configuration Management

Reply

Change Hostname on many switches at once.

Authority
Posts: 9
1731     0

is there a way to change hostnames of several cisco switches at once using CCS? 

we have many switches that require a host name change and i was wondering if there was a script available or someone has insight, that can do many at once?

one at a time, yeah i go that. 

 

 

Re: Change Hostname on many switches at once.

Expert
Posts: 65
1732     0

Yes, you can do that in a CCS script.  The trick is that the prompt will change and the script will error out waiting for the old prompt.  So you need to use the Action-Prompt or Trigger-Prompt directive.

 

If the new names follow a pattern, you could just hard code that in the script.  Otherwise, you could enter the old and new names in a CSV file and import that as a List.

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You