Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show version (Junos OS)

Syntax

Syntax (EX Series Switches)

Syntax (TX Matrix Router)

Syntax (TX Matrix Plus Router)

Syntax (MX Series Router)

Syntax (QFX Series)

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.

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

Options

none

Display 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 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

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.

show version

show version psd 1

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.