12-29-2007 08:23 PM
i have one unique problem. i need to add the single "SNMP location <site>" command on all the network devices and we have around 500 sites more than 1000 devices.
it would be pretty hard to login into every device and put commands. do we have shortcut method to achieve the this using ciscoworks or thorugh any software? thanks in advance.
Solved! Go to Solution.
12-30-2007 10:02 AM
Yes this is doable with Netconfig. Read the online help on parameterized templates. These templates allow you to deploy the same command with different values for a series of devices. You will need to create an XML-like file that will hold the values for the specific devices.
No, you do not need to add a "no" command first as there can be only one snmp-server location.
12-29-2007 08:32 PM
Yes, CiscoWorks can do this using the Netconfig component within the Resource Manager Essentials application. Netconfig will allow you to deploy any commands to a series of devices using a number of protocols such as TFTP, telnet, and SSH.
12-29-2007 11:32 PM
sorry i was not able to communicate properly earlier. within the command "SNMP location
in this case also i can use netconfig ? thanks again for your reply, please furhter guide.
12-30-2007 08:34 AM
Hi Guys,
Any idea hwo i can solve this issue and one more thing do i need to put "no SNMP location
despaterly looking for this issue as this will ease out my whol week burdens. thanks guys.
12-30-2007 10:02 AM
Yes this is doable with Netconfig. Read the online help on parameterized templates. These templates allow you to deploy the same command with different values for a series of devices. You will need to create an XML-like file that will hold the values for the specific devices.
No, you do not need to add a "no" command first as there can be only one snmp-server location.
12-30-2007 08:58 PM
Hey Jclarke,
I am reading online help and i think this would resolve my problem and lot of lots of time. thanks again.
12-30-2007 10:20 AM
what you want to achieve can be done in
10 minutes with a simple expect script.
Put the device ip address and
file. Wrap around the expect script with
a simple shell script with while loop and
it will work.
Basically, expect/TcL can do things that
expensive Ciscowork can not do.
12-30-2007 09:02 PM
Hi,
Actually i am not having any kind of expertise in scripting, can you give full details to overcome this by scripting, Actually as Jclarke suggested cicowork is capable of doing and i am learning online help for it.
but in future i would be intreseted in doing this via scripting. any kind of help from you will a welcome note for me. thanks a bunch.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: