For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd lock item
        • POSTapplyTemplates task
        • POSTCheck if a device is alive
        • POSTEvaluate NSO when conditions
        • GETGet a NEDs in NSO
        • GETGet all NEDs detailed
        • GETGet authentication groups
        • GETGet filtered devices
        • GETGet filtered devices from an adapter
        • POSTGet JSON schemas of service models
        • POSTGet leafref values from NSO
        • POSTGet rollback files
        • GETList all authentication groups
        • GETList all NEDs in NSO
        • POSTMake REST actions to NSO
        • POSTrestQuery task
        • POSTRun a Live Status
        • POSTRun a Live Status command
        • POSTRun action
        • POSTRun Live Status commands
        • POSTsetItemNacmGroup task
        • POSTsetLeaf task
        • POSTValidate commit without committing
        • POSTValidate network configuration
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceNso Manager

Run Live Status commands

POST
http://localhost:3000/nso_manager/runCommands
POST
/nso_manager/runCommands
$curl -X POST http://localhost:3000/nso_manager/runCommands \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1[
2 [
3 {
4 "device": "ios.0",
5 "result": "\r\nCisco IOS Software, NETSIM\r\nios.0# ",
6 "status": "success",
7 "command": "show version"
8 }
9 ],
10 [
11 {
12 "device": "ios.0",
13 "result": "\r\nios.0# ",
14 "status": "success",
15 "command": "show interfaces"
16 }
17 ]
18]

Runs a list of Live Status commands against a list of devices (e.g. [‘show version’, ‘show ip interface brief’]).

Was this page helpful?
Previous

setItemNacmGroup task

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
deviceslist of strings or stringOptional
commandslist of stringsOptional
optionsobjectOptional

Response

Live status results.
devicestring
resultstring
statusstring
commandstring

Errors

500
Internal Server Error