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.

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

  1. Koushik Radhakrishnan

    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.

    Reply
    1. christianscholz Post author

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

      Reply
  2. gangadhar

    i do not see the PFE at all even waiting for 15 mins.. i am running it on eve-ng

    Reply
    1. christianscholz Post author

      What are your Server-Specs?
      How many other images do you run?

      Reply
  3. Siarhei

    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!

    Reply
    1. christianscholz Post author

      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.

      Reply
  4. Lakhwinder

    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

    Reply
    1. christianscholz Post author

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

      Reply
  5. Febilo

    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

    Reply
    1. christianscholz Post author

      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

      Reply
  6. Febrian

    Hello, can i get these 2 files belows :

    vqfx17.4-re.vmdk

    and

    vqfx17.4-pfe.vmdk

    Thank you

    Reply
  7. kukuh

    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//

    Reply
    1. christianscholz Post author

      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.

      Reply
  8. kukuh

    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.

    Reply
  9. Daniel Hart

    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?

    Reply
    1. christianscholz Post author

      Hi Daniel,

      LACP had issues with this Version. Either go for the 17.4 or better 18.1.
      And yes – currently the permissions are annoying. There’s a restriction that allows even Elite Partners to download this image only once in a lifetime – ridiculous. Talk to your Juniper SE – he can get the image for you (that’s what I did).

      BR
      Chris

      Reply
  10. Jake Cui

    I may need your help on my EVE-NG with vQFX 17.4R1.16.

    I’ve successfully installed both images for RE and PFE, converted them into hda.qcow2 formats in two separate folders.

    I can add two RE nodes and connect them via xe-0/0/0. However, my RE just grayed out
    after it started up in 2 or 3 seconds. And it never comes up back again. It just repeated the behavior. Each time it started up and grayed out by itself in 2 or 3 seconds.

    I’ve tried JUNOS 15.1X53-D60 as well but the same symptom. I’ve tried to adjust VM settings but no help.

    I’m really frustrated now.

    Reply
    1. christianscholz Post author

      Hi Jake,

      new installed EVE-NG?
      What does “kvm-ok” show when issuing this on your EVE-NG Servers shell?
      Sounds to me like there’s an issue with the KVM – this is not Juniper related.

      BR
      Chris

      Reply
  11. basem

    Hi ,

    I have vqfx running and i have configured xe-0/0/0 and xe-0/0/1 as access port and get vPCs connected to that ports , but i could not ping between vPCs , how can i solve this issue ? how i set vqfx as L2 switch ?

    any help would be highly appreciated ..

    Basem

    Reply
    1. christianscholz Post author

      Hi basem,
      single vQFX or 2 vQFX’es connected via Trunk?
      “show chassis fpc” is showing that the pfe is connected?
      You just need to set both ports as access and connect the vPC’S – thats relatively quick done.
      “set interfaces xe-0/0/0 unit0 family ethernet-switching”
      “set interfaces xe-0/0/1 unit0 family ethernet-switching”

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.