User Tools

Site Tools


network_stuff:juniper:vqfx

This is an old revision of the document!


  • Create interfaces in KVM > VQFX-RE01 > They apper as emX ?
  • Rebooting the vcp also reboots the VFP


The RE is used to connect to other network devices or hosts including the PFE. The initial port names are em0 to em14 but they are not used to communicate with other devices. The actual connectivity ports are xe-0/0/0 to xe-0/0/11. The port mappings of the RE are below:

em0 - management interface (fxp0)
em1 - internal link
em2 - unusable
em3 - xe-0/0/0
em4 - xe-0/0/1
em5 - xe-0/0/2
em6 - xe-0/0/3
em7 - xe-0/0/4
em8 - xe-0/0/5
em9 - xe-0/0/6
em10 - xe-0/0/7
em11 - xe-0/0/8
em12 - xe-0/0/9
em13 - xe-0/0/10
em14 - xe-0/0/11



INSTALLATION:

  • Preparations: host-preparation.docx
    • Importamnt: lag interfaces don't work with virtio, therefore linux servers need to be e1000 «<
show interface | display set   | no-more # delete all interfaces except xe-0/0/0-11
commit
set system scripts commit allow-transients
set system scripts commit file set-em-mac-to-xe-ae-vQFX.slax
commit
# genhost.sh file
#!/bin/bash
vagrant ssh-config > ssh-config
echo -e "
[VMX]
R1-vcp ansible_host=`egrep -A 1 "Host R1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R2-vcp ansible_host=`egrep -A 1 "Host R2-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R3-vcp ansible_host=`egrep -A 1 "Host R3-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R4-vcp ansible_host=`egrep -A 1 "Host R4-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R5-vcp ansible_host=`egrep -A 1 "Host R5-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R6-vcp ansible_host=`egrep -A 1 "Host R6-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
R7-vcp ansible_host=`egrep -A 1 "Host R7-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
P1-vcp ansible_host=`egrep -A 1 "Host P1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
DC1-vcp ansible_host=`egrep -A 1 "Host DC1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4`
[CSR]
C1 ansible_host=`egrep -A 1 "Host C1" ssh-config | egrep HostName | cut -d' ' -f 4`
C2 ansible_host=`egrep -A 1 "Host C2" ssh-config | egrep HostName | cut -d' ' -f 4`
T1 ansible_host=`egrep -A 1 "Host T1" ssh-config | egrep HostName | cut -d' ' -f 4`
" > ini/hosts


ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VMX playbook-vmx.yml
ansible-playbook --private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l VMX playbook-csr.yml
network_stuff/juniper/vqfx.1574357738.txt.gz · Last modified: (external edit)