cancel
Showing results for 
Search instead for 
Did you mean: 

Giving an EXOS customer a single file to download for both their config as well as their policy file

Giving an EXOS customer a single file to download for both their config as well as their policy file

Tony_Erwin
Extreme Employee
Here is a way to solve the
problem of a customer wanting a single file to download for both their config as well as their policy file in EXOS.

First you need to edit the
code:
exshrc.xsf
file by using the
code:
vi
utility in EXOS by typing
code:
vi exshrc.xsf
. Details on how to use vi are in the docs.

In the
code:
exshrc.xsf
file, I added a line that exits to the Linux shell, tars the two files together and saves that tar file in the
code:
usr/local/cfg
directory which can be access from EXOS.

Here is the line to be put into the exshrc.xsf :
code:
alias tar-pol-cfg "run script shell.py cd /usr/local/cfg/;tar cvf your_filename.tar your_policy.pol primary.cfg"


When you exit back into EXOS and type
code:
ls
to list the files, you see the “
code:
your_filename.tar
” listed in the directory which you canSCP off or save as one file via XMC or other method.

1 REPLY 1

OscarK
Extreme Employee
Upload debug would do almost the same for you.
GTM-P2G8KFN