<?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 Unable to transfer pcap file via SCP in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34751#M6876</link>
    <description>Hey there,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to transfer a pcap file from an X770 to my PC using SCP2 but I'm unable to do it.&lt;BR /&gt;
TFTP is not an option since it's unreliable and has failed multiple times during transfer.&lt;BR /&gt;
Tried also by connecting to the switch via SFTP but can't seem to access anything except the /config folder.&lt;BR /&gt;
&lt;BR /&gt;
Please advise.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
---&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.29 # scp vr "VR-Default" "/usr/local/tmp/2016-03-03_09-49-39_rx_tx.pcap" &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
&lt;/B&gt;Error: Local file name cannot contain '~' or '/' character.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.30 # scp vr "VR-Default" 2016-03-03_09-49-39_rx_tx.pcap &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap&lt;/B&gt;&lt;BR /&gt;
Upload /config/2016-03-03_09-49-39_rx_tx.pcap to&lt;BR /&gt;
&lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;'s password:&lt;BR /&gt;
&lt;BR /&gt;
Connected to 192.168.152.1.&lt;BR /&gt;
stat /config/2016-03-03_09-49-39_rx_tx.pcap: No such file or directory&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.31 # pwd&lt;/B&gt;&lt;BR /&gt;
/usr/local/tmp&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.32 # ls&lt;/B&gt;&lt;BR /&gt;
-rwxr-xr-x    1 root     root     11012687 Mar  3 10:33 2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;I&lt;/I&gt;&lt;/B&gt;&lt;B&gt;&lt;I&gt;mage   : ExtremeXOS version 16.1.2.14&lt;/I&gt;&lt;/B&gt;</description>
    <pubDate>Fri, 04 Mar 2016 20:42:00 GMT</pubDate>
    <dc:creator>Petar_Mustur</dc:creator>
    <dc:date>2016-03-04T20:42:00Z</dc:date>
    <item>
      <title>Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34751#M6876</link>
      <description>Hey there,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to transfer a pcap file from an X770 to my PC using SCP2 but I'm unable to do it.&lt;BR /&gt;
TFTP is not an option since it's unreliable and has failed multiple times during transfer.&lt;BR /&gt;
Tried also by connecting to the switch via SFTP but can't seem to access anything except the /config folder.&lt;BR /&gt;
&lt;BR /&gt;
Please advise.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
&lt;BR /&gt;
---&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.29 # scp vr "VR-Default" "/usr/local/tmp/2016-03-03_09-49-39_rx_tx.pcap" &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
&lt;/B&gt;Error: Local file name cannot contain '~' or '/' character.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.30 # scp vr "VR-Default" 2016-03-03_09-49-39_rx_tx.pcap &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap&lt;/B&gt;&lt;BR /&gt;
Upload /config/2016-03-03_09-49-39_rx_tx.pcap to&lt;BR /&gt;
&lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;'s password:&lt;BR /&gt;
&lt;BR /&gt;
Connected to 192.168.152.1.&lt;BR /&gt;
stat /config/2016-03-03_09-49-39_rx_tx.pcap: No such file or directory&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.31 # pwd&lt;/B&gt;&lt;BR /&gt;
/usr/local/tmp&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;X770-02.32 # ls&lt;/B&gt;&lt;BR /&gt;
-rwxr-xr-x    1 root     root     11012687 Mar  3 10:33 2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;&lt;I&gt;I&lt;/I&gt;&lt;/B&gt;&lt;B&gt;&lt;I&gt;mage   : ExtremeXOS version 16.1.2.14&lt;/I&gt;&lt;/B&gt;</description>
      <pubDate>Fri, 04 Mar 2016 20:42:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34751#M6876</guid>
      <dc:creator>Petar_Mustur</dc:creator>
      <dc:date>2016-03-04T20:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34752#M6877</link>
      <description>I believe you have to cd to the directory &lt;B&gt;/usr/local/tmp/ &lt;/B&gt;then scp the file.</description>
      <pubDate>Fri, 04 Mar 2016 21:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34752#M6877</guid>
      <dc:creator>Jeremy_Gibbs</dc:creator>
      <dc:date>2016-03-04T21:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34753#M6878</link>
      <description>From the cli&lt;BR /&gt;
&lt;BR /&gt;
cd &lt;B&gt;/usr/local/tmp/&lt;BR /&gt;
&lt;BR /&gt;
scp2 vr vr-default &lt;/B&gt;&lt;B&gt;2016-03-03_09-49-39_rx_tx.pcap &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
&lt;BR /&gt;
&lt;/B&gt;That should work&lt;B&gt;&lt;/B&gt;</description>
      <pubDate>Fri, 04 Mar 2016 21:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34753#M6878</guid>
      <dc:creator>Jeremy_Gibbs</dc:creator>
      <dc:date>2016-03-04T21:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34754#M6879</link>
      <description>Hi Jeremy,&lt;BR /&gt;
&lt;BR /&gt;
Already did that and you can see the result in my OP.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2016 21:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34754#M6879</guid>
      <dc:creator>Petar_Mustur</dc:creator>
      <dc:date>2016-03-04T21:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34755#M6880</link>
      <description>Petar,&lt;BR /&gt;
&lt;BR /&gt;
It seems SCP is only copying from the /usr/local/cfg directory and will not allow you to enter a different directory.  Can you try copying the file (with cp) to /usr/local/cfg and then transferring from there?&lt;BR /&gt;
&lt;BR /&gt;
cd /usr/local/cfg&lt;BR /&gt;
cp /usr/local/tmp/2016-03-03_09-49-39_rx_tx.pcap /usr/local/cfg/2016-03-03_09-49-39_rx_tx.pcap&lt;BR /&gt;
scp vr "VR-Default" 2016-03-03_09-49-39_rx_tx.pcap &lt;A href="https://mailto:admin@192.168.152.1" target="_blank" rel="nofollow noreferrer noopener"&gt;admin@192.168.152.1&lt;/A&gt;:2016-03-03_09-49-39_rx_tx.pcap</description>
      <pubDate>Fri, 04 Mar 2016 21:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34755#M6880</guid>
      <dc:creator>Chad_Smith1</dc:creator>
      <dc:date>2016-03-04T21:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34756#M6881</link>
      <description>That's it! Thank you!&lt;BR /&gt;
&lt;BR /&gt;
I was also able to SFTP to the switch with WinSCP and see the file.</description>
      <pubDate>Fri, 04 Mar 2016 21:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34756#M6881</guid>
      <dc:creator>Petar_Mustur</dc:creator>
      <dc:date>2016-03-04T21:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to transfer pcap file via SCP</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34757#M6882</link>
      <description>Petar.&lt;BR /&gt;
&lt;BR /&gt;
With WinSCP. Can you access all directorys or /usr/local/cfg only?&lt;BR /&gt;
&lt;BR /&gt;
I login via WinSCP with admin user but I can only see ..../cfg.&lt;BR /&gt;
I have no priviledge to change to an upper directory.&lt;BR /&gt;
&lt;BR /&gt;
Am I wrong?&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
Alex</description>
      <pubDate>Fri, 07 Jul 2017 11:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-transfer-pcap-file-via-scp/m-p/34757#M6882</guid>
      <dc:creator>aloeffle</dc:creator>
      <dc:date>2017-07-07T11:36:00Z</dc:date>
    </item>
  </channel>
</rss>

