Scripting
Questions and discussions about scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! XMC Python System Variables and api commands

Hi, I am starting to create our own scripts/macros for certain tasks in Python and been looking at some of the built in one, so a simple one is disable a port: from device import apiprint "selected ports = " + emc_vars["port"]api.perform_port_operati...

Chad5 by Contributor
  • 9459 Views
  • 17 replies
  • 0 kudos

Resolved! EXOS Script for disabling ports on specific days

Hello,I am attempting to create a script that allows us to enable/disable ports at a certain time, on weekdays only and cannot find a proper guide on how we would do this, i am wondering if anyone else has come up with a solution - or could point me ...

Kfoster by New Contributor
  • 2519 Views
  • 2 replies
  • 0 kudos

Resolved! B-Series with multiple ports

I have a python script that I’m using for B-series switches to configure multiple ports at the same time. #@METADATASTART#@ScriptDescription "Change port from static to NAC".#@DetailDescriptionStart####################################################...

cslayton by New Contributor
  • 5855 Views
  • 15 replies
  • 0 kudos

Resolved! RegEx for Cisco interface

Hello,for the comliance engine I have to find all interfaces not have a certain command line.Here is a positive an a negativ example:interface GigabitEthernet1/0/48 description Test1 switchport access vlan 830 switchport mode access switchport voice ...

StephanH by Valued Contributor III
  • 3251 Views
  • 5 replies
  • 0 kudos
GTM-P2G8KFN