show version
List of Syntax
SyntaxSyntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (QFX Series)
Syntax (Junos OS Evolved)
Syntax
Syntax (EX Series Switches)
Syntax (TX Matrix Router)
Syntax (TX Matrix Plus Router)
Syntax (MX Series Router)
Syntax (QFX Series)
Syntax (Junos OS Evolved)
Release Information
Command introduced before Junos OS Release 7.4.
sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.
node option introduced in Junos OS Evolved Release 18.3R1.
Description
Display the hostname and version information about the software running on the router or switch.
Beginning in Junos OS Release 13.3, the show version command output includes the Junos field that displays the Junos OS version running on the device. This field provides a consistent means of identifying the Junos OS version, rather than extracting that information from the list of installed sub-packages.
The output for the show version command for Junos OS Evolved includes a Junos Package field that indicates the installation package name. From the prefix of this package name, you can decode which Junos OS architecture the device is running.
Table 1: Common Package Prefixes for Junos OS
Junos OS Package Prefix | Junos OS Architecture |
---|---|
jinstall-* | Junos OS for M Series, MX Series, T Series, TX Matrix, and TX Matrix Plus routers |
junos-install-* | Junos OS based on an upgraded FreeBSD kernel instead of older versions of FreeBSD |
junos-vmhost-install-* | Junos OS with upgraded FreeBSD on a VM Host |
junos-evo-install-* | Junos OS Evolved |
Options
Replace number with the following values depending on the LCC configuration:
0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.
0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.
0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.
Additional Information
By default, when you issue the show version command on a TX Matrix or TX Matrix Plus primary Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 or T4000 (in a routing matrix based on a TX Matrix Plus router) primary Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix or TX Matrix Plus backup Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 or T4000 (in a routing matrix based on a TX Matrix Plus router) backup Routing Engines that are connected to it.
Required Privilege Level
view
List of Sample Output
show version (Devices Running Junos OS Release 13.3 and Later)show version
show version (Junos OS Evolved with third-party application installed)
Sample Output
show version (Devices Running Junos OS Release 13.3 and Later)
The following output is from the MX240 Router and shows the Junos field introduced in Junos OS 13.3. Depending on the platform running Junos OS 13.3, you might see different installed sub-packages, but the Junos field is common across all platforms that run Junos OS 13.3 and later.
user@host > show version
Hostname: lab Model: mx240 Junos: 13.3R1.4 JUNOS Base OS boot [13.3R1.4] JUNOS Base OS Software Suite [13.3R1.4] JUNOS Kernel Software Suite [13.3R1.4] JUNOS Crypto Software Suite [13.3R1.4] JUNOS Packet Forwarding Engine Support (M/T/EX Common) [13.3R1.4] JUNOS Packet Forwarding Engine Support (MX Common) [13.3R1.4] JUNOS Online Documentation [113.3R1.4] JUNOS Services AACL Container package [13.3R1.4] JUNOS Services Application Level Gateways [13.3R1.4] JUNOS AppId Services [13.3R1.4] JUNOS Border Gateway Function package [13.3R1.4] JUNOS Services Captive Portal and Content Delivery Container package [13.3R1.4] JUNOS Services HTTP Content Management package [13.3R1.4] JUNOS IDP Services [13.3R1.4] JUNOS Services Jflow Container package [13.3R1.4] JUNOS Services LL-PDF Container package [13.3R1.4] JUNOS Services MobileNext Software package [13.3R1.4] JUNOS Services Mobile Subscriber Service Container package [13.3R1.4] JUNOS Services NAT [13.3R1.4] JUNOS Services PTSP Container package [13.3R1.4] JUNOS Services RPM [13.3R1.4] JUNOS Services Stateful Firewall [13.3R1.4] JUNOS Voice Services Container package [13.3R1.4] JUNOS Services Crypto [13.3R1.4] JUNOS Services SSL [13.3R1.4] JUNOS Services IPSec [13.3R1.4] JUNOS platform Software Suite [13.3R1.4] JUNOS Runtime Software Suite [13.3R1.4] JUNOS Routing Software Suite [13.3R1.4] JUNOS py-base-i386 [13.3R1.4]
show version
user@host> show version
Hostname: router1 Model: m20 JUNOS Base OS boot [7.2-20050312.0] JUNOS Base OS Software Suite [7.2-20050312.0] JUNOS Kernel Software Suite [7.2R1.7] JUNOS Packet Forwarding Engine Support (M20/M40) [7.2R1.7] JUNOS Routing Software Suite [7.2R1.7] JUNOS Online Documentation [7.2R1.7] JUNOS Crypto Software Suite [7.2R1.7]
{master}
user@host> show version psd 1
psd1-re0: -------------------------------------------------------------------------- Hostname: china Model: t640 JUNOS Base OS boot [9.1I20080311_1959_builder] JUNOS Base OS Software Suite [9.1-20080321.0] JUNOS Kernel Software Suite [9.1-20080321.0] JUNOS Crypto Software Suite [9.1-20080321.0] JUNOS Packet Forwarding Engine Support (M/T Common) [9.1-20080321.0] JUNOS Packet Forwarding Engine Support (T-series) [9.1-20080321.0] JUNOS Online Documentation [9.1-20080321.0] JUNOS Routing Software Suite [9.1-20080321.0] labpkg [7.0]
show version (Junos OS Evolved with third-party application installed)
user@host> show version
Model: ptx10003-160c Junos: 20.1-201910240713.0-EVO Junos Package: junos-evo-install-ptx-fixed-x86-64-20.1-201910240713.0-EVO.iso Yocto: 2.2.1 Linux Kernel: 4.8.28-WR2.2.1_standard-g21fb4b9 SDK version: 5.6.7 External Software: acmeMonitor-1.2.3 [sdk 5.6.7] acmeLoadShare-3.4.5 [sdk 5.6.8]