Ran into an issue where I pulled a ve1000 router out that was on the shelf for a couple of years and of course it would not connect to vManage. The reason is because the old router was on 16.2 code and my vManage instance is 18.3 code. Therefore, in this case you need to get the ve1000 into at least 17.2 version.
To get the software upgraded I needed to use the usb port to get the upgrade file onto the ve1000 router.
These are the steps I followed:
STEP 1: Enable the usb slot on the ve1000.
vedge# conf t
Entering configuration mode terminal
vedge(config)# system
vedge(config-system)# usb-controller
vedge(config-system)# commit
The following warnings were generated:
‘system usb-controller’: For this configuration to take effect, this command will cause an immediate device reboot
Proceed? [yes,no] yes
STEP 2: Verify that USB controller is enabled:
vedge# show running-config system usb-controller
system
usb-controller
vedge# show hardware environment |tab
HW
DEV
HW CLASS HW ITEM INDEX STATUS MEASUREMENT
——————————————————————————————————-
Temperature Sensors DRAM 0 OK 39 degrees C/102 degrees F
Temperature Sensors Board 0 OK 35 degrees C/95 degrees F
Temperature Sensors Board 1 OK 36 degrees C/97 degrees F
Temperature Sensors Board 2 OK 34 degrees C/93 degrees F
Temperature Sensors Board 3 OK 34 degrees C/93 degrees F
Temperature Sensors CPU junction 0 OK 47 degrees C/117 degrees F
Fans Tray 0 fan 0 OK Spinning at 5040 RPM
Fans Tray 0 fan 1 OK Spinning at 4980 RPM
PEM Power supply 0 OK Powered On: yes; Fault: no
PEM Power supply 1 Down Powered On: no; Fault: no
PIM Interface module 0 OK Present: yes; Powered On: yes; Fault: no
USB External USB controller 0 OK 2 USB Ports
STEP 3: Copy the vedge mips image to the USB stick (formatted in FAT fs) [NOTE: A 2Gb USB stick works. 100Gb stick does not]
STEP 4: Insert the USB stick into the vedge
tail -100 /var/log/kern.log
If you tail the /var/log/kern.log, you should see these messages and the stick will be auto mounted. If it does not, please remove the USB stick, reboot the node and then when the device is backup insert the USB stick.
kern.info: Jun 21 16:05:33 vedge kernel: usb-storage 3-1:1.0: USB Mass Storage device detected
kern.info: Jun 21 16:05:33 vedge kernel: scsi3 : usb-storage 3-1:1.0
kern.notice: Jun 21 16:05:34 vedge kernel: scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
kern.notice: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] 3913664 512-byte logical blocks: (2.00 GB/1.86 GiB)
kern.notice: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Write Protect is off
kern.debug: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] No Caching mode page found
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] No Caching mode page found
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
kern.info: Jun 21 16:05:34 vedge kernel: sdb: sdb1
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] No Caching mode page found
kern.err: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
kern.notice: Jun 21 16:05:34 vedge kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
vedge:vshell
vedge:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 5.9G 35M 5.6G 1% /
none 64K 0 64K 0% /dev
/dev/sda1 1013M 116M 847M 12% /boot
/dev/loop0 64M 64M 0 100% /rootfs.ro
/dev/sda2 5.9G 35M 5.6G 1% /rootfs.rw
aufs 5.9G 35M 5.6G 1% /
tmpfs 64K 0 64K 0% /dev
shm 1.5G 24K 1.5G 1% /dev/shm
tmp 1.5G 488K 1.5G 1% /tmp
tmpfs 1.5G 120K 1.5G 1% /run
tmpfs 1.5G 120K 1.5G 1% /run/netns
/dev/sdb1 1.9G 100M 1.8G 6% /media/sdb1
Verify the code is on the USB stick and visible to the vEdge
vedge:~$ cd /media/sdb1
vedge:/media/sdb1$ dir
System\ Volume\ Information viptela-17.2.5-mips64.tar.gzStep 5: copy the image to /home/admin
STEP 5: copy the image to /home/admin
vedge:~$ cd /media/sdb1/
vedge:/media/sdb1$ ls
System Volume Information viptela-17.2.5-mips64.tar.gz
vedge:/media/sdb1$ cp 17.2.5-mips64.tar.gz /home/admin
vedge:/media/sdb1$ exit
STEP 6: Activate the new image
vedge# request software install /home/admin/viptela-17.2.5-mips64.tar.gz reboot
What do you do if you get the following error?
vedge# request software install /home/admin/viptela-17.2.10-mips64.tar.gz
gzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable:
This is very frustrating because it’s extremely vague. The short answer is that you should re-download the IOS file and try again. But wait and verify that the copy is complete from the USB to the /home/admin directory. Then it will work (or at least it did for me).