<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://camarreal.dedyn.io/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://camarreal.dedyn.io/feed.php">
        <title>dokucama - network_stuff:juniper:vqfx</title>
        <description></description>
        <link>https://camarreal.dedyn.io/</link>
        <image rdf:resource="https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-05-01T17:36:33+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:genhost&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:housekeepingdotconf&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-housekeeping&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-vqfx&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:pushslax&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:step-by-step-vqfx&amp;rev=1698935895&amp;do=diff"/>
                <rdf:li rdf:resource="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:vagrantfile&amp;rev=1698935895&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png">
        <title>dokucama</title>
        <link>https://camarreal.dedyn.io/</link>
        <url>https://camarreal.dedyn.io/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:genhost&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>genhost</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:genhost&amp;rev=1698935895&amp;do=diff</link>
        <description>#!/bin/bash
vagrant ssh-config &gt; ssh-config
echo -e &quot;
[VQFX]
vqfx-re-01 ansible_host=`egrep -A 1 &quot;Host vqfx-re-01&quot; ssh-config | egrep HostName | cut -d&#039; &#039; -f 4`
vqfx-re-02 ansible_host=`egrep -A 1 &quot;Host vqfx-re-02&quot; ssh-config | egrep HostName | cut -d&#039; &#039; -f 4`
&quot; &gt; ini/hosts
echo -e &quot;
[VQFX]
vqfx-re-01 ansible_host=`egrep -A 1 &quot;Host vqfx-re-01&quot; ssh-config | egrep HostName | cut -d&#039; &#039; -f 4`
vqfx-re-02 ansible_host=`egrep -A 1 &quot;Host vqfx-re-02&quot; ssh-config | egrep HostName | cut -d&#039; &#039; -f 4`
&quot;</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:housekeepingdotconf&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>housekeepingdotconf</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:housekeepingdotconf&amp;rev=1698935895&amp;do=diff</link>
        <description>#cat housekeeping.conf 
set interfaces xe-0/0/0.0
set interfaces xe-0/0/1.0
set interfaces xe-0/0/2.0
set interfaces xe-0/0/3.0
set interfaces xe-0/0/4.0
set interfaces xe-0/0/5.0
set interfaces xe-0/0/6.0
set interfaces xe-0/0/7.0
set interfaces xe-0/0/8.0
set interfaces xe-0/0/9.0
set interfaces xe-0/0/10.0
set interfaces xe-0/0/11.0
  
delete interfaces xe-0/0/0
delete interfaces xe-0/0/1
delete interfaces xe-0/0/2
delete interfaces xe-0/0/3
delete interfaces xe-0/0/4
delete interfaces xe-0/0…</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-housekeeping&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>playbook-housekeeping</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-housekeeping&amp;rev=1698935895&amp;do=diff</link>
        <description># cat playbook-housekeeping.yml
- name: Apply configuration
  hosts: all
  connection: local
  gather_facts: no
  roles:
    - Juniper.junos
  tasks:
    - name: Deploy config to device ... please wait
      juniper_junos_config:
        ignore_warning: true
        load: set
        #format: &quot;set&quot;
        src: housekeeping.conf</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-vqfx&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>playbook-vqfx</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:playbook-vqfx&amp;rev=1698935895&amp;do=diff</link>
        <description># cat playbook-vqfx.yml
- name: Change configuration using junos_config module
  hosts: all
  connection: local
  gather_facts: false
  roles:
    - ip_loop</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:pushslax&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pushslax</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:pushslax&amp;rev=1698935895&amp;do=diff</link>
        <description>#cat push-slax.sh 
#!/bin/bash
cut -f 2 -d &#039;=&#039; ini/hosts | egrep -v &quot;\[&quot; &gt; ini/host_ips
sed -i &#039;/^[[:space:]]*$/d&#039; ini/host_ips
while read line
do
scp -i ~/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null set-em-mac-to-xe-ae-vQFX.slax vagrant@$line:/var/db/scripts/commit/
done &lt; ./ini/host_ips</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:step-by-step-vqfx&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>step-by-step-vqfx</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:step-by-step-vqfx&amp;rev=1698935895&amp;do=diff</link>
        <description>INSTALLATION:

Based on &lt;https://codingpackets.com/blog/juniper-vqfx-vagrant-libvirt-box-install&gt;

mkdir -p ~/vagrant/boxes/juniper/vqfx
cd ~/vagrant/boxes/juniper/vqfx
cp /data/images/vqfx10k-pfe-virtualbox.box /root/vagrant/boxes/juniper/vqfx/
cp /data/images/jinstall-vqfx-10-f-17.4R1.16.img /root/vagrant/boxes/juniper/vqfx/
tar -xvf vqfx10k-pfe-virtualbox.box</description>
    </item>
    <item rdf:about="https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:vagrantfile&amp;rev=1698935895&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-02T14:38:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vagrantfile</title>
        <link>https://camarreal.dedyn.io/doku.php?id=network_stuff:juniper:vqfx:vagrantfile&amp;rev=1698935895&amp;do=diff</link>
        <description>[root@mycompany2test.cambridge.mycompany1.co.uk vmx-test]# cd ../vqfx-test/
[root@mycompany2test.cambridge.mycompany1.co.uk vqfx-test]# clear

[root@mycompany2test.cambridge.mycompany1.co.uk vqfx-test]# cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :

def get_mac(oui=&quot;28:b7:ad&quot;)
  &quot;Generate a MAC address&quot;
  nic = (1..3).map{&quot;%0.2x&quot;%rand(256)}.join(&quot;:&quot;)
  return &quot;#{oui}:#{nic}&quot;
end

Vagrant.configure(&quot;2&quot;) do |config|
  config.vm.define &quot;server01&quot; do |node|
    guest_name = &quot;server01&quot;
   …</description>
    </item>
</rdf:RDF>
