Configuring System Cores
Configuring USB1 as the Destination Filesystem
Configuring USB1 as the Destination Filesystem
POST http://<mgmt0_IP>/api/mo/sys/sysmgr/config.json
{
"sysmgrConfig": {
"children": [
{
"sysmgrSystemCore": {
"attributes": {
"adminSt":"enable",
"uriType":"usb1",
"path":"/cores",
"server":"/usbslot1",
"vrf":"default"
}}}]}}
{
imdata:[]
}
<System>
<sysmgr-items>
<config-items>
<systemcore-items>
<adminSt>enable</adminSt>
<path>/core:</path>
<server>/usbslot1:</server>
<uriType>usb1</uriType>
<vrf>__dummy_vrf_</vrf>
</systemcore-items>
</config-items>
</sysmgr-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
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. Click the YANG tab to view the XML payload.
system cores usbl:
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
sysmgrConfig | sys/sysmgr/config |
sysmgrSystemCore | sys/sysmgr/config/systemcore |
sysmgrSystemCore Properties
The following table contains information about the sysmgrSystemCore properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | sysmgr:CoreAdminSt (scalar:Enum8) | State to configure sysmgr properites | SELECTION: 0 - enable 1 - disable DEFAULT: disable |
path | string:Basic | Dir patch for shipping cores | A sequence of characters |
server | string:Basic | Config server for shipping cores | A sequence of characters |
uriType | sysmgr:CoreUriType (scalar:Enum32) | URI type of uri provided | SELECTION: 2 - tftp 8 - bootflash 32768 - usb1 DEFAULT: bootflash |
vrf | string:Basic | VRF for shipping cores | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting USB1 as the Destination Filesystem
Deleting USB1 as the Destination Filesystem
POST http://<mgmt0_IP>/api/mo/sys/sysmgr/config.json
{
"sysmgrConfig": {
"children": [
{
"sysmgrSystemCore": {
"attributes": {
"adminSt": "disable"
}}}]}}
{
imdata:[]
}
<System>
<sysmgr-items>
<config-items>
<systemcore-items>
<adminSt>disable</adminSt>
</systemcore-items>
</config-items>
</sysmgr-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
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. Click the YANG tab to view the XML payload.
no system cores usbl:
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
sysmgrConfig | sys/sysmgr/config |
sysmgrSystemCore | sys/sysmgr/config/systemcore |
sysmgrSystemCore Properties
The following table contains information about the sysmgrSystemCore properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | sysmgr:CoreAdminSt (scalar:Enum8) | State to configure sysmgr properites | SELECTION: 0 - enable 1 - disable DEFAULT: disable |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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: