Quantcast
Channel: THWACK: Discussion List - All Communities
Viewing all articles
Browse latest Browse all 16365

Can I use variables in execute command scripts?

$
0
0

Hi,

I would like to create the following script and execute it via scheduler:

 

After logging into a switch, the script should execute the command >show time

and then place the output (i.e. "Wed 8/19/13 14:08") from the show command into

the syslocation snmp variable >snmp-server location "xxxxxxxxx"

 

Can the show time output maybe placed into a variable and that variable then

used to alter the sysloc snmp variable?

 

Thanks,

Kay


Viewing all articles
Browse latest Browse all 16365

Trending Articles



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