cancel
Showing results for 
Search instead for 
Did you mean: 

scripting on xos switchen

scripting on xos switchen

dr_watson
New Contributor
Hi, i have a problem.
I want to configure the elrp client on all my extreme xos switche.( more then 1000 )
with al lot off dificulti vlan names.
I don´t want log in seperatly in every switch to do it on the cli.
Can i do this configuration wih a script?

12 REPLIES 12

PeterK
Contributor II
You can do this even with "Execute Command-Script" on Netsight. When you use XOS >21.x you can use vlan-id in some commands and not only vlan-names. I'm not sure, if this is included in elrp commands and XOS 16.x

nope, it doesn't include elrp. But the vlan name is easier to automate anyway, as it's VLAN_<4 digit vid> (for example: VLAN_0010 for vid 10).

if running 21.x+ I would imagine an App connecting to the switches, finding the vlans in use (with some criteria) and then apply the adequate config. Working with Python, json objects and jsonrpc could make it "easy".

dr_watson
New Contributor
I want to give a feedback.
This script works exelent with our xos switche.

The script I posted is a "one-shot" elrp script that runs ELRP once on every VLAN every port to detect a loop.

It could be modified (and simplified) to instead enable ELRP on every VLAN every port permanently.

However, I would advise you to check with GTAC on the scale limits for ELRP based on switched configuration as having a large number of VLANs with a large number of ports in use with ELRP could overrun the CPU.

GTM-P2G8KFN