cancel
Showing results for 
Search instead for 
Did you mean: 

how can i create and import a list in a CLI script

how can i create and import a list in a CLI script

skyvana
New Contributor III
hi,

Currently, I am working in a project to create a Script to detect Vendor Mac Address and put into appropriate vlan according to their mac address.

I have a question, is it possible to create a list with some variables (all allowed mac addresses) and then import these variable in a CLI script .xsf ?

Thank for your help, I hope I am understandable, and sorry for my bad english ...

Alex
6 REPLIES 6

skyvana
New Contributor III
Hi Stephane thank for your answer,

How can i run python in CLI Scripting/UPM script ?


alex

Stephane_Grosj1
Extreme Employee
Hi,

does it have to be pure CLI Scripting, or can we add some Python? Using some Python implies to run EXOS 15.6 or above.

It would be way simpler to use Python to manipulate lists, while this python script could be used within a CLI Scripting/UPM script.


Best Regards,
Stephane
GTM-P2G8KFN