Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] The equivalent command for show version CLI does not work on 12.3/12.3X



Article ID: KB35623 KB Last Updated: 06 May 2020Version: 1.0

The <get-network-information> equivalent command for show version CLI does not return a <junos-version> element in the response XML for EX2200 in version 12.3/12.3X.


When issuing the <get-network-information> RPC (remote procedure call) on Junos OS 12.3R12-S11 (12.3 code including 12.3X) there is no <junos-version> element in the response XML.  However, other this works fine in other Junos OS versions such as 14.1X53, 15.1X49, 15.1X53, 18.1R3.3, and 19.4R1.10.

root@switch> show version |display xml

root@switch> show version |display xml
<rpc-reply xmlns:junos="">
                    <comment>JUNOS Base OS boot [12.3R12.4]</comment>

Missing <get-network-information>.



The equivalent command to show version in a EX2200 version 12.3 code including 12.3X is <get-software-information> as shown below:

root@Building-102R-> show version |display xml rpc
<rpc-reply xmlns:junos="">

The RPC is to see the request. The reply does not include it:

show version | display xml

Upgrade to a version greater than 12.3/12.3X to use <get-network-information>‚Äč as equivalent for show version.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search