cancel
Showing results for 
Search instead for 
Did you mean: 

Two Part Question: USB format and getting routable to ftp/sftp/scp.....

Two Part Question: USB format and getting routable to ftp/sftp/scp.....

mbze430
New Contributor II

There is two part of the question here.

As I asked before, if it was possible to use an ordinary USB flash drive.  I couldn't get it to work.  I formatted it FAT32 with a partition under 2GB.  

sw0# usb on
Trying to enable USB device. Please wait...
Fail to enable USB storage device. Error:Device is not found or not formatted

so I decided to try sending over the FTP server... then I realize that I don't have any routes on the default-vrf, only the mgmt-vrf:

 sw0# ping 1.1.1.1 vrf mgmt-vrf count 5
Type Control-c to abort
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=54 time=12.861 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=54 time=12.698 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=54 time=17.645 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=54 time=14.249 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=54 time=13.386 ms
--- 1.1.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 12.698/14.168/17.645/1.821 ms



sw0# ping 1.1.1.1 count 5
Type Control-c to abort
PING 1.1.1.1 (1.1.1.1): 56 data bytes
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable

^C--- 1.1.1.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

Since I am using the switch as a layer 2, what is the best way to get it routable?

sw0(config-rbridge-id-1)# ip route 0.0.0.0/0 next-hop-vrf mgmt-vrf 10.0.254.1
%% Error: Leaked routes from multiple VRFs cannot form ECMP

 

1 ACCEPTED SOLUTION

Michael_Morey
Extreme Employee

The VDX is a Linux system so it does not recognize FAT32.  Try EXT2

https://extreme-networks.my.site.com/ExtrArticleDetail?an=000082941

If you want to use FTP, rather than messing with the routing, why not just use your mgmt-vrf?

VDX1# copy running-config ftp://1.1.1.1 ?           
Possible completions:
  use-vrf   Valid Vrf Name
  |         Output modifiers
  <cr>      
VDX1# copy running-config ftp://1.1.1.1 use-vrf mgmt-vrf
Michael Morey
Principal Technical Support Engineer
Extreme Networks

View solution in original post

5 REPLIES 5

Michael_Morey
Extreme Employee

The VDX is a Linux system so it does not recognize FAT32.  Try EXT2

https://extreme-networks.my.site.com/ExtrArticleDetail?an=000082941

If you want to use FTP, rather than messing with the routing, why not just use your mgmt-vrf?

VDX1# copy running-config ftp://1.1.1.1 ?           
Possible completions:
  use-vrf   Valid Vrf Name
  |         Output modifiers
  <cr>      
VDX1# copy running-config ftp://1.1.1.1 use-vrf mgmt-vrf
Michael Morey
Principal Technical Support Engineer
Extreme Networks

copy running-config ftp://1.1.1.1 use-vrf mgmt-vrf

That worked for me.  didn't realize it supported using the vrf. 
I will try the EXT2 partition for the USB and report back.

I wonder if I can use the mgmt-vrf to get the NTP.... [UPDATE] Yep, it has the use-vrf option for NTP! 🙂 I'm really happy now.

Truyen_Phan
Extreme Employee

In the following NOS versions, the restriction for checking if a USB is a "Brocade" branded will be removed:

  • 7.4.1 and above
  • 7.2.0d and above

Please upgrade to one of the above versions.

If you are using the mgmt-vrf, you can enter the following to configure the gateway for it. 

VDX# conf t
Entering configuration mode terminal
VDX(config)# rb 1
VDX(config-rbridge-id-1)# vrf mgmt-vrf
VDX(config-vrf-mgmt-vrf)# address-family ipv4 unicast
VDX(vrf-mgmt-vrf-ipv4-unicast)# ip route 0.0.0.0/0 10.0.254.1


VDX# sh run rb vrf
rbridge-id 1
 vrf mgmt-vrf
  address-family ipv4 unicast
   ip route 0.0.0.0/0 10.0.254.1

If you are using the default-vrf, you can enter the following to configure the gateway for it. 

VDX# conf t
Entering configuration mode terminal
VDX(config)# rb 1
VDX(config-rbridge-id-1)# ip route 0.0.0.0/0 10.0.254.1

VDX# sh run rb ip
rbridge-id 1
 ip route 0.0.0.0/0 10.0.254.1

 

mbze430
New Contributor II

In the following NOS versions, the restriction for checking if a USB is a "Brocade" branded will be removed:

  • 7.4.1 and above
  • 7.2.0d and above

Please upgrade to one of the above versions.

 

sw0(config)# do sh ver

Network Operating System Software
Network Operating System Version: 7.4.1f
Copyright (c) 2017-2018 Extreme Networks, Inc.
Firmware name: 7.4.1f
Build Time: 12:48:00 Aug 9, 2022
Install Time: 00:07:15 Jan 1, 1970
Kernel: 2.6.34.6

BootProm: 1.0.1
Control Processor: e500mc with 4096 MB of memory

Slot Name Primary/Secondary Versions Status
---------------------------------------------------------------------------
SW/0 NOS 7.4.1f ACTIVE*
7.4.1f

GTM-P2G8KFN