Hey Everyone,
I'm needing to set a pretty simple configuration change to over 100 ex2200 switches. Basically I want to have the switches report to our syslog server. So the command would be:
set system syslog host sysloghostserver any alert
I've been googling all night and see a lot of avenues, but none of them look quite right. I'd happily ssh into each switch and paste a command. But I'm not even sure how to do that. From what i understand once logged in I need to type cli and the configure and then paste the above command, then commit and quit.
It would be great if I could somehow string all that stuff together, but I can't seem to figure out how to switch modes in one command. Like on linux you can pipe commands together.
Some of the stuff on this page looked promising, but total overkill for what i'm trying to accomplish.
http://rtoodtoo.net/category/junos/junos-automation/
Does anyone have any suggestions?