Hi FabNewCert,
To answer your first query about the difference between firmware upgrade and OS upgrade, let us understand what firmware is. Firmware is basically a set of instructions needed for devices to perform the tasks in a much efficient way than what they were normally designed for. Unlike software, the firmware is not created to perform specific functions on the hardware, rather it is used to get the optimal network performance, and to fix a vulnerability that could be caused over a period of time.
More often than not, our devices are running multiple programs at a time, which will eventually degrade the system performance and will slow the pace of operations. The obvious solution that people consider in such cases is to replace the old, worn-out hardware with new parts. The other and the better way out is to update /upgrade the firmware that the system runs on. Firmware updates are far more cost-effective and simpler when compared to replacing the hardware.
While an OS upgrade will upgrade the Junos operating system on the Routing Engine(in your case), Firmware updates will help us in upgrading the performance of the same Routing Engine ( FYI, firmware upgrade can be performed on various parts- RE, FPC, MIC, PIC, etc.)
Now, coming to your second query about the current and available versions of firmware. The current version is the Firmware version on the affected router or switch parts. The available version is the New versions of firmware for upgrading or downgrading. The firmware information is cached in the FRU online state if the device is accessible. This cached information is displayed even when the FRU is in error or offline condition.
The below document gives you a brief of the system output - "show system firmware"
https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/show-system-firmware.html
To address your last query, in my knowledge, you cannot perform an OS upgrade and a firmware upgrade in the same command/automatically together. The reason being, not all Junos versions support firmware packages and the software images/files for both OS and Firmware upgrade are different and serve different purposes.
You can refer the below link for firmware packages:
https://support.juniper.net/support/downloads/
Hope this helps. 🙂
Please mark this "Accepted Solution" if this serves your purpose.
Kudos are much appreciated too 🙂