Configuring Sup Boot Variables
Configuring Sup Boot Variables
POST http://<IP_Address>/api/mo/sys/boot/image.json
{
"bootImage": {
"attributes": {
"sup1" : "bootflash:/nxos.9.2.0.101.I9.1.bin",
"sup2" : "bootflash:/nxos.9.2.0.101.I9.1.bin"
}
}
}
POST: http://<IP_Address>/restconf/data/Cisco-NX-OS-device:
<System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
<boot-items>
<image-items>
<sup1>bootflash:/nxos.9.2.0.101.I9.1.bin</sup1>
<sup2>bootflash:/nxos.9.2.0.101.I9.1.bin</sup2>
</image-items>
</boot-items>
</System>
CLI Command
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload.
boot nxos bootflash:/nxos.9.2.0.101.I9.1.bin sup-1 sup-2
Note: The Sup-1 and Sup-2 variables are optional. If sup-1 or sup-2 are not entered, both are taken by default.
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html