<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Juniper on Denis Nolan</title>
    <link>/tags/juniper/</link>
    <description>Recent content in Juniper on Denis Nolan</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>© 2026 Denis Nolan</copyright>
    <lastBuildDate>Wed, 15 Oct 2025 11:56:41 +0100</lastBuildDate><atom:link href="/tags/juniper/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Updating Juniper MX With USB</title>
      <link>/posts/2025/updating-juniper-mx-with-usb/</link>
      <pubDate>Wed, 15 Oct 2025 11:56:41 +0100</pubDate>
      
      <guid>/posts/2025/updating-juniper-mx-with-usb/</guid>
      <description>&lt;p&gt;Sometimes you have a Juniper MX router that may have firmware version from a number of years ago. Juniper usually can update at most 3 versions ahead. So for example you can potentially&#xA;upgrade a device from Junos 21.3 to 23.3. However should your version be 20.1, you&amp;rsquo;re advised to upgrade to a version within the 3 max hops.&lt;/p&gt;&#xA;&lt;p&gt;The alternative is to upgrade straight away using a USB key especially as it is a cleaner install and quicker all round. In my experence that is.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Junos Running on Backup Image</title>
      <link>/posts/2022/junos-running-on-backup-image/</link>
      <pubDate>Mon, 26 Sep 2022 21:47:50 +0100</pubDate>
      
      <guid>/posts/2022/junos-running-on-backup-image/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve come across this mostly with SRX units where the device is running on a backup image. This generally happens if the unit suffers a power cut.&lt;/p&gt;&#xA;&#xA;&lt;h4 class=&#34;relative group&#34;&gt;Message&#xA;    &lt;div id=&#34;message&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#message&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h4&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;***********************************************************************&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**                                                                   **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  WARNING: THIS DEVICE HAS BOOTED FROM THE BACKUP JUNOS IMAGE      **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**                                                                   **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  It is possible that the primary copy of JUNOS failed to boot up  **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  properly, and so this device has booted from the backup copy.    **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**                                                                   **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  Please re-install JUNOS to recover the primary copy in case      **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  it has been corrupted and if auto-snapshot feature is not        **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**  enabled.                                                         **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**                                                                   **&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;***********************************************************************&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Steps&#xA;    &lt;div id=&#34;steps&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#steps&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;show system alarms&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;1 alarms currently active&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Alarm time               Class  Description&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;2022-03-07 09:05:08 GMT  Minor  Host 0 Boot from backup root&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;show chassis alarms&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;1 alarms currently active&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Alarm time               Class  Description&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;2022-03-07 09:05:08 GMT  Minor  Host 0 Boot from backup root&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;show system storage partitions&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Boot Media: internal (da0)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Active Partition: da0s1a&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Backup Partition: da0s2a&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Currently booted from: backup (da0s2a)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Partitions information:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  Partition  Size   Mountpoint&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s1a        2.4G   altroot&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s2a        2.4G   /&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s3e        185M   /config&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s3f        2.1G   /var&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s4a        224M   recovery&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  s4e        15M&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;&lt;em&gt;Note above stating &lt;code&gt;Currently booted from: backup (da0s2a)&lt;/code&gt;&lt;/em&gt;. This is the backup partition the unit has currently booted from. We&amp;rsquo;ll need to rectify this.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Traffic shaping per IPv4 address on Juniper SRX</title>
      <link>/posts/2021/traffic-shaping-per-ipv4-juniper-srx/</link>
      <pubDate>Fri, 27 Aug 2021 00:18:20 +0100</pubDate>
      
      <guid>/posts/2021/traffic-shaping-per-ipv4-juniper-srx/</guid>
      <description>&lt;p&gt;Limiting bandwidth per IPv4 address on a Juniper SRX. I&amp;rsquo;ve not done this for IPv6 as of yet.&#xA;In this example there is a &lt;code&gt;/29&lt;/code&gt; subnet with two addresses requiring bandwidth limits.&lt;/p&gt;&#xA;&lt;p&gt;We&amp;rsquo;ll be configuring the following examples:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;172.16.0.2 = 100Mbps symmetrical&lt;/li&gt;&#xA;&lt;li&gt;172.16.0.3 = 25Mbps symmetrical&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Interfaces:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;WAN = ge-0/0/0&lt;/li&gt;&#xA;&lt;li&gt;DMZ = ge-0/0/1&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h5 class=&#34;relative group&#34;&gt;Configure queues and schedules&#xA;    &lt;div id=&#34;configure-queues-and-schedules&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#configure-queues-and-schedules&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h5&gt;&#xA;&lt;p&gt;Think of the queues as segregated laneways with speed limits. We&amp;rsquo;re configuring up a queue number and naming it after the speed we&amp;rsquo;re going to set. This is just a reference name. The SRX already has some queue numbers as default, so we wont interfere with them. We&amp;rsquo;ll choose some free queues. Queues 6 and 7&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
