Configuring Sup Boot Variables
DME
YANG
Copy
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" } } }
Copy
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>