<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Giving an EXOS customer a single file to download for both their config as well as their policy file in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/giving-an-exos-customer-a-single-file-to-download-for-both-their/m-p/35483#M7153</link>
    <description>Upload debug would do almost the same for you.</description>
    <pubDate>Fri, 27 Apr 2018 15:17:00 GMT</pubDate>
    <dc:creator>OscarK</dc:creator>
    <dc:date>2018-04-27T15:17:00Z</dc:date>
    <item>
      <title>Giving an EXOS customer a single file to download for both their config as well as their policy file</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/giving-an-exos-customer-a-single-file-to-download-for-both-their/m-p/35482#M7152</link>
      <description>Here is a way to solve the&lt;BR /&gt;
problem of a customer wanting a single file to download for both their config as well as their policy file in EXOS.&lt;BR /&gt;
&lt;BR /&gt;
First you need to edit the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;exshrc.xsf&lt;/PRE&gt;&lt;/DIV&gt; file by using the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;vi&lt;/PRE&gt;&lt;/DIV&gt; utility in EXOS by typing &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;vi exshrc.xsf&lt;/PRE&gt;&lt;/DIV&gt;. Details on how to use vi are in the docs.&lt;BR /&gt;
&lt;BR /&gt;
In the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;exshrc.xsf&lt;/PRE&gt;&lt;/DIV&gt; file, I added a line that exits to the Linux shell, tars the two files together and saves that tar file in the &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;usr/local/cfg&lt;/PRE&gt;&lt;/DIV&gt; directory which can be access from EXOS.&lt;BR /&gt;
&lt;BR /&gt;
Here is the line to be put into the exshrc.xsf : &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;alias tar-pol-cfg "run script shell.py cd /usr/local/cfg/;tar cvf your_filename.tar your_policy.pol primary.cfg"&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
When you exit back into EXOS and type &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;ls&lt;/PRE&gt;&lt;/DIV&gt; to list the files, you see the “&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;your_filename.tar&lt;/PRE&gt;&lt;/DIV&gt;” listed in the directory which you canSCP off or save as one file via XMC or other method. &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Apr 2018 02:15:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/giving-an-exos-customer-a-single-file-to-download-for-both-their/m-p/35482#M7152</guid>
      <dc:creator>Tony_Erwin</dc:creator>
      <dc:date>2018-04-27T02:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Giving an EXOS customer a single file to download for both their config as well as their policy file</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/giving-an-exos-customer-a-single-file-to-download-for-both-their/m-p/35483#M7153</link>
      <description>Upload debug would do almost the same for you.</description>
      <pubDate>Fri, 27 Apr 2018 15:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/giving-an-exos-customer-a-single-file-to-download-for-both-their/m-p/35483#M7153</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2018-04-27T15:17:00Z</dc:date>
    </item>
  </channel>
</rss>

