Showing results for 
Search instead for 
Did you mean: 

how to get Netconf RPC request equivalent to "Show version" output

how to get Netconf RPC request equivalent to "Show version" output

New Contributor

Extreme SLX9540 Switch/Router

I am not able to get below response over netconf. Not able to find the xpath or rpc request which can get me below information over netconf.

SLX_LAB_CB04# show version

SLX-OS Operating System Version: 20.4.2
Copyright (c) 1995-2023 Extreme Networks, Inc.
Firmware name: 20.4.2b
Build Time: 04:30:49 Dec 27, 2022
Install Time: 13:01:42 Jan 26, 2023
Kernel: 4.14.67
Control Processor: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz, 4 cores
Microcode Version: 0x7000017
Memory Size: System Total: 31643 MB
System Uptime: 4days 23hrs 8mins 22secs

Name Primary/Secondary Versions
SLX-OS 20.4.2b


New Contributor

Thanks a lot ! This command works well with SLX9540 node 20.4.2 version.  though the mentioned RPC is no in SLX-OS NETCONF Operations Guide, 20.4.2. 

Can i also get to know the RPC for fetching type of Device ? ie.  ExtremeRouting SLX 9740 or  SLX 9640 or ExtremeSwitching SLX 9540. 


Extreme Employee


Thanks for your question, can you try the following:

<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:message-id="9">
<show-firmware-version xmlns=""></show-firmware-version>

I get the following reply in my SLX:

<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" nc:message-id="9" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"><show-firmware-version xmlns=''>
  <os-name>SLX-OS Operating System Software</os-name>
  <copy-right-info>Copyright (c) 1995-2023 Extreme Networks, Inc.
  <build-time>Wed Apr 26 15:44:41 2023
  <install-time>Thu Aug  3 15:06:09 2023
  <system-uptime>69days 22hrs 10mins 39secs
  <control-processor-vendor> GenuineIntel</control-processor-vendor>
  <control-processor-chipset> Intel(R) Atom(TM) CPU C3758 @ 2.20GHz</control-processor-chipset>
  <control-processor-cpucores> 8 cores</control-processor-cpucores>
  <control-processor-microcode> 0x2e</control-processor-microcode>
  <control-processor-memory>15631 MB</control-processor-memory>
Michael Morey
Principal Technical Support Engineer
Extreme Networks