Configuring Virtual Device Contexts

Cisco NX-OS can segment operating system and hardware resources into virtual device contexts (VDCs) that emulate virtual devices. The Cisco Nexus 9000 Series switches currently do not support multiple VDCs. All switch resources are managed in the default VDC.

Configuring a VDC Id

Configuring a VDC Id
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1",
            "name": "nxosv2"
}}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <name>nxosv2</name>
    </Vdc-list>
  </vdc-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.

vdc nxosv2 id 1


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
topSystem sys
nwVdc sys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
DEFAULT: 1
namestring:Basic
The name of the object.
RANGE: [0 , 63]
DEFAULT: switch


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

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

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

Configuring IPv4 Route Memory Limits

Configuring IPv4 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "m4rtMemMax": "41",
                  "m4rtMemMin": "41"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <m4rtMemMax>41</m4rtMemMax>
        <m4rtMemMin>41</m4rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource m4route-mem minimum 41 maximum 41


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
m4rtMemMaxscalar:Uint16
Maxiimum route memory to allocate for multicast Ipv4
RANGE: [3 , 150]
DEFAULT: 58
m4rtMemMinscalar:Uint16
Minimum route memory to allocate for multicast Ipv4
RANGE: [3 , 150]
DEFAULT: 58


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 IPv4 Route Memory Limits

Deleting IPv4 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "m4rtMemMax": "58",
                  "m4rtMemMin": "58"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <m4rtMemMax>58</m4rtMemMax>
        <m4rtMemMin>58</m4rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource m4route-mem minimum 41 maximum 41


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
m4rtMemMaxscalar:Uint16
Maxiimum route memory to allocate for multicast Ipv4
RANGE: [3 , 150]
DEFAULT: 58
m4rtMemMinscalar:Uint16
Minimum route memory to allocate for multicast Ipv4
RANGE: [3 , 150]
DEFAULT: 58


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

Configuring IPv6 Route Memory Limits

Configuring IPv6 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "m6rtMemMax": "17",
                  "m6rtMemMin": "17"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <m6rtMemMax>17</m6rtMemMax>
        <m6rtMemMin>17</m6rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource m6route-mem minimum 17 maximum 17


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
m6rtMemMaxscalar:Uint16
Maximum route memory to allocate for multicast Ipv6
RANGE: [3 , 20]
DEFAULT: 8
m6rtMemMinscalar:Uint16
Minimum route memory to allocate for multicast Ipv6
RANGE: [3 , 20]
DEFAULT: 8


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 IPv6 Route Memory Limits

Deleting IPv6 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "m6rtMemMax": "8",
                  "m6rtMemMin": "8"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <m6rtMemMax>8</m6rtMemMax>
        <m6rtMemMin>8</m6rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource m6route-mem minimum 17 maximum 17


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
m6rtMemMaxscalar:Uint16
Maximum route memory to allocate for multicast Ipv6
RANGE: [3 , 20]
DEFAULT: 8
m6rtMemMinscalar:Uint16
Minimum route memory to allocate for multicast Ipv6
RANGE: [3 , 20]
DEFAULT: 8


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

Configuring IPv4 Route Memory Limits

Configuring IPv4 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "u4rtMemMax": "441",
                  "u4rtMemMin": "441"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <u4rtMemMax>441</u4rtMemMax>
        <u4rtMemMin>441</u4rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource u4route-mem minimum 441 maximum 441


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
u4rtMemMaxscalar:Uint16
Maximum route memory to allocate for unicast Ipv4
RANGE: [1 , 768]
DEFAULT: 248
u4rtMemMinscalar:Uint16
Minimum route memory to allocate for unicast Ipv4
RANGE: [1 , 768]
DEFAULT: 248


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 IPv4 Route Memory Limits

Deleting IPv4 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "u4rtMemMax": "248",
                  "u4rtMemMin": "248"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <u4rtMemMax>248</u4rtMemMax>
        <u4rtMemMin>248</u4rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource u4route-mem minimum 441 maximum 441


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
u4rtMemMaxscalar:Uint16
Maximum route memory to allocate for unicast Ipv4
RANGE: [1 , 768]
DEFAULT: 248
u4rtMemMinscalar:Uint16
Minimum route memory to allocate for unicast Ipv4
RANGE: [1 , 768]
DEFAULT: 248


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

Configuring IPv6 Route Memory Limits

Configuring IPv6 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "u6rtMemMax": "258",
                  "u6rtMemMin": "258"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <u6rtMemMax>258</u6rtMemMax>
        <u6rtMemMin>258</u6rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource u6route-mem minimum 258 maximum 258


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
u6rtMemMaxscalar:Uint16
Maximum route memory to allocate for unicast Ipv6
RANGE: [1 , 512]
DEFAULT: 96
u6rtMemMinscalar:Uint16
Minimum route memory to allocate for unicast Ipv6
RANGE: [1 , 512]
DEFAULT: 96


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 IPv6 Route Memory Limits

Deleting IPv6 Route Memory Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "u6rtMemMax": "96",
                  "u6rtMemMin": "96"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <u6rtMemMax>96</u6rtMemMax>
        <u6rtMemMin>96</u6rtMemMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource u6route-mem minimum 258 maximum 258


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
u6rtMemMaxscalar:Uint16
Maximum route memory to allocate for unicast Ipv6
RANGE: [1 , 512]
DEFAULT: 96
u6rtMemMinscalar:Uint16
Minimum route memory to allocate for unicast Ipv6
RANGE: [1 , 512]
DEFAULT: 96


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

Configuring VLAN Limits

Configuring VLAN Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vlanMax": "1431",
                  "vlanMin": "1431"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vlanMax>1431</vlanMax>
        <vlanMin>1431</vlanMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource vlan minimum 1431 maximum 1431


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vlanMaxscalar:Uint16
Maximum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 4094
vlanMinscalar:Uint16
Minimum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 16


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 VLAN Limits

Deleting VLAN Limits 
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vlanMax": "4094",
                  "vlanMin": "16"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vlanMax>4094</vlanMax>
        <vlanMin>16</vlanMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource vlan minimum 1431 maximum 1431


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vlanMaxscalar:Uint16
Maximum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 4094
vlanMinscalar:Uint16
Minimum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 16


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

Configuring VLAN Limits to Max Value Equals Min Value

Configuring VLAN Limits to Max Value Equals Min Value
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vlanMax": "1431",
                  "vlanMin": "1431"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vlanMax>1431</vlanMax>
        <vlanMin>1431</vlanMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource vlan minimum 1431 maximum equal-to-min


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vlanMaxscalar:Uint16
Maximum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 4094
vlanMinscalar:Uint16
Minimum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 16


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 VLAN Limits to Max Value Equals Min Value

Deleting VLAN Limits to Max Value Equals Min Value
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vlanMax": "4094",
                  "vlanMin": "16"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vlanMax>4094</vlanMax>
        <vlanMin>16</vlanMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource vlan minimum 1431 maximum equal-to-min


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vlanMaxscalar:Uint16
Maximum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 4094
vlanMinscalar:Uint16
Minimum VLANs to allocate
RANGE: [16 , 4094]
DEFAULT: 16


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

Configuring VRF Resource Limits

Configuring VRF Resource Limits
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vrfMax": "595",
                  "vrfMin": "595"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vrfMax>595</vrfMax>
        <vrfMin>595</vrfMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource vrf minimum 595 maximum equal-to-min


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vrfMaxscalar:Uint16
Maximum vrf resources to allocate
RANGE: [2 , 4096]
DEFAULT: 4096
vrfMinscalar:Uint16
Minimum vrf resources to allocate
RANGE: [2 , 4096]
DEFAULT: 2


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 VRF Resource Limits

Deleting VRF Resource Limits
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "vrfMax": "4096",
                  "vrfMin": "2"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <limres-items>
        <vrfMax>4096</vrfMax>
        <vrfMin>2</vrfMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource vrf minimum 595 maximum equal-to-min


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
nwVdcsys/vdc-1


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
vrfMaxscalar:Uint16
Maximum vrf resources to allocate
RANGE: [2 , 4096]
DEFAULT: 4096
vrfMinscalar:Uint16
Minimum vrf resources to allocate
RANGE: [2 , 4096]
DEFAULT: 2


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

Configuring the Port Channel Limits

Configuring the Port Channel Limits
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1",
            "name": "nxosv2"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "poMax": "1",
                  "poMin": "1"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <name>nxosv2</name>
      <limres-items>
        <poMax>1</poMax>
        <poMin>1</poMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 limit-resource port-channel minimum 1 maximum equal-to-min


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
nwVdc sys/vdc-1
resmgrLimRes sys/vdc-1/limres
topSystem sys


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
poMaxscalar:Uint16
Maximum port channels to allocate
RANGE: [0 , 511]
DEFAULT: 511
poMinscalar:Uint16
Minimum port channels to allocate
RANGE: [0 , 511]
DEFAULT: 0


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

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

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 the Port Channel Limits

Deleting the Port Channel Limits
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "nwVdc": {
          "attributes": {
            "id": "1",
            "name": "nxosv2"
          },
          "children": [
            {
              "resmgrLimRes": {
                "attributes": {
                  "poMax": "511",
                  "poMin": "0"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <vdc-items>
    <Vdc-list>
      <id>1</id>
      <name>nxosv2</name>
      <limres-items>
        <poMax>511</poMax>
        <poMin>0</poMin>
      </limres-items>
    </Vdc-list>
  </vdc-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.

vdc nxosv2
 no limit-resource port-channel minimum 1 maximum equal-to-min


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
nwVdc sys/vdc-1
resmgrLimRes sys/vdc-1/limres
topSystem sys


nwVdc Properties

The following table contains information about the nwVdc 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
idl2:VdcId
(scalar:Uint16)
An identifier .
RANGE: [0, 65535]
DEFAULT: 1


resmgrLimRes Properties

The following table contains information about the resmgrLimRes 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
poMaxscalar:Uint16
Maximum port channels to allocate
RANGE: [0 , 511]
DEFAULT: 511
poMinscalar:Uint16
Minimum port channels to allocate
RANGE: [0 , 511]
DEFAULT: 0


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

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

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