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.

MODN
sysmgrConfigsys/sysmgr/config
sysmgrSystemCoresys/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 NameData TypeDescriptionValues
adminStsysmgr:CoreAdminSt
(scalar:Enum8)
State to configure sysmgr properitesSELECTION:
0 - enable
1 - disable
DEFAULT: disable
pathstring:Basic
Dir patch for shipping coresA sequence of characters
serverstring:Basic
Config server for shipping coresA sequence of characters
uriTypesysmgr:CoreUriType
(scalar:Enum32)
URI type of uri providedSELECTION:
2 - tftp
8 - bootflash
32768 - usb1
DEFAULT: bootflash
vrfstring:Basic
VRF for shipping coresA sequence of characters


Related Documentation

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

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.

MODN
sysmgrConfigsys/sysmgr/config
sysmgrSystemCoresys/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 NameData TypeDescriptionValues
adminStsysmgr:CoreAdminSt
(scalar:Enum8)
State to configure sysmgr properitesSELECTION:
0 - enable
1 - disable
DEFAULT: disable


Related Documentation

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