This article explains how to know if the switch is currently running on qfx-5 series image or a qfx-5e or enhanced automation software.
You may use the below command to know if the current version on the switch is 5/5e/enhanced automation:
root@user> show version | match Host
If the below output is seen, then qfx-5 image is used:
Hostname: user
JUNOS Host Software [21.4R3-S3.4]
If the below output is seen, then qfx-5e image is used:
{master:0}
JUNOS Host Software [3.14.52-rt50-WR7.0.0.9_ovp:3.1.0]
JUNOS Host qfx-5e host-control package [24.2R1-S1.1]
JUNOS Host qfx-5e host-platform package [24.2R1-S1.1]
JUNOS Host qfx-5e control-plane package [24.2R1-S1.1]
JUNOS Host qfx-5e platform package [24.2R1-S1.1]
JUNOS Host qfx-5e base package [24.2R1-S1.1]
JUNOS Host qfx-5e data-plane package [24.2R1-S1.1]
If the below output is seen, then Enhanced Automation image is used:
root@user> show version | match "Host | Automation"
JUNOS Host qfx-5e host-control package [20.2R2-S2.6]
JUNOS Host qfx-5e host-platform package [20.2R2-S2.6]
JUNOS Host qfx-5e control-plane flex package [20.2R2-S2.6]
JUNOS Host qfx-5e platform package [20.2R2-S2.6]
JUNOS Host qfx-5e base package [20.2R2-S2.6]
JUNOS Host qfx-5e data-plane package [20.2R2-S2.6]
Junos for Automation Enhancement