Creating Checkpoints
Creating a Checkpoint to a File
Creating a Checkpoint to a File
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
}
"children" : [{
"topSystemCreateCheckpointLTask": {
"attributes": {
"adminSt": "start",
"name": "xyz",
"description": "",
"filename": "",
"delete": "no",
"dn": "sys/action/lsubj-[sys]/topSystemCreateCheckpointLTask",
"freq": "one-shot"
}
}
}]
}
}
{
"imdata":[]
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
checkpoint xyz
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
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a Checkpoint to a Bootflash File
Creating a Checkpoint to a Bootflash File
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
}
"children" : [{
"topSystemCreateCheckpointLTask": {
"attributes": {
"adminSt": "start",
"name": "",
"description": "",
"filename": "bootflash:ckp1",
"delete": "no",
"dn": "sys/action/lsubj-[sys]/topSystemCreateCheckpointLTask",
"freq": "one-shot"
}
}
}]
}
}
{"imdata":[]}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
checkpoint bootflash:ckp1
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
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a Checkpoint to a Volatile File
Creating a Checkpoint to a Volatile File
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
}
"children" : [{
"topSystemCreateCheckpointLTask": {
"attributes": {
"adminSt": "start",
"name": "",
"description": "",
"filename": "volatile:ckp2",
"delete": "no",
"dn": "sys/action/lsubj-[sys]/topSystemCreateCheckpointLTask",
"freq": "one-shot"
}
}
}]
}
}
{"imdata":[]}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
checkpoint volatile:ckp2
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
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a Checkpoint
Creating a Checkpoint
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys]"
}
"children" : [{
"topSystemCreateCheckpointLTask": {
"attributes": {
"adminSt": "start",
"name": "",
"description": "",
"filename": "",
"delete": “yes”,
"dn": "sys/action/lsubj-[sys]/topSystemCreateCheckpointLTask",
"freq": "one-shot"
}
}
}]
}
}
{
"imdata": []
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
checkpoint
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
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html