slax

Executing shell commands from SLAX scripts

Starting with 14.1, it’s possible to execute shell commands from SLAX scripts. This is an example of how you can get the output of the shell command “ifconfig me0”. First configure the OP script like this: {master:0}[edit] lab@ex4550# show system scripts op {     file script.slax; } {master:0}[edit] lab@ex4550#

Commit script to enable protocol for LAG members on Qfabric

On QFABRIC there is no way to enable SFLOW on LAG interfaces. Therefore, to enable it, you have to add them one by one under SFLOW protocol configuration. This post will show you how you can write a SLAX commit script that at every commit on Qfabric, all interfaces that are part of any LAG… Keep reading »

Sidebar