Sysmgr Commands

show copyright
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show copyright",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "content": "Cisco Nexus Operating System (NX-OS) Software\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2
018, Cisco Systems, Inc. All rights reserved.\nThe copyrights to certain works contained in this software are\nowned by
other third parties and used and distributed under\nlicense. Certain components of this software are licensed under\nthe
 GNU General Public License (GPL) version 2.0 or the GNU\nLesser General Public License (LGPL) Version 2.1. A copy of ea
ch\nsuch license is available at\nhttp://www.opensource.org/licenses/gpl-2.0.php and\nhttp://www.opensource.org/licenses
/lgpl-2.1.php"
}                                                 
switch# show copyright | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <copyright>                                                                                                   
    <__readonly__>                                                                                               
     <content>Cisco Nexus Operating System (NX-OS) Software                                                      
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
</content>
    </__readonly__>
   </copyright>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                                            

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show copyright**

switch# show copyright
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac        
Copyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are   
owned by other third parties and used and distributed under      
license. Certain components of this software are licensed under  
the GNU General Public License (GPL) version 2.0 or the GNU      
Lesser General Public License (LGPL) Version 2.1. A copy of each 
such license is available at                                     
http://www.opensource.org/licenses/gpl-2.0.php and               
http://www.opensource.org/licenses/lgpl-2.1.php                  

show core

show core
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show core",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_cores": {
    "ROW_cores": {
      "vdc_id": 1,
      "module_id": 1,
      "instance": 1,
      "process_name": "pixmc",
      "pid": "7134",
      "sys_time": "2018-07-11 03:45:17"
    }
  }
}                                               
switch# show core | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <cores>                                                                                                       
    <__readonly__>                                                                                               
     <TABLE_cores>                                                                                               
      <ROW_cores>
       <vdc_id>1</vdc_id>
       <module_id>1</module_id>
       <instance>1</instance>
       <process_name>pixmc</process_name>
       <pid>7134</pid>
       <sys_time>2018-07-11 03:45:17</sys_time>
      </ROW_cores>
     </TABLE_cores>
    </__readonly__>
   </cores>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                                          

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show core**

switch# show core
VDC  Module  Instance  Process-name     PID       Date(Year-Month-Day Time)
---  ------  --------  ---------------  --------  -------------------------
1    1       1         pixmc            7134      2018-07-11 03:45:17                      

show cores vdc [ | ]

show cores vdc [<e-vdc2> | <vdc-id>]
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show core vdc 1",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_cores": {
    "ROW_cores": {
      "vdc_id": 1,
      "module_id": 1,
      "instance": 1,
      "process_name": "pixmc",
      "pid": "7134",
      "sys_time": "2018-07-11 03:45:17"
    }
  }
}                                            
switch# show core vdc 1 | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <cores>                                                                                                       
    <vdc>                                                                                                        
     <__XML__PARAM__vdc-id>                                                                                      
      <__XML__value>1</__XML__value>                                                                             
      <__readonly__>                                                                                             
       <TABLE_cores>                                                                                             
        <ROW_cores>                                                                                              
         <vdc_id>1</vdc_id>
         <module_id>1</module_id>
         <instance>1</instance>
         <process_name>pixmc</process_name>
         <pid>7134</pid>
         <sys_time>2018-07-11 03:45:17</sys_time>
        </ROW_cores>
       </TABLE_cores>
      </__readonly__>
     </__XML__PARAM__vdc-id>
    </vdc>
   </cores>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                                        

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show core vdc 1**

switch# show core vdc 1
VDC  Module  Instance  Process-name     PID       Date(Year-Month-Day Time)
---  ------  --------  ---------------  --------  -------------------------
1    1       1         pixmc            7134      2018-07-11 03:45:17                          

show cores vdc-all

show cores vdc-all
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show cores vdc-all",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_cores": {
    "ROW_cores": {
      "vdc_id": 1,
      "module_id": 1,
      "instance": 1,
      "process_name": "pixmc",
      "pid": "7134",
      "sys_time": "2018-07-11 03:45:17"
    }
  }
}                                           
switch# show cores vdc-all | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <cores>                                                                                                       
    <vdc-all>                                                                                                    
     <__readonly__>                                                                                              
      <TABLE_cores>                                                                                              
       <ROW_cores>                                                                                               
        <vdc_id>1</vdc_id>                                                                                       
        <module_id>1</module_id>
        <instance>1</instance>
        <process_name>pixmc</process_name>
        <pid>7134</pid>
        <sys_time>2018-07-11 03:45:17</sys_time>
       </ROW_cores>
      </TABLE_cores>
     </__readonly__>
    </vdc-all>
   </cores>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                                      

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show cores vdc-all**

switch# show cores vdc-all
VDC  Module  Instance  Process-name     PID       Date(Year-Month-Day Time)
---  ------  --------  ---------------  --------  -------------------------
1    1       1         pixmc            7134      2018-07-11 03:45:17                               

show feature-set services

show feature-set services <s0>
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show feature-set services fabricpath",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_services": {
    "ROW_services": [
      {
        "service_name": "u2rib"
      },
      {
        "service_name": "fpoam"
      },
      {
        "service_name": "drap"
      },
      {
        "service_name": "isis_fabricpath"
      }
    ]
  },
  "count": 4,
  "feature_set": "fabricpath"
}                                          
switch# show feature-set services fabricpath | xml
<?xml version="1.0" encoding="ISO-8859-1"?>       
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <feature-set>                                                                                                 
    <services>                                                                                                   
     <__XML__PARAM__s0>                                                                                          
      <__XML__value>fabricpath</__XML__value>                                                                    
      <__readonly__>                                                                                             
       <TABLE_services>                                                                                          
        <ROW_services>                                                                                           
         <service_name>u2rib</service_name>                                                                      
        </ROW_services>                                                                                          
        <ROW_services>                                                                                           
         <service_name>fpoam</service_name>                                                                      
        </ROW_services>                                                                                          
        <ROW_services>                                                                                           
         <service_name>drap</service_name>                                                                       
        </ROW_services>                                                                                          
        <ROW_services>                                                                                           
         <service_name>isis_fabricpath</service_name>                                                            
        </ROW_services>                                                                                          
       </TABLE_services>                                                                                         
       <count>4</count>                                                                                          
       <feature_set>fabricpath</feature_set>                                                                     
      </__readonly__>                                                                                            
     </__XML__PARAM__s0>
    </services>
   </feature-set>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                                  

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show feature-set services fabricpath**

switch# show feature-set services fabricpath
u2rib                                       
fpoam                                       
drap                                        
isis_fabricpath                             
4 services in feature set fabricpath                               

show system auto-collect tech-support

show system auto-collect tech-support
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system auto-collect tech-support",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "result": "Automatic collection of show tech support is enabled, timeout:600 sec"
}                                         
switch# show system auto-collect tech-support | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <system>
    <auto-collect>
     <tech-support>
      <__readonly__>
       <result>Automatic collection of show tech support is enabled, timeout:600 sec</result>
      </__readonly__>
     </tech-support>
    </auto-collect>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                              

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system auto-collect tech-support**

switch# show system auto-collect tech-support
Automatic collection of show tech support is enabled, timeout:600 sec                              

show system cores

show system cores
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system cores",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "content": "Cores are transferred to slot0:"
}                                         
switch# show system cores | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <system>
    <cores>
     <__readonly__>
      <content>Cores are transferred to slot0:
</content>
     </__readonly__>
    </cores>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                             

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system cores**

switch# show system cores
Cores are transferred to slot0:                            

show system pss shrink status

show system pss shrink status
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system pss shrink status",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
}                                         
switch# show system pss shrink status | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <system>
    <pss>
     <shrink>
      <status>
       <__readonly__>
        <summary>Last pss shrink started on: Wed Jul 11 05:48:29 2018
</summary>
       </__readonly__>
      </status>
     </shrink>
    </pss>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                            

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system pss shrink status**

switch# show system pss shrink status
Last pss shrink started on: Wed Jul 11 05:48:29 2018                           

show system pss shrink status details

show system pss shrink status details
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system pss shrink status details",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                                                                    
  "summary": "Last pss shrink started on: Wed Jul 11 05:48:29 2018", 
  "TABLE_per_vdc": {                                                 
    "ROW_per_vdc": {                                                 
      "vdc_id": "VDC 1:",                                            
      "TABLE_detail_events": {                                       
        "ROW_detail_events": [                                       
          {                                                          
            "service": "aaa",                                        
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "cert_enroll",                                
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "ExceptionLog",                               
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "ldap",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "psshelper_gsvc",                             
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "platform",                                   
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "radius",                                     
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "securityd",                                  
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "tacacs",                                     
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "eigrp",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "isis",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "isis_fabricpath",                            
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "isis_otv",                                   
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ospf",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ospfv3",                                     
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "rip",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "eigrp",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "isis",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ospf",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ospfv3",                                     
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "rip",                                        
            "vdc": 1,
            "event": "pss shrink request not sent"
          },
          {
            "service": "eigrp",
            "vdc": 1,
            "event": "pss shrink request not sent"
          },
          {
            "service": "isis",
            "vdc": 1,
            "event": "pss shrink request not sent"
          },
          {
            "service": "ospf",
            "vdc": 1,
            "event": "pss shrink request not sent"
          },
          {
            "service": "ospfv3",
            "vdc": 1,
            "event": "pss shrink request not sent"
          },
          {
            "service": "rip",
            "vdc": 1,
            "event": "pss shrink request not sent"
            },                                                         
          {                                                          
            "service": "clp_mac",                                    
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "clp_xbar",                                   
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "cmm",                                        
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "cmond",                                      
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "confcheck",                                  
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "copp",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "core-dmon",                                  
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "cpuload",                                    
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "crdcfg_server",                              
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "cts",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "dcm_cli_dp",                                 
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "dcm_core",                                   
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "dcm_snmp_dp",                                
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "dcos-xinetd",                                
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "device_test",                                
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "dhcp_snoop",                                 
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "diag_port_lb",                               
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "diagclient",                                 
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "diagmgr",                                    
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "dot1x",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "dpt",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "drap",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ecp",                                        
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "eem_policy_dir",                             
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "elo",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "eltm",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "epld_auto",                                  
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "epld_main_auto",                             
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "epld_upgrade",                               
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "epld_upgrade_stdby",                         
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "eth_dstats",                                 
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "eth_port_channel",                           
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "eth_port_sec",                               
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ethpm",                                      
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "evb",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "evc",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "evmc",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "evmed",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "evms",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "fabric-access",                              
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "fabric_mcast",                               
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "feature-mgr",                                
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "fex",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "fmd",                                        
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "fpoam",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "fs-daemon",                                  
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "fscm",                                       
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "fw_app",                                     
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "giscm",                                      
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "glbp",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "hmm",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "hsrp_engine",                                
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "icam",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "icmpv6",                                     
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "ifmgr",                                      
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "igmp",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "imp",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "installer",                                  
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "interface-vlan",                             
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ip_dummy",                                   
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "ipp",                                        
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "ipqosmgr",                                   
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "ipv6_dummy",                                 
            "vdc": 1,                                                
            "event": "pss shrink not needed (defaultcb invoked)"     
          },                                                         
          {                                                          
            "service": "iscm",                                       
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "l2fm",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "l2pt",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "l2rib",                                      
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "l2vpn",                                      
            "vdc": 1,                                                
            "event": "pss shrink request not sent"                   
          },                                                         
          {                                                          
            "service": "l3vm",                                       
            "vdc": 1,                                                
            "event": "pss shrink completed successfully"             
          },                                                         
          {                                                          
            "service": "lacp",                         
            }                                        
switch# show system pss shrink status details | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                                                      
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <system>                                                                                                      
    <pss>                                                                                                        
     <shrink>                                                                                                    
      <status>                                                                                                   
       <details>                                                                                                 
        <__readonly__>                                                                                           
         <summary>Last pss shrink started on: Wed Jul 11 05:48:29 2018                                           
</summary>                                                                                                       
         <TABLE_per_vdc>                                                                                         
          <ROW_per_vdc>                                                                                          
           <vdc_id>                                                                                              
VDC 1:                                                                                                           
</vdc_id>                                                                                                        
           <TABLE_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>aaa</service>                                                                              
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>cert_enroll</service>                                                                      
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ExceptionLog</service>                                                                     
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ldap</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>psshelper_gsvc</service>                                                                   
             <vdc>1</vdc>                                                                                        
             <event>pss shrink not needed (defaultcb invoked)                                                    
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>platform</service>                                                                         
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>radius</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>securityd</service>                                                                        
             <vdc>1</vdc>                                                                                        
             <event>pss shrink completed successfully                                                            
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>tacacs</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis_fabricpath</service>                                                                  
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis_otv</service>                                                                         
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>rip</service>                                                                              
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>rip</service>                                                                              
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>rip</service>                                                                              
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>rip</service>                                                                              
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>isis</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospf</service>                                                                             
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>ospfv3</service>                                                                           
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>                                                                                                         
            </ROW_detail_events>                                                                                 
            <ROW_detail_events>                                                                                  
             <service>eigrp</service>                                                                            
             <vdc>1</vdc>                                                                                        
             <event>pss shrink request not sent                                                                  
</event>
            </ROW_detail_events>
            <ROW_detail_events>
             <service>xmlma</service>
             <vdc>1</vdc>
             <event>pss shrink completed successfully
</event>
            </ROW_detail_events> 
            ]]>]]>                                                                                                                                                                                                        

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system pss shrink status details**

switch# show system pss shrink status details
Last pss shrink started on: Wed Jul 11 05:48:29 2018

VDC 1: Service "aaa" in vdc 1: pss shrink completed successfully Service "cert_enroll" in vdc 1: pss shrink completed successfully Service "ExceptionLog" in vdc 1: pss shrink completed successfully Service "ldap" in vdc 1: pss shrink request not sent
Service "psshelper_gsvc" in vdc 1: pss shrink not needed (defaultcb invoked) Service "platform" in vdc 1: pss shrink completed successfully
Service "radius" in vdc 1: pss shrink completed successfully
Service "securityd" in vdc 1: pss shrink completed successfully
Service "tacacs" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "isis_fabricpath" in vdc 1: pss shrink request not sent
Service "isis_otv" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "acllog" in vdc 1: pss shrink completed successfully
Service "aclmgr" in vdc 1: pss shrink completed successfully
Service "aclqos" in vdc 1: pss shrink completed successfully
Service "adbm" in vdc 1: pss shrink completed successfully
Service "adjmgr" in vdc 1: pss shrink completed successfully
Service "amt" in vdc 1: pss shrink request not sent
Service "arp" in vdc 1: pss shrink completed successfully
Service "ascii-cfg" in vdc 1: pss shrink completed successfully
Service "bfd" in vdc 1: pss shrink request not sent
Service "bfd_app" in vdc 1: pss shrink request not sent
Service "bgp" in vdc 1: pss shrink completed successfully
Service "bios_daemon" in vdc 1: pss shrink request not sent
Service "bloggerd" in vdc 1: pss shrink completed successfully
Service "bootvar" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "bulkstat" in vdc 1: pss shrink request not sent
Service "callhome" in vdc 1: pss shrink completed successfully
Service "capability" in vdc 1: pss shrink completed successfully
Service "cardclient" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "catena" in vdc 1: pss shrink request not sent
Service "cdp" in vdc 1: pss shrink completed successfully
Service "cfs" in vdc 1: pss shrink completed successfully
Service "cli_acl" in vdc 1: pss shrink completed successfully
Service "clis" in vdc 1: pss shrink completed successfully
Service "clk_mgr" in vdc 1: pss shrink completed successfully
Service "clp_elam" in vdc 1: pss shrink completed successfully
Service "clp_fwd" in vdc 1: pss shrink completed successfully
Service "clp_l3" in vdc 1: pss shrink completed successfully
Service "clp_mac" in vdc 1: pss shrink completed successfully
Service "clp_xbar" in vdc 1: pss shrink completed successfully
Service "cmm" in vdc 1: pss shrink completed successfully
Service "cmond" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "confcheck" in vdc 1: pss shrink completed successfully
Service "copp" in vdc 1: pss shrink completed successfully
Service "core-dmon" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "cpuload" in vdc 1: pss shrink completed successfully
Service "crdcfg_server" in vdc 1: pss shrink not needed (defaultcb invoked) Service "cts" in vdc 1: pss shrink request not sent
Service "dcm_cli_dp" in vdc 1: pss shrink request not sent
Service "dcm_core" in vdc 1: pss shrink request not sent
Service "dcm_snmp_dp" in vdc 1: pss shrink request not sent
Service "dcos-xinetd" in vdc 1: pss shrink request not sent
Service "device_test" in vdc 1: pss shrink completed successfully
Service "dhcp_snoop" in vdc 1: pss shrink request not sent
Service "diag_port_lb" in vdc 1: pss shrink completed successfully
Service "diagclient" in vdc 1: pss shrink completed successfully
Service "diagmgr" in vdc 1: pss shrink completed successfully
Service "dot1x" in vdc 1: pss shrink request not sent
Service "dpt" in vdc 1: pss shrink request not sent
Service "drap" in vdc 1: pss shrink request not sent
Service "ecp" in vdc 1: pss shrink completed successfully
Service "eem_policy_dir" in vdc 1: pss shrink completed successfully
Service "elo" in vdc 1: pss shrink request not sent
Service "eltm" in vdc 1: pss shrink completed successfully
Service "epld_auto" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "epld_main_auto" in vdc 1: pss shrink request not sent
Service "epld_upgrade" in vdc 1: pss shrink request not sent
Service "epld_upgrade_stdby" in vdc 1: pss shrink not needed (defaultcb invoked) Service "eth_dstats" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "eth_port_channel" in vdc 1: pss shrink completed successfully
Service "eth_port_sec" in vdc 1: pss shrink request not sent
Service "ethpm" in vdc 1: pss shrink completed successfully
Service "evb" in vdc 1: pss shrink request not sent
Service "evc" in vdc 1: pss shrink request not sent
Service "evmc" in vdc 1: pss shrink completed successfully
Service "evmed" in vdc 1: pss shrink request not sent
Service "evms" in vdc 1: pss shrink completed successfully
Service "fabric-access" in vdc 1: pss shrink request not sent
Service "fabric_mcast" in vdc 1: pss shrink request not sent
Service "feature-mgr" in vdc 1: pss shrink completed successfully
Service "fex" in vdc 1: pss shrink request not sent
Service "fmd" in vdc 1: pss shrink completed successfully
Service "fpoam" in vdc 1: pss shrink request not sent
Service "fs-daemon" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "fscm" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "fw_app" in vdc 1: pss shrink completed successfully
Service "giscm" in vdc 1: pss shrink completed successfully
Service "glbp" in vdc 1: pss shrink request not sent
Service "hmm" in vdc 1: pss shrink request not sent
Service "hsrp_engine" in vdc 1: pss shrink request not sent
Service "icam" in vdc 1: pss shrink request not sent
Service "icmpv6" in vdc 1: pss shrink completed successfully
Service "ifmgr" in vdc 1: pss shrink completed successfully
Service "igmp" in vdc 1: pss shrink completed successfully
Service "imp" in vdc 1: pss shrink request not sent
Service "installer" in vdc 1: pss shrink request not sent
Service "interface-vlan" in vdc 1: pss shrink request not sent
Service "ip_dummy" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "ipp" in vdc 1: pss shrink request not sent
Service "ipqosmgr" in vdc 1: pss shrink completed successfully
Service "ipv6_dummy" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "iscm" in vdc 1: pss shrink request not sent
Service "l2fm" in vdc 1: pss shrink completed successfully
Service "l2pt" in vdc 1: pss shrink completed successfully
Service "l2rib" in vdc 1: pss shrink completed successfully
Service "l2vpn" in vdc 1: pss shrink request not sent
Service "l3vm" in vdc 1: pss shrink completed successfully
Service "lacp" in vdc 1: pss shrink request not sent
Service "lcdc3_syncpoint1" in vdc 1: pss shrink request not sent
Service "lcdc3_syncpoint2" in vdc 1: pss shrink request not sent
Service "lcdc3_syncpoint3" in vdc 1: pss shrink request not sent
Service "lcdc3_syncpoint4" in vdc 1: pss shrink request not sent
Service "lcdc3_syncpoint5" in vdc 1: pss shrink request not sent
Service "ldp" in vdc 1: pss shrink request not sent
Service "licmgr" in vdc 1: pss shrink completed successfully
Service "lim" in vdc 1: pss shrink completed successfully
Service "lisp" in vdc 1: pss shrink request not sent
Service "lit" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "lldp" in vdc 1: pss shrink completed successfully
Service "lmgrd" in vdc 1: pss shrink request not sent
Service "m2rib" in vdc 1: pss shrink completed successfully
Service "m6rib" in vdc 1: pss shrink completed successfully
Service "mcastfwd" in vdc 1: pss shrink completed successfully
Service "mcm" in vdc 1: pss shrink completed successfully
Service "mfdm" in vdc 1: pss shrink completed successfully
Service "mhbfd_tracker" in vdc 1: pss shrink completed successfully
Service "mka" in vdc 1: pss shrink request not sent
Service "mmode" in vdc 1: pss shrink completed successfully
Service "module" in vdc 1: pss shrink completed successfully
Service "monitor" in vdc 1: pss shrink completed successfully
Service "monitorc" in vdc 1: pss shrink completed successfully
Service "mping_server" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "mpls" in vdc 1: pss shrink request not sent
Service "mpls_oam" in vdc 1: pss shrink request not sent
Service "mpls_te" in vdc 1: pss shrink request not sent
Service "mrib" in vdc 1: pss shrink completed successfully
Service "msdp" in vdc 1: pss shrink request not sent
Service "msrp" in vdc 1: pss shrink request not sent
Service "mvrp" in vdc 1: pss shrink request not sent
Service "mvsh" in vdc 1: pss shrink completed successfully
Service "ncpinframgr" in vdc 1: pss shrink completed successfully
Service "netstack" in vdc 1: pss shrink completed successfully
Service "nfm" in vdc 1: pss shrink request not sent
Service "ngoam" in vdc 1: pss shrink request not sent
Service "npacl" in vdc 1: pss shrink completed successfully
Service "ntp" in vdc 1: pss shrink completed successfully
Service "nve" in vdc 1: pss shrink request not sent
Service "nxapi" in vdc 1: pss shrink request not sent
Service "obfl" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "oim" in vdc 1: pss shrink request not sent
Service "onep" in vdc 1: pss shrink request not sent
Service "orib" in vdc 1: pss shrink request not sent
Service "otm" in vdc 1: pss shrink completed successfully
Service "otv" in vdc 1: pss shrink request not sent
Service "patch-installer" in vdc 1: pss shrink completed successfully
Service "pdsd" in vdc 1: pss shrink completed successfully
Service "pfm_dummy" in vdc 1: pss shrink completed successfully
Service "pfstat" in vdc 1: pss shrink completed successfully
Service "pim" in vdc 1: pss shrink request not sent
Service "pim6" in vdc 1: pss shrink request not sent
Service "pixm_gl" in vdc 1: pss shrink completed successfully
Service "pixm_vl" in vdc 1: pss shrink completed successfully
Service "pixmc" in vdc 1: pss shrink completed successfully
Service "pktmgr" in vdc 1: pss shrink completed successfully
Service "plbm" in vdc 1: pss shrink request not sent
Service "plcmgr" in vdc 1: pss shrink completed successfully
Service "plog_sup" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "plsm" in vdc 1: pss shrink completed successfully
Service "pltfm_config" in vdc 1: pss shrink completed successfully
Service "pltfm_debug" in vdc 1: pss shrink completed successfully
Service "plugin" in vdc 1: pss shrink completed successfully
Service "pnp" in vdc 1: pss shrink request not sent
Service "poap" in vdc 1: pss shrink request not sent
Service "pong" in vdc 1: pss shrink request not sent
Service "port-profile" in vdc 1: pss shrink completed successfully
Service "port_client" in vdc 1: pss shrink completed successfully
Service "private-vlan" in vdc 1: pss shrink request not sent
Service "psshelper" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "ptp" in vdc 1: pss shrink request not sent
Service "res_mgr" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "rpm" in vdc 1: pss shrink completed successfully
Service "rsvp" in vdc 1: pss shrink request not sent
Service "rtd_monitor" in vdc 1: pss shrink completed successfully
Service "sac_usd" in vdc 1: pss shrink completed successfully
Service "sal" in vdc 1: pss shrink completed successfully
Service "sc_engine" in vdc 1: pss shrink request not sent
Service "scheduler" in vdc 1: pss shrink request not sent
Service "sdwrapd" in vdc 1: pss shrink completed successfully
Service "sensor" in vdc 1: pss shrink completed successfully
Service "session-mgr" in vdc 1: pss shrink completed successfully
Service "sim" in vdc 1: pss shrink completed successfully
Service "sksd" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "sla_responder" in vdc 1: pss shrink request not sent
Service "sla_sender" in vdc 1: pss shrink request not sent
Service "sla_twamp" in vdc 1: pss shrink request not sent
Service "smartc" in vdc 1: pss shrink request not sent
Service "smm" in vdc 1: pss shrink completed successfully
Service "snmpd" in vdc 1: pss shrink completed successfully
Service "snmpmib_proc" in vdc 1: pss shrink completed successfully
Service "spm" in vdc 1: pss shrink completed successfully
Service "statsclient" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "statsprofiler" in vdc 1: pss shrink completed successfully
Service "stp" in vdc 1: pss shrink completed successfully
Service "sysinfo" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "syslogd" in vdc 1: pss shrink completed successfully
Service "tamnw" in vdc 1: pss shrink completed successfully
Service "tcpudp_dummy" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "telemetry" in vdc 1: pss shrink request not sent
Service "tftp_aa" in vdc 1: pss shrink request not sent
Service "tftpd" in vdc 1: pss shrink request not sent
Service "ttyd" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "tunnel" in vdc 1: pss shrink request not sent
Service "u2" in vdc 1: pss shrink completed successfully
Service "u2rib" in vdc 1: pss shrink request not sent
Service "u6rib" in vdc 1: pss shrink completed successfully
Service "udld" in vdc 1: pss shrink request not sent
Service "ufdm" in vdc 1: pss shrink completed successfully Service "ulib" in vdc 1: pss shrink request not sent Service "urib" in vdc 1: pss shrink completed successfully Service "usbhsd" in vdc 1: pss shrink not needed (defaultcb invoked) Service "vbuilder" in vdc 1: pss shrink request not sent Service "vdc_mgr" in vdc 1: pss shrink not needed (defaultcb invoked) Service "vlan_mgr" in vdc 1: pss shrink completed successfully Service "vman" in vdc 1: pss shrink completed successfully Service "vmm" in vdc 1: pss shrink completed successfully Service "vmtracker" in vdc 1: pss shrink request not sent Service "vnsegment_mgr" in vdc 1: pss shrink request not sent Service "vntag_mgr" in vdc 1: pss shrink request not sent Service "vpc" in vdc 1: pss shrink request not sent Service "vpc_config_sync" in vdc 1: pss shrink completed successfully Service "vrrp-cfg" in vdc 1: pss shrink request not sent Service "vrrp-eng" in vdc 1: pss shrink request not sent Service "vrrpv3" in vdc 1: pss shrink request not sent Service "vshd" in vdc 1: pss shrink completed successfully Service "vtp" in vdc 1: pss shrink request not sent Service "wccp" in vdc 1: pss shrink request not sent Service "xbar" in vdc 1: pss shrink completed successfully Service "xbar_client" in vdc 1: pss shrink completed successfully Service "xbar_driver_usd" in vdc 1: pss shrink not needed (defaultcb invoked) Service "xinetd" in vdc 1: pss shrink request not sent Service "xmlma" in vdc 1: pss shrink completed successfully Service "xmpp" in vdc 1: pss shrink completed successfully

show system redundancy ha status

show system redundancy ha status
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system redundancy ha status",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_ha_status": {
    "ROW_ha_status": {
      "vdc_id": "vdc 1",
      "this_sup_internal_state": "Active with HA standby",
      "other_sup_internal_state": "HA standby"
    }
  }
}                                         
switch# show system redundancy ha status | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                                               
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <system>                                                                                                      
    <redundancy>                                                                                                 
     <ha>                                                                                                        
      <status>
       <__readonly__>
        <TABLE_ha_status>
         <ROW_ha_status>
          <vdc_id>vdc 1</vdc_id>
          <this_sup_internal_state>Active with HA standby                  </this_sup_internal_state>
          <other_sup_internal_state>HA standby                              </other_sup_internal_state>
         </ROW_ha_status>
        </TABLE_ha_status>
       </__readonly__>
      </status>
     </ha>
    </redundancy>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                           

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system redundancy ha status**

switch# show system redundancy ha status
VDC No    This supervisor                         Other supervisor                        
------    ---------------                         ---------------                         
                                                                                          

vdc 1 Active with HA standby HA standby

show system redundancy status

show system redundancy status
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system redundancy status",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "rdn_mode_admin": "HA",
  "rdn_mode_oper": "HA",
  "this_sup": "(sup-1)",
  "this_sup_rdn_state": "Active",
  "this_sup_sup_state": "Active",
  "this_sup_internal_state": "Active with HA standby",
  "other_sup": "(sup-2)",
  "other_sup_rdn_state": "Standby",
  "other_sup_sup_state": "HA standby",
  "other_sup_internal_state": "HA standby"
}                                         
switch# show system redundancy status | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <system>
    <redundancy>
     <status>
      <__readonly__>
       <rdn_mode_admin>HA</rdn_mode_admin>
       <rdn_mode_oper>HA</rdn_mode_oper>
       <this_sup>(sup-1)</this_sup>
       <this_sup_rdn_state>Active</this_sup_rdn_state>
       <this_sup_sup_state>Active</this_sup_sup_state>
       <this_sup_internal_state>Active with HA standby</this_sup_internal_state>
       <other_sup>(sup-2)</other_sup>
       <other_sup_rdn_state>Standby</other_sup_rdn_state>
       <other_sup_sup_state>HA standby</other_sup_sup_state>
       <other_sup_internal_state>HA standby</other_sup_internal_state>
      </__readonly__>
     </status>
    </redundancy>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                          

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).
CLI Output

switch# show system redundancy status

switch# show system redundancy status
Redundancy mode

  administrative:   HA
     operational:   HA

This supervisor (sup-1)

Redundancy state:   Active
Supervisor state:   Active
  Internal state:   Active with HA standby

Other supervisor (sup-2)

Redundancy state:   Standby
Supervisor state:   HA standby
  Internal state:   HA standby                              

show system standby manual-boot

show system standby manual-boot
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system standby manual-boot",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "content": "system standby manual-boot option is disabled"
}                                        
switch# show system standby manual-boot | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <system>
    <standby>
     <manual-boot>
      <__readonly__>
       <content>system standby manual-boot option is disabled
</content>
      </__readonly__>
     </manual-boot>
    </standby>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                         

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system standby manual-boot**

switch# show system standby manual-boot
system standby manual-boot option is disabled                             

show system uptime

show system uptime
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show system uptime",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "sys_st_time": "Tue Jul 10 22:15:16 2018",
  "sys_up_days": 0,
  "sys_up_hrs": 10,
  "sys_up_mins": 5,
  "sys_up_secs": 58,
  "kn_up_days": 0,
  "kn_up_hrs": 10,
  "kn_up_mins": 9,
  "kn_up_secs": 27,
  "as_up_days": 0,
  "as_up_hrs": 10,
  "as_up_mins": 5,
  "as_up_secs": 58
}                                        
switch# show system uptime | xml
<?xml version="1.0" encoding="ISO-8859-1"?>                        
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgr" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                       
  <show>                                                                                                         
   <system>                                                                                                      
    <uptime>                                                                                                     
     <__readonly__>                                                                                              
      <sys_st_time>Tue Jul 10 22:15:16 2018</sys_st_time>                                                        
      <sys_up_days>0</sys_up_days>                                                                               
      <sys_up_hrs>10</sys_up_hrs>                                                                                
      <sys_up_mins>5</sys_up_mins>                                                                               
      <sys_up_secs>52</sys_up_secs>                                                                              
      <kn_up_days>0</kn_up_days>                                                                                 
      <kn_up_hrs>10</kn_up_hrs>                                                                                  
      <kn_up_mins>9</kn_up_mins>                                                                                 
      <kn_up_secs>22</kn_up_secs>                                                                                
      <as_up_days>0</as_up_days>
      <as_up_hrs>10</as_up_hrs>
      <as_up_mins>5</as_up_mins>
      <as_up_secs>52</as_up_secs>
     </__readonly__>
    </uptime>
   </system>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>                                                                                                                                                                                                        

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show system uptime**

switch# show system uptime
System start time:          Tue Jul 10 22:15:16 2018
System uptime:              0 days, 10 hours, 5 minutes, 48 seconds
Kernel uptime:              0 days, 10 hours, 9 minutes, 18 seconds
Active supervisor uptime:   0 days, 10 hours, 5 minutes, 48 seconds                             

show version

show version
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show version",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{                          
  "header_str": "Cisco Nexus Operating System (NX-OS) Software\nTAC support: http://www.cisco.com/tac\nDocuments: http:/
/www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html\nCopyright (c) 2002-2018, Cisco Systems, Inc.
 All rights reserved.\nThe copyrights to certain works contained in this software are\nowned by other third parties and 
used and distributed under\nlicense. Certain components of this software are licensed under\nthe GNU General Public Lice
nse (GPL) version 2.0 or the GNU\nLesser General Public License (LGPL) Version 2.1. A copy of each\nsuch license is avai
lable at\nhttp://www.opensource.org/licenses/gpl-2.0.php and\nhttp://www.opensource.org/licenses/lgpl-2.1.php",         
  "bios_ver_str": "2.12.0",                                                                                             
  "kickstart_ver_str": "8.3(1) [gdb]",                                                                                  
  "sys_ver_str": "8.3(1) [gdb]",                                                                                        
  "bios_cmpl_time": "05/29/2013",
  "kick_file_name": "bootflash:///n7000-s2-kickstart.8.3.1.S46.gbin",
  "kick_cmpl_time": "7/30/2018 12:00:00",
  "kick_tmstmp": "07/06/2018 14:30:56",
  "isan_file_name": "bootflash:///n7000-s2-dk9.8.3.1.S46.gbin",
  "isan_cmpl_time": "7/30/2018 12:00:00",
  "isan_tmstmp": "07/06/2018 17:56:26",
  "chassis_id": "Nexus7000 C7004 (4 Slot) Chassis",
  "module_id": "Supervisor Module-2",
  "cpu_name": "Intel(R) Xeon(R) CPU",
  "memory": 12295916,
  "mem_type": "kB",
  "proc_board_id": "JAF1637ALKH",
  "host_name": "N7K-12",
  "bootflash_size": 2007040,
  "slot0_size": 0,
  "kern_uptm_days": 0,
  "kern_uptm_hrs": 5,
  "kern_uptm_mins": 31,
  "kern_uptm_secs": 32,
  "rr_usecs": 448705,
  "rr_ctime": "Wed Jul 11 06:11:27 2018",
  "rr_reason": "Reset Requested by CLI command reload",
  "rr_sys_ver": "8.3(0.42)",
  "rr_service": null,
  "manufacturer": "Cisco Systems, Inc."
}                                      
switch# show version | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:sysmgrcli" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>                                                                                                          
  <show>                                                                                                            
   <version>                                                                                                        
    <__readonly__>                                                                                                  
     <header_str>Cisco Nexus Operating System (NX-OS) Software                                                      
TAC support: http://www.cisco.com/tac                                                                               
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html                         
Copyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.                                                   
The copyrights to certain works contained in this software are                                                      
owned by other third parties and used and distributed under                                                         
license. Certain components of this software are licensed under                                                     
the GNU General Public License (GPL) version 2.0 or the GNU                                                         
Lesser General Public License (LGPL) Version 2.1. A copy of each                                                    
such license is available at                                                                                        
http://www.opensource.org/licenses/gpl-2.0.php and                                                                  
http://www.opensource.org/licenses/lgpl-2.1.php                                                                     
</header_str>                                                                                                       
     <bios_ver_str>2.12.0</bios_ver_str>                                                                            
     <kickstart_ver_str>8.3(1) [gdb]</kickstart_ver_str>                                                            
     <sys_ver_str>8.3(1) [gdb]</sys_ver_str>                                                                        
     <bios_cmpl_time>05/29/2013</bios_cmpl_time>                                                                    
     <kick_file_name>bootflash:///n7000-s2-kickstart.8.3.1.S46.gbin</kick_file_name>                                
     <kick_cmpl_time> 7/30/2018 12:00:00</kick_cmpl_time>                                                           
     <kick_tmstmp>07/06/2018 14:30:56</kick_tmstmp>                                                                 
     <isan_file_name>bootflash:///n7000-s2-dk9.8.3.1.S46.gbin</isan_file_name>                                      
     <isan_cmpl_time> 7/30/2018 12:00:00</isan_cmpl_time>                                                           
     <isan_tmstmp>07/06/2018 17:56:26</isan_tmstmp>                                                                 
     <chassis_id>Nexus7000 C7004 (4 Slot) Chassis</chassis_id>                                                      
     <module_id>Supervisor Module-2</module_id>                                                                     
     <cpu_name>Intel(R) Xeon(R) CPU        </cpu_name>                                                              
     <memory>12295916</memory>                                                                                      
     <mem_type>kB</mem_type>                                                                                        
     <proc_board_id>JAF1637ALKH</proc_board_id>                                                                     
     <host_name>N7K-12</host_name>                                                                                  
     <bootflash_size>2007040</bootflash_size>                                                                       
     <slot0_size>0</slot0_size>                                                                                     
     <kern_uptm_days>0</kern_uptm_days>                                                                             
     <kern_uptm_hrs>5</kern_uptm_hrs>                                                                               
     <kern_uptm_mins>31</kern_uptm_mins>                                                                            
     <kern_uptm_secs>24</kern_uptm_secs>                                                                            
     <rr_usecs>448705</rr_usecs>                                                                                    
     <rr_ctime>Wed Jul 11 06:11:27 2018</rr_ctime>                                                                  
     <rr_reason>Reset Requested by CLI command reload</rr_reason>                                                   
     <rr_sys_ver>8.3(0.42)</rr_sys_ver>                                                                             
     <rr_service></rr_service>                                                                                      
     <manufacturer>Cisco Systems, Inc.</manufacturer>                                                               
    </__readonly__>                                                                                                 
   </version>                                                                                                       
  </show>                                                                                                           
 </nf:data>                                                                                                         
</nf:rpc-reply>                                                                                                     
]]>]]>                                                                                                                                                                                                              

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

  Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).

CLI Output

switch# **show version**

switch# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac        
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.                          
The copyrights to certain works contained in this software are                             
owned by other third parties and used and distributed under                                
license. Certain components of this software are licensed under                            
the GNU General Public License (GPL) version 2.0 or the GNU                                
Lesser General Public License (LGPL) Version 2.1. A copy of each                           
such license is available at                                                               
http://www.opensource.org/licenses/gpl-2.0.php and                                         
http://www.opensource.org/licenses/lgpl-2.1.php                                            

Software BIOS: version 2.12.0 kickstart: version 8.3(1) [gdb] system: version 8.3(1) [gdb] BIOS compile time: 05/29/2013 kickstart image file is: bootflash:///n7000-s2-kickstart.8.3.1.S46.gbin kickstart compile time: 7/30/2018 12:00:00 [07/06/2018 14:30:56]
system image file is: bootflash:///n7000-s2-dk9.8.3.1.S46.gbin
system compile time: 7/30/2018 12:00:00 [07/06/2018 17:56:26]

Hardware cisco Nexus7000 C7004 (4 Slot) Chassis ("Supervisor Module-2") Intel(R) Xeon(R) CPU with 12295916 kB of memory.
Processor Board ID JAF1637ALKH

Device name: N7K-12 bootflash: 2007040 kB slot0: 0 kB (expansion flash)

Kernel uptime is 0 day(s), 5 hour(s), 31 minute(s), 16 second(s)

Last reset at 448705 usecs after Tue Jul 10 22:11:27 2018 Reason: Reset Requested by CLI command reload
System version: 8.3(0.42)
Service:

plugin Core Plugin, Ethernet Plugin

Active Package(s)