cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2161
Views
0
Helpful
0
Replies

NX-API returning different outputs on Nexus 9K

Sersanch
Cisco Employee
Cisco Employee

I have two Nexus 9000 with the feature NX-API enabled, both nexus are clean and have the same version. 

 

However, the outputs are completely different when using the "show vlan id 10" command, I'm using json-rpc and cli command type. 

 

In one of the Nexus I get this:

 

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32001,
    "message": "Invalid CLI output",
    "data": {
      "msg": "CLI output cannot be parsed by the server"
    }
  },
  "id": 1
}

 

In the other one, I get this:

 

{
  "jsonrpc": "2.0",
  "result": null,
  "id": 1
}

 Is there any way to fix this? or why is this happening? 

0 Replies 0