vQFX 17.4R1.16 on EVE-NG (Professional and Community)

Hi all,

a couple of days the new vQFX came out in Version 17.4R1.16 – and you know me – of course it had to be “eved” 😉
Here’s how I got it flying:

 

1.) Create a new folderstructure for your new vQFX:

2.) Move your files (extracted from vbox) to the new folders:

Hint:
To get the vmdk you need to download the “Vagrant” Virtualbox-Files and extract them twice with 7zip to uncover the vmdk’s
You start with the .tgz, extract this, get a file without an extension and extract this again (all with 7zip)

3.) Convert the vmdk (PFE and RE) to qcow2-format:

And now you can spin-up your new vQFX17.1R1.16 under EVE-NG 😉

Enjoy – if you have questions feel free to ask in the comment section below.

19 thoughts on “vQFX 17.4R1.16 on EVE-NG (Professional and Community)

  1. I had some problems if I left the older 15.1X53 image on my eve.. Doing a cleanup of the previous vqfx images helped when loading 17.4.

    • What Problems did you face exactly?
      I can run the old and new vQFX in parallel with no problems

  2. Dear Sir.
    I have two files of vQFX : cosim_20180212.qcow2, jinstall-vqfx-10-f-17.4R1.16.img.
    How can I install vQFX into EVE-NG. (I do not have Juniper account so I can not download .vmdk files ).
    And more. When I upload .qcow2 file to the dir \opt\unetlab\addons\qemu\vqfxre-17.4R1.16\ and rename it to hda.qcow2. It loaded but I try to login as root, password “Juniper” I get a messages:

    localhost login: root
    Password:

    Login incorrect
    localhost login:
    Please help me!

    • WIth just this 2 Files it is almost impossible to run the vQFX – you are missing the CP – you need FP and CP qcow2 / vmdk to run the vQFX.

  3. I installed the eve-ng and purchased a pro licence. my pfe loads but re does not show any output on console
    version is 17

    • It should at least show a “boot” Message if you start it. Have you already tried to delete and re-uload the image?

  4. I am installing vqfx on latest eve community : 2.0.3-92

    however it is not detected on eve-ng (attached)

    i did not change the template settings (attached)

    root@eve-ng:/opt/unetlab/html/templates# cat vqfxpfe.php
    <?php
    # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler

    /*
    * Copyright (c) 2016, Andrea Dainese
    * Copyright (c) 2017, Alain Degreffe
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions are met:
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    * * Neither the name of the UNetLab Ltd nor the name of EVE-NG Ltd nor the
    * names of its contributors may be used to endorse or promote products
    * derived from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
    * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    */

    $p[‘type’] = ‘qemu’;
    $p[‘name’] = ‘vQFX-PFE’;
    $p[‘cpulimit’] = 1;
    $p[‘icon’] = ‘JunipervQFXpfe.png’;
    $p[‘cpu’] = 2;
    $p[‘ram’] = 4096;
    $p[‘ethernet’] = 2;
    $p[‘console’] = ‘vnc’;
    $p[‘qemu_arch’] = ‘x86_64’;
    $p[‘qemu_nic’] = ‘e1000’;
    $p[‘qemu_options’] = ‘-machine type=pc-1.0,accel=kvm -vga std -usbdevice tablet -boot order=dc’;
    ?>

    root@eve-ng:/opt/unetlab/html/templates# cat vqfxre.php
    <?php
    # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler

    /*
    * Copyright (c) 2016, Andrea Dainese
    * Copyright (c) 2017, Alain Degreffe
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions are met:
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    * * Neither the name of the UNetLab Ltd nor the name of EVE-NG Ltd nor the
    * names of its contributors may be used to endorse or promote products
    * derived from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    * DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
    * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    */

    $p[‘type’] = ‘qemu’;
    $p[‘name’] = ‘vQFX-RE’;
    $p[‘cpulimit’] = 1;
    $p[‘icon’] = ‘JunipervQFXre.png’;
    $p[‘cpu’] = 2;
    $p[‘ram’] = 2048;
    $p[‘ethernet’] = 15;
    $p[‘console’] = ‘telnet’;
    $p[‘qemu_arch’] = ‘x86_64’;
    $p[‘qemu_nic’] = ‘virtio-net-pci’;
    $p[‘qemu_options’] = ‘-machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic’;
    ?>

    Image that i used :

    RE : vqfx10k-re-15.1X53-D60.vmdk
    PFE : vqfx10k-pfe-20160609-2.vmdk

    i already convert both of them to be hda.qcow2 in separate directories, however, no luck

    is there something that i missed?

    Thank you for tremendous support

    Regards

    • Hi Feblio,
      most likley your Foldernames are incorrect – that’s why EVE cannot see your images.
      How did you name the Folders?

      Here are my Foldernames:
      drwxr-xr-x 2 root root 4.0K Aug 30 2017 vqfxpfe-20160609-2-Virtio
      drwxr-xr-x 2 root root 4.0K Mar 21 21:45 vqfxre-17.4R1.16

  5. hi,

    my template still doesnt exist

    however i’ve already convert both to qcow2, create :
    – unetlab/scripts/config_vqfx-pfe.py
    – unetlab/templates/qfx_pfe.php

    and also modify init.php

    but the template still doesn’t exist, do i miss something ?

    btw i’m using unl lite

    BR//

    • Unfortunately I don’t know anything about the templates in unl – sorry.
      Have you tried giving EVE-NG a shot? This is basically the newer and “updated” unl with many many bugfixes and many more features.

  6. hi christian,

    already start with eve-ng but my fpc still empty after waiting 40minutes, any special treatment for this pfe like qemu ver or others. cause my RE will boot after change to 2.2.0 like you did.

  7. Christian,

    I’m running EVE on a bare metal HP DL360p G8 and everything seems to be running really well, I was even able to get the vQFX up and running with LACP and was on my way to continue on to do MC-LAG etc. when LACP stopped working for no apparent reason. I’m using the older 15.1X53-D60 RE image with the 20160609-2 PFE image. Show chass fpc still shows the PFE online/testing so all should be good right? Also, I can’t seem to get any console on the PFE, even it its up and working, not that I should need to touch it as all config is done on the RE.

    Another thing, I have a valid partner login to the Juniper download site, but it gives me an error saying account privileges do not permit access to the information or service requested. I got the older 15.1 images from a co-worker. Would you suggest trying to obtain the newer 17.4 image as you have used here?

Leave a Comment

Captcha * Time limit is exhausted. Please reload CAPTCHA.