Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Advanced Scripting

$
0
0

Hello all! A bit of background on the situation. We have 200+ Juniper ex series switches in over 8 facilites. We use Solarwinds for monitoring and other things. We have been using the scripting feature when we need to add vlans to large groups of switches. It has been very handy, but we still have to log in to each switch to configure the trunk ports.

 

Is it possible to create a script in Solarwinds that could look at the switch's configuration and find all trunking ports and add the vlan to them? I'm thinking basically something like:

 

if port-mode = trunk, then

 

configure

set interfaces ge-0/0/x unit 0 family ethernet-switching vlan members <newvlan>

commit and-quit

 

I know the Juniper commands, but can SW do the if/then statements in this scenario? It would save a lot of time!

 

Thanks!!


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>