Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show version

 

List of Syntax

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)

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.

Command introduced in Junos OS Release 9.0 for EX Series switches.

sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.

Command introduced in Junos OS Release 11.1 for the QFX Series.

Command introduced in Junos OS Release 15.1X54-D20 for ACX5048 and ACX5096 Routers.

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

noneDisplay standard information about the hostname and version of the software running on the router or switch.
brief | detail(Optional) Display the specified level of output.
all-members(EX4200 switches and MX Series routers only) (Optional) Display standard information about the hostname and version of the software running on all members of the Virtual Chassis configuration.
component all(QFabric systems only) (Optional) Display the host name and version information about the software running on all the components on the QFabric system.
component component-name(QFabric systems only) (Optional) Display the host name and version information about the software running on a specific QFabric system component. Replace component-name with the name of the QFabric system component. The component-name can be the name of a diagnostics Routing Engine, Director group, fabric control Routing Engine, fabric manager Routing Engine, Interconnect device, or Node group.
local(EX4200 switches and MX Series routers only) (Optional) Display standard information about the hostname and version of the software running on the local Virtual Chassis member.
member member-id(EX4200 switches and MX Series routers only) (Optional) Display standard information about the hostname and version of the software running on the specified member of the Virtual Chassis configuration. For EX4200 switches, replace member-id with a value from 0 through 9. For an MX Series Virtual Chassis, replace member-id with a value of 0 or 1.
node (all | node-name)(Optional) Display version information for the specified node or all nodes.
scc(TX Matrix routers only) (Optional) Display the hostname and version information about the software running on the TX Matrix router (or switch-card chassis).
lcc number(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display the host name and version information about the software running on for a specified T640 router (line-card chassis or LCC) that is connected to the TX Matrix router. On a TX Matrix Plus router, display the host name and version information about the software running for a specified T1600 or T4000 router (LCC) that is connected to the TX Matrix Plus router.

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.

sfc number(TX Matrix Plus routers only) (Optional) Display the hostname and version information about the software running on the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.

Additional Information

By default, when you issue the show version command on a TX Matrix or TX Matrix Plus master 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) master 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)

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

show version

user@host> show version
user@host> show version psd 1

show version (Junos OS Evolved)

user@host> show version