<?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: Config Archive for Arista Devices in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74014#M8422</link>
    <description>Hello Ryan.&lt;BR /&gt;
&lt;BR /&gt;
thanks for your detailed explanation. Sound good. I will give it a try and come back to you with my results.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Alex</description>
    <pubDate>Thu, 11 Apr 2019 14:08:48 GMT</pubDate>
    <dc:creator>aloeffle</dc:creator>
    <dc:date>2019-04-11T14:08:48Z</dc:date>
    <item>
      <title>Config Archive for Arista Devices</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74011#M8419</link>
      <description>Dear all.&lt;BR /&gt;
&lt;BR /&gt;
we want to archive the device configuration of our Arista Switches with XMC. Does anyone have experience if this is possible?&lt;BR /&gt;
&lt;BR /&gt;
thanks and best regards&lt;BR /&gt;
Alex</description>
      <pubDate>Wed, 10 Apr 2019 21:52:42 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74011#M8419</guid>
      <dc:creator>aloeffle</dc:creator>
      <dc:date>2019-04-10T21:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Config Archive for Arista Devices</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74012#M8420</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
If the Arista device can send it's configuration via TFTP/SCP/FTP we should be able to create a script to send the backup over to XMC.&lt;BR /&gt;
&lt;BR /&gt;
XMC will need to be able to SSH/Telnet into the device and give it the necessary commands to send the backup file to a remote server with TFTP/SCP/FTP&lt;BR /&gt;
&lt;BR /&gt;
I have pulled a script currently used for Cisco TFTP and we can modify it to work with the Arista. &lt;BR /&gt;
&lt;BR /&gt;
Here is the script: &lt;BR /&gt;
&lt;BR /&gt;
-- Use these scripts to manage Cisco devices&lt;BR /&gt;
name="Arista - TFTP"&lt;BR /&gt;
desc="Arista SSH/TFTP Scripts"&lt;BR /&gt;
protocol=TFTP&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy running-config tftp:&lt;BR /&gt;
%TFTP_IP%&lt;BR /&gt;
%RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@receive 40&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
bytes copied&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Download"-----&lt;BR /&gt;
enable&lt;BR /&gt;
%ENABLEPSWD%&lt;BR /&gt;
copy %TFTP_URL% startup-config&lt;BR /&gt;
startup-config&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Download"-----&lt;BR /&gt;
bytes copied&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
What you need to do is figure out the commands required to upload/download configuration for the Arista and modify the script modules accordingly.&lt;BR /&gt;
&lt;BR /&gt;
Example:&lt;BR /&gt;
&lt;BR /&gt;
For the Configuration Upload: &lt;BR /&gt;
&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy running-config tftp:&lt;BR /&gt;
%TFTP_IP%&lt;BR /&gt;
%RELATIVE_TARGET_FILE_PATH%&lt;BR /&gt;
@receive 40&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT----&lt;BR /&gt;
&lt;BR /&gt;
These are the commands that work with Cisco, you'll need to remove the content and put the appropriate commands that Arista uses for TFTP transfer. &lt;BR /&gt;
&lt;BR /&gt;
You will want the Arista to send it's configuration to %RELATIVE_TARGET_FILE_PATH% which will be dynamically generated at the time of the backup. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
For the Success portions:&lt;BR /&gt;
&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
bytes copied&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
&lt;BR /&gt;
You'll want to input a string that lets XMC know the process was successfully completed. If there is a string that we can look for after the file has been transfer use it here.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Once you've modified the script place it in the following directory: &lt;BR /&gt;
&lt;BR /&gt;
/usr/local/Extreme_Networks/NetSight/appdata/InventoryMgr/properties/devicefiles&lt;BR /&gt;
&lt;BR /&gt;
Once completed right click the Arista Device --&amp;gt; Configuration/Firmware --&amp;gt; Set Configuration&lt;BR /&gt;
&lt;BR /&gt;
Make sure the device is mapped to use TFTP, and that the new script is selected.&lt;BR /&gt;
&lt;BR /&gt;
Give the script a try.&lt;BR /&gt;
&lt;BR /&gt;
If unsuccessful go to Administration --&amp;gt; Diagnostics --&amp;gt; Server --&amp;gt; Server Diagnostics and set "Telnet/SSH command shell" and "Inventory Manager" to "Verbose" and run the test again.&lt;BR /&gt;
&lt;BR /&gt;
The /usr/local/Extreme_Networks/NetSight/appdata/logs/server.log will output diagnostic information about the script being generated and executed. &lt;BR /&gt;
&lt;BR /&gt;
Make sure the profile assigned to the device has relevant CLI credentials and terminal access method to SSH/Telnet into the script. &lt;BR /&gt;
&lt;BR /&gt;
Also make sure if any "enable" command is necessary to get into the appropriate CLI mode that it is included in the script.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
-Ryan</description>
      <pubDate>Wed, 10 Apr 2019 23:04:42 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74012#M8420</guid>
      <dc:creator>Ryan_Yacobucci</dc:creator>
      <dc:date>2019-04-10T23:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Config Archive for Arista Devices</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74013#M8421</link>
      <description>Just a quick note. Sometimes trailing spaces are added during copy/paste functions. Make sure there are no trailing spaces when you copy that script.</description>
      <pubDate>Wed, 10 Apr 2019 23:05:56 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74013#M8421</guid>
      <dc:creator>Ryan_Yacobucci</dc:creator>
      <dc:date>2019-04-10T23:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Config Archive for Arista Devices</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74014#M8422</link>
      <description>Hello Ryan.&lt;BR /&gt;
&lt;BR /&gt;
thanks for your detailed explanation. Sound good. I will give it a try and come back to you with my results.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Alex</description>
      <pubDate>Thu, 11 Apr 2019 14:08:48 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74014#M8422</guid>
      <dc:creator>aloeffle</dc:creator>
      <dc:date>2019-04-11T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Config Archive for Arista Devices</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74015#M8423</link>
      <description>Hi.&lt;BR /&gt;
&lt;BR /&gt;
here is inspiration at &lt;A href="https://github.com/extremenetworks/ExtremeScripting/blob/master/Netsight/cfg_backup_scripts/README.md" target="_blank" rel="nofollow noreferrer noopener"&gt;GitHub&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
feel free to share!&lt;BR /&gt;
&lt;BR /&gt;
Z.</description>
      <pubDate>Fri, 26 Apr 2019 13:18:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/config-archive-for-arista-devices/m-p/74015#M8423</guid>
      <dc:creator>Zdeněk_Pala</dc:creator>
      <dc:date>2019-04-26T13:18:02Z</dc:date>
    </item>
  </channel>
</rss>

