Shahla
Assuming you don't want to set all 500 devices to the same hostname then I'm 
not sure NCM is your best option. Why not look to use CLI to set the sysName 
instead? You would need a file that maps the old hostname (or some other 
attribute that CLI could use to find the correct model, such as ip address) to 
the new hostname. CLI could then read the file, find the correct model and set 
the sysName to the new hostname.
Of course this depends on the sysName setting the hostname correctly on your 
500 devices.

John

From: Stephen Warne [mailto:[email protected]]
Sent: 30 March 2012 17:56
To: spectrum
Subject: RE:[spectrum] NCM scripts

Hi Shahla
That will depend on what vendor's switches you wish to change. Pushing a 
'snippet' of config to a Cisco device works very well and you get the choice 
whether to reboot or not. But with Enterasys matrix N series switches for 
example you must upload the complete new config, and then the switch will auto 
reboot whether you want it to or not which is a pain. This isn't an NCM issue 
just the switch FAD.
Hope this helps.
Regards
Stephen.

From: Tabarzadi, Shahla [mailto:[email protected]]
Sent: 30 March 2012 17:20
To: spectrum
Subject: [spectrum] NCM scripts

I am very new to NCM. Can somebody tell me how I can use NCM script to change 
the host names of almost 500 devices?

 -------------------------------------
Regards,
Shahla Tabarzadi
Network and Unified Communications
U.S. House of Representatives
Office: 202.226.6266
Blackberry: 202.580.9525
Email: [email protected]<mailto:[email protected]>
*         --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]<mailto:[email protected]>
*         --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to