EasyManua.ls Logo

Cisco Nexus 5000 Series - Page 8

Cisco Nexus 5000 Series
12 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DescriptionNX-API Request Element
The session ID element is valid only when the response message is chunked.
To retrieve the next chunk of the message, you must specify a sid to match
the sid of the previous response message.
sid
Input can be one command or multiple commands. However, commands that
belong to different message types should not be mixed. For example, show
commands are cli_show message type and are not supported in cli_conf mode.
Multiple commands are separated with " ; ". (The ; must be
surrounded with single blank characters.)
Note
The following are examples of multiple commands:
show version ; show interface brief ; show vlan
cli_show
interface Eth4/1 ; no shut ; switchport
cli_conf
input
The available output message formats are the following:
Specifies output in XML format.xml
Specifies output in JSON format.json
The Cisco Nexus 5000 and 6000 Series CLI supports XML output,
which means that the JSON output is converted from XML. The
conversion is processed on the switch.
To manage the computational overhead, the JSON output is
determined by the amount of output. If the output exceeds 1 MB, the
output is returned in XML format. When the output is chunked, only
XML output is supported.
The content-type header in the HTTP/HTTPS headers indicate the
type of response format (XML or JSON).
Note
output_format
NX-API Response Elements
The NX-API elements that respond to a CLI command are listed in the following table:
Table 3: NX-API Response Elements
DescriptionNX-API Response Element
NX-API version.version
Type of command to be executed.type
8

Other manuals for Cisco Nexus 5000 Series

Related product manuals