<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Juniper - Category - Fryguy's Blog</title><link>https://hugo.fryguy.net/categories/juniper/</link><description>Juniper - Category - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 13 Apr 2026 01:08:29 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/categories/juniper/" rel="self" type="application/rss+xml"/><item><title>Juniper Port Checker – Validate Port Speed Mappings Before You Deploy</title><link>https://hugo.fryguy.net/2026/04/12/juniper-port-checker-qfx5120/</link><pubDate>Mon, 13 Apr 2026 01:08:29 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2026/04/12/juniper-port-checker-qfx5120/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>If you work with Juniper hardware and have never used the <a href="https://apps.juniper.net/port-checker/" target="_blank" rel="noopener">Juniper Port Checker</a>, you are missing out on a really useful tool. It is part of the Juniper Pathfinder suite and it gives you a visual representation of the front panel of a device and lets you configure port speeds to validate that your planned configuration is actually supported by the hardware. No more digging through data sheets trying to figure out what happens to adjacent ports when you change a speed.</p>]]></description></item><item><title>EX4400 VC Ports Conversation</title><link>https://hugo.fryguy.net/2022/09/23/ex4400-vc-ports-conversation/</link><pubDate>Fri, 23 Sep 2022 12:47:41 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2022/09/23/ex4400-vc-ports-conversation/</guid><description><![CDATA[ 
<p>This week I am in the <a href="https://learningportal.juniper.net/juniper/user_activity_info.aspx?id=12970" target="_blank" rel="noreferrer noopener">Juniper Campus Networks with Mist AI ( JCMA )</a> course and going over the labs. I ran into a problem where the EX4400-24T et-0/1/0 and et-1/1/1 ports did not appear in in the Junos configuration nor the Mist portal. The configuration was in the portal via the templates, but the ports did not exist on the switch.</p>
<p>I have seen similar conditions as these ports can also be used for the Virtual Chasis (VC) ports. What I did find interesting is that the normal way I have always changed VC-Ports on Junos did not work.</p>
<p>First, let us look at the vc-ports on this EX4400-24T:</p>
<div class="code-block code-line-numbers" style="counter-reset: code-block 0">
    <div class="code-header language-text">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">{master:0}
</span></span><span class="line"><span class="cl">lab@ex2&gt; show virtual-chassis vc-port 
</span></span><span class="line"><span class="cl">fpc0:
</span></span><span class="line"><span class="cl">--------------------------------------------------------------------------
</span></span><span class="line"><span class="cl">Interface   Type              Trunk  Status       Speed        Neighbor
</span></span><span class="line"><span class="cl">or                             ID                 (mbps)       ID  Interface
</span></span><span class="line"><span class="cl">PIC / Port
</span></span><span class="line"><span class="cl">1/0         Configured         -1    Down         50000
</span></span><span class="line"><span class="cl">1/1         Configured         -1    Down         50000
</span></span><span class="line"><span class="cl">1/2         Configured         -1    Down         50000
</span></span><span class="line"><span class="cl">1/3         Configured         -1    Down         50000</span></span></code></pre></div></div>
<p>As you can see, we have 4 VC-Ports configured on Pic 1 – Ports 0-3.</p>]]></description></item><item><title>Junos VRRP with Tracking</title><link>https://hugo.fryguy.net/2019/11/14/junos-vrrp-with-tracking/</link><pubDate>Thu, 14 Nov 2019 08:41:11 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/11/14/junos-vrrp-with-tracking/</guid><description><![CDATA[<p style="text-align:center" class="has-text-color has-background has-huge-font-size has-very-light-gray-color has-vivid-cyan-blue-background-color">
  <strong>VRRP</strong>
</p>
<p>Virtual Router Redundancy Protocol (VRRP) is commonly deployed on corporate networks in order to maintain default gateway redundancy for hosts. In this post, I will show you the commands to configure VRRP with route-tracking and interface-tracking.</p>
<p>For this lab, I will be using EVE-NG with four vSRX running 12.1X47-D15.4 code in packet-mode. I am using this version as it has the same features as newer codes, yet is less impactful on my lab hardware. The diagram for this lab is below, you can find the starting and ending configs at my <a rel="noreferrer noopener" aria-label="github repository (opens in a new tab)" href="https://github.com/FryguyPA/BLOG-2019-VRRP" target="_blank">GitHub repository</a>. The root password for the devices is juniper123. BGP has been configured between INET and WAN1/WAN2 and is passing a default (0/0) route.</p>
<div class="wp-block-image">

</div>
<p>First up we will configure our VRRP on WAN1 and WAN2 using the virtual IP of 192.168.255.1. To configure VRRP there are a few things we need to remember in Junos.</p>
<ul class="wp-block-list">
<li>
The VRRP group on both routers has to match
</li>
<li>
In order to ping, you need to configure <em>accept-data</em>
</li>
<li>
VRRP is configured under the interface IP address
</li>
<li>
Higher priority is the preferred master
</li>
<li>
Preempt is required if you want to allow for the backup to take over
</li>
</ul>]]></description></item><item><title>Junos Policy Based VPNs – Part 4 of 4 – Recap</title><link>https://hugo.fryguy.net/2019/10/24/junos-policy-based-vpns-part-4-of-4/</link><pubDate>Thu, 24 Oct 2019 08:56:57 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/10/24/junos-policy-based-vpns-part-4-of-4/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>I figured I would take a moment and recap theses past few posts and talk about the different methods now that we understand what they are. I also want to talk about some of the things to consider when choosing your approach.</p>
<p><strong>Policy-Based with Security Policies</strong></p>
<p>In our first post, we covered using security policies to establish and pass the traffic over the tunnel. There are a few challenges with this type of configuration is that you need to be keenly aware of.</p>
<p>You need to keep in mind that the order of security policies is critical. If you have a policy that permits or denies this traffic before the policy that says to tunnel the traffic, you will never send the traffic over the tunnel. Also, new security policies are always placed at the end of the current policies, so when you add a new VPN, you will need to remember to insert the new policy in the proper location.</p>]]></description></item><item><title>Junos Policy-Based VPNs – Part 1 of 4 – Security Policies</title><link>https://hugo.fryguy.net/2019/10/14/junos-policy-based-vpns/</link><pubDate>Mon, 14 Oct 2019 08:35:48 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/10/14/junos-policy-based-vpns/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>Policy-based VPNs are a pain most of the time, especially when compared to route-based VPNs. Many of the policy-based VPNs I run across today are legacy configurations dealing with ASA or interop between vendors where the one side only supported policy-based VPNs.</p>
<p>With Junos, there are four ways to configure VPNs to support policy-based VPN requirements. Two are a true policy-based VPN and the other two are actually route-based VPNs that support policy-based VPNs.</p>
<p>The four different VPN configuration options are:</p>
<ul class="wp-block-list">
<li>
Uni-directional policy-based VPN (Covered in this post)
</li>
<li>
Bi-directional policy-based VPN (Covered in this post at the end)
</li>
<li>
IPSEC proxy-identity route-based (Coming soon)
</li>
<li>
IPSEC Traffic selectors route-based (Coming soon)
</li>
</ul>
<p>There will be four posts in this series. The first post will cover the first two items listed above, the second will cover proxy-identity, the third will cover traffic-selectors, and the last post will be a wrap-up recap with pros and caveats to each option.<figure class="wp-block-image"></p>
<p> </figure></p>
<p>I will be using <a rel="noreferrer noopener" aria-label="Juniper vLabs (opens in a new tab)" href="https://jlabs.juniper.net/vlabs/" target="_blank">Juniper vLabs</a> IPSEC VPN Policy-based lab for all these posts. We will only be working with one SRX to emulate what setting up a VPN would really be like. Feel free to head on over there and spin the lab up yourself when you are ready and kick the tires on these different configurations. Below is our diagram for the lab topology.</p>]]></description></item><item><title>Juniper vLabs</title><link>https://hugo.fryguy.net/2019/10/02/juniper-vlabs/</link><pubDate>Wed, 02 Oct 2019 12:34:22 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/10/02/juniper-vlabs/</guid><description><![CDATA[<div class="wp-block-image">
  
</div>
<p>A little over a year ago Juniper released Juniper vLabs. What vLabs is, is a place where you can safely lab and learn on Juniper virtualized hardware. When it was first launched there where about six labs available:</p>
<table class="wp-block-table has-subtle-light-gray-background-color has-background is-style-stripes">
<tr>
<td>
<strong>Standalone</strong>
</td>
<td>
</td>
</tr>
<tr>
<td>
Standalone vMX<br />Standalone vSRX
</td>
<td>
Standalone vQFX<br />
</td>
</tr>
<tr>
<td>
<strong>Routing</strong>
</td>
<td>
</td>
</tr>
<tr>
<td>
OSPF &#8211; Single-area<br />OSPF &#8211; Multi-area
</td>
<td>
BGP / OSPF<br />
</td>
</tr>
</table>
<figure class="wp-block-image">
<p> </figure></p>
<p>If you check out Juniper vLabs today, you will find 20 labs available across five different topic areas. With these labs, and I did test out a few, you do need to “reserve” them and you get them for about 3-hours. Everyone that I “reserved” was available immediately and ready to go in about 15 minutes. I did receive e-mails when I reserved when the lab was ready, and when I ended it.</p>]]></description></item><item><title>Junos Primary and Preferred Interface Commands</title><link>https://hugo.fryguy.net/2019/09/30/junos-primary-and-preferred-interface-commands/</link><pubDate>Mon, 30 Sep 2019 12:41:37 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/09/30/junos-primary-and-preferred-interface-commands/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>This blog post was spurred on by a recent real-world experience where I had to configure a primary IP address on an ISP facing interface. In this scenario, we needed to maintain the corporate ARIN assigned IP on an interface for VPN traffic to originate from and terminate on. Yet the ISP would only allow the customer to use the ISP provided IP address for BGP peering.</p>
<p><em>Fair warning, this is a bit of a long one</em> <em>and has a twist and turn.</em> <em>Also, take note that I am using interface overload NAT only for demonstration purposes.</em></p>
<p>There was some discussion around the <em>primary</em> and <em>preferred</em> interface commands, so why not learn more about it and, in turn, write a blog post about it.</p>
<p>Below is the lab diagram we will use for this blog post. I have preconfigured the devices to pass traffic with vSRX2 set to NAT all internal traffic to its outside (ge-0/0/2) interface. vSRX1, vSRX3, and vSRX4 are all configured in packet mode to keep the configurations simple. You can find a copy of the eve-ng topology, starting configs, and ending configs at the end of this post.</p>
<div class="wp-block-image">

</div>]]></description></item><item><title>Juniper NXTWORK Hack-a-Thon</title><link>https://hugo.fryguy.net/2019/09/23/juniper-nxtwork-hack-a-thon/</link><pubDate>Mon, 23 Sep 2019 13:28:06 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/09/23/juniper-nxtwork-hack-a-thon/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>Over the past couple of years, Juniper has hosted a Hackathon at start of NXTWORK. This event is a great way to meet new people, start to get in the groove of challenging technology and just have some fun. When you register for NXTWORK, there is an option to sign up for the Hackathon.</p>
<p>In 2017 we did a Red Team / Blue Team attach where the RED team was using Kali Linux to attach the Blue Team. We had to take advantage of OS and vendor exploits to gain access. The Blue Team was there monitoring and reporting on our activities as they could not stop (rules) us from entering their network.</p>]]></description></item><item><title>Testing at Juniper NXTWORK</title><link>https://hugo.fryguy.net/2019/09/18/testing-at-juniper-nxtwork/</link><pubDate>Wed, 18 Sep 2019 08:47:31 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/09/18/testing-at-juniper-nxtwork/</guid><description><![CDATA[<div class="wp-block-image">

</div>
<p>Earlier this week I did a post on Juniper NXTWORK and talked about the event. There is a lot going on that week, but one of the best things is the FREE JCNP level certification testing that is available. I wanted to elaborate a bit more on the testing, how to register, and what to expect.</p>
<p>Let us start with the JNCIE lab exams that are available for 50% off. All of the JNCIE labs – ENT <a rel="noreferrer noopener" aria-label="JPR-944 (opens in a new tab)" href="https://www.juniper.net/us/en/training/certification/certification-tracks/ent-routing-switching-track?tab=jncieent" target="_blank">JPR-944</a>, -CLOUD <a rel="noreferrer noopener" aria-label="JPR-911 (opens in a new tab)" href="https://www.juniper.net/us/en/training/certification/certification-tracks/cloud-track?tab=jncie-cloud" target="_blank">JPR-911</a>, -SEC <a rel="noreferrer noopener" aria-label="JPR-933 (opens in a new tab)" href="https://www.juniper.net/us/en/training/certification/certification-tracks/junos-security-track/?tab=jnciesec" target="_blank">JPR-933</a>, -DC <a rel="noreferrer noopener" aria-label="JPR-980 (opens in a new tab)" href="https://www.juniper.net/us/en/training/certification/certification-tracks/data-center-track/?tab=jncie-dc" target="_blank">JPR-980</a>, and -SP <a rel="noreferrer noopener" aria-label="JPR-960 (opens in a new tab)" href="https://www.juniper.net/us/en/training/certification/certification-tracks/sp-routing-switching-track/?tab=jnciesp" target="_blank">JPR-960</a> – are available on the November 9th and 10th. The exam times are from 9 AM to 6 PM both days, except for the new ENT and CLOUD which are 6-hour exams. To register for a JNCIE lab exam, you must have the required JNCIP level certification and e-mail <a href="mailto:certification@juniper.net" rel="">certification@juniper.net</a> with your Full Name, Cert Manager ID (JPRxxxx), Exam Name, and what date you would like to take it. There is limited seating, so they are first come first serve.</p>]]></description></item><item><title>Juniper NXTWORK 2019</title><link>https://hugo.fryguy.net/2019/09/16/juniper-nxtwork-2019/</link><pubDate>Mon, 16 Sep 2019 08:37:47 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2019/09/16/juniper-nxtwork-2019/</guid><description><![CDATA[<p>What an amazing year it has been since the last Juniper NXTWORK event. We are heading back to Las Vegas, NV but this time we are at Ceasars Palace from 11-13 of November. While those are the conference dates, there are a few things going on the days before the conference you should be aware of.</p>
<div class="wp-block-image">

</div>
<p>Similar to last year, Juniper is offering a limited amount of discounted JNCIE labs on Saturday and Sunday (9th and 10th). I took the JNCIE-SEC lab at the event last year and the testing was just like if you took the test in their Herndon, VA location. You are remote to the equipment and provided a laptop to access everything with. If you are looking to take a JNCIE lab, this is a great opportunity to save some monies and give it a go! Once you register you can select that you want to book a lab and the Certification team will contact you.</p>]]></description></item></channel></rss>