Configuring a User-Defined Network QoS Policy
Configuring Dynamic Packet Prioritization
Configuring Dynamic Packet Prioritization
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosDpp": {
"attributes": {
"setQosGroup": "3"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<dpp-items>
<setQosGroup>3</setQosGroup>
</dpp-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
dpp set-qos-group 3
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosDpp | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/dpp |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosDpp Properties
The following table contains information about the ipqosDpp 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 |
---|---|---|---|
setQosGroup | ipqos:CosNewNone (scalar:Enum8) | QoS Group Value | SELECTION: 0 - 0 1 - 1 2 - 2 3 - 3 4 - 4 5 - 5 6 - 6 7 - 7 8 - None DEFAULT: None |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting Dynamic Packet Prioritization
Deleting Dynamic Packet Prioritization
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosDpp": {
"attributes": {
"status": "deleted"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<dpp-items nc:operation="delete">
</dpp-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
no dpp set-qos-group 3
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosDpp | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/dpp |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosDpp Properties
The following table contains information about the ipqosDpp 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring MTU for the CoS
Configuring MTU for the CoS
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosSetMTU": {
"attributes": {
"value": "1600"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<mtu-items>
<value>1600</value>
</mtu-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
mtu 1600
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosSetMTU | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/mtu |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosSetMTU Properties
The following table contains information about the ipqosSetMTU 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 |
---|---|---|---|
value | ipqos:MTU (scalar:Uint16) | Set MTU value | RANGE: [576 , 9216] DEFAULT: 1500 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Unconfiguring MTU for the CoS
Unconfiguring MTU for the CoS
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosSetMTU": {
"attributes": {
"value": "1500"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<mtu-items>
<value>1500</value>
</mtu-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
no mtu 1600
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosSetMTU | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/mtu |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosSetMTU Properties
The following table contains information about the ipqosSetMTU 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 |
---|---|---|---|
value | ipqos:MTU (scalar:Uint16) | Set MTU value | RANGE: [576 , 9216] DEFAULT: 1500 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring an IEEE 802.1Q class of Service for a Network QoS Policy
Configuring an IEEE 802.1Q class of Service for a Network QoS Policy
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy-pmap"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "newdme"
},
"children": [
{
"ipqosSetCos": {
"attributes": {
"val": "7"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy-pmap</name>
<cmap-items>
<MatchCMap-list>
<name>newdme</name>
<setCos-items>
<val>7</val>
</setCos-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy-pmap
class type network-qos newdme
set cos 7
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy-pmap |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy-pmap/cmap-newdme |
ipqosSetCos | sys/ipqos/nw/p/name-dme-policy-pmap/cmap-newdme/setCos |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosSetCos Properties
The following table contains information about the ipqosSetCos 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 |
---|---|---|---|
val | ipqos:CosNewNone (scalar:Enum8) | Cos value | SELECTION: 0 - 0 1 - 1 2 - 2 3 - 3 4 - 4 5 - 5 6 - 6 7 - 7 None DEFAULT: None |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting an IEEE 802.1Q class of Service for a Network QoS Policy
Deleting an IEEE 802.1Q class of Service for a Network QoS Policy
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy-pmap"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "newdme"
},
"children": [
{
"ipqosSetCos": {
"attributes": {
"status": "deleted"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy-pmap</name>
<cmap-items>
<MatchCMap-list>
<name>newdme</name>
<setCos-items nc:operation="delete">
</setCos-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy-pmap
class type network-qos newdme
no set cos 7
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy-pmap |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy-pmap/cmap-newdme |
ipqosSetCos | sys/ipqos/nw/p/name-dme-policy-pmap/cmap-newdme/setCos |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosSetCos Properties
The following table contains information about the ipqosSetCos 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring a Congestion Notification
Configuring a Congestion Notification
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "nw-policy-no-drop"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "nc4"
},
"children": [
{
"ipqosDctcp": {
"attributes": {
"ecnThreshold": "2000"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>nw-policy-no-drop</name>
<cmap-items>
<MatchCMap-list>
<name>nc4</name>
<dctcp-items>
<ecnThreshold>2000</ecnThreshold>
</dctcp-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos nw-policy-no-drop
class type network-qos nc4
congestion-control dctcp ecn-threshold 2000 bytes
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-nw-policy-no-drop |
ipqosMatchCMap | sys/ipqos/nw/p/name-nw-policy-no-drop/cmap-nc4 |
ipqosDctcp | sys/ipqos/nw/p/name-nw-policy-no-drop/cmap-nc4/dctcp |
ipqosDctcp Properties
The following table contains information about the ipqosDctcp 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 |
---|---|---|---|
ecnThreshold | ipqos:ecnThresh (scalar:Uint32) | Set ecn-threshold value | RANGE: [1 , 500000] |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting a Congestion Notification
Deleting a Congestion Notification
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "nw-policy-no-drop"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "nc4"
},
"children": [
{
"ipqosDctcp": {
"attributes": {
"status": "deleted"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>nw-policy-no-drop</name>
<cmap-items>
<MatchCMap-list>
<name>nc4</name>
<dctcp-items nc:operation="delete">
</dctcp-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos nw-policy-no-drop
class type network-qos nc4
no congestion-control dctcp ecn-threshold 2000 bytes
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-nw-policy-no-drop |
ipqosMatchCMap | sys/ipqos/nw/p/name-nw-policy-no-drop/cmap-nc4 |
ipqosDctcp | sys/ipqos/nw/p/name-nw-policy-no-drop/cmap-nc4/dctcp |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosDctcp Properties
The following table contains information about the ipqosDctcp 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring Global Congestion Control Thresholds
Configuring Global Congestion Control Thresholds
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
"platformEntity": {
"children": [
{
"platformGlobalRandomDetect": {
"attributes": {
"maxThreshold": "1785",
"maxThresholdUnit": "kbytes",
"minThreshold": "1785",
"minThresholdUnit": "kbytes"
}}}]}}
{
imdata:[]
}
<System>
<pltfm-items>
<globalrandomdetect-items>
<maxThreshold>1785</maxThreshold>
<maxThresholdUnit>kbytes</maxThresholdUnit>
<minThreshold>1785</minThreshold>
<minThresholdUnit>kbytes</minThresholdUnit>
</globalrandomdetect-items>
</pltfm-items>
</System>
Note: This example was added in Release 9.3(3).
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.
congestion-control random-detect global-buffer minimum-threshold 1785 kbytes maximum-threshold 1785 kbytes
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 |
---|---|
platformEntity | sys/pltfm |
platformGlobalRandomDetect | sys/pltfm/globalrandomdetect |
platformGlobalRandomDetect Properties
The following table contains information about the platformGlobalRandomDetect 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 |
---|---|---|---|
maxThreshold | scalar:Uint32 | Global-buffer max Threshold | RANGE: [0, 50000] DEFAULT: 13631280 |
maxThresholdUnit | platform:ThresUnit (scalar:Enum8) | Global-buffer min Threshold unit | SELECTION: 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: bytes |
minThreshold | scalar:Uint32 | Global-buffer min Threshold | RANGE: [0, 50000] DEFAULT: 13631280 |
minThresholdUnit | platform:ThresUnit (scalar:Enum8) | Global-buffer max Threshold unit | SELECTION: 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: bytes |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Unconfiguring Global Congestion Control Thresholds
Unconfiguring Global Congestion Control Thresholds
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
"platformEntity": {
"children": [
{
"platformGlobalRandomDetect": {
"attributes": {
"maxThreshold": "13631280",
"maxThresholdUnit": "bytes",
"minThreshold": "13631280",
"minThresholdUnit": "bytes"
}}}]}}
{
imdata:[]
}
<System>
<pltfm-items>
<globalrandomdetect-items>
<maxThreshold>13631280</maxThreshold>
<maxThresholdUnit>bytes</maxThresholdUnit>
<minThreshold>13631280</minThreshold>
<minThresholdUnit>bytes</minThresholdUnit>
</globalrandomdetect-items>
</pltfm-items>
</System>
Note: This example was added in Release 9.3(3).
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 congestion-control random-detect global-buffer minimum-threshold 1785 mbytes maximum-threshold 1785 kbytes
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 |
---|---|
platformEntity | sys/pltfm |
platformGlobalRandomDetect | sys/pltfm/globalrandomdetect |
platformGlobalRandomDetect Properties
The following table contains information about the platformGlobalRandomDetect 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 |
---|---|---|---|
maxThreshold | scalar:Uint32 | Global-buffer max Threshold | RANGE: [0, 4294967295] DEFAULT: 13631280 |
maxThresholdUnit | platform:ThresUnit (scalar:Enum8) | Global-buffer min Threshold unit | SELECTION: 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: bytes |
minThreshold | scalar:Uint32 | Global-buffer min Threshold | RANGE: [0, 4294967295] DEFAULT: 13631280 |
minThresholdUnit | platform:ThresUnit (scalar:Enum8) | Global-buffer max Threshold unit | SELECTION: 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: bytes |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring Non-ECN-Capable-Traffic Forwarding Without WRED Drops
Configuring Non-ECN-Capable-Traffic Forwarding Without WRED Drops
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
"platformEntity": {
"children": [
{
"platformGlobalRandomDetect": {
"attributes": {
"forwardNonEcn": "Enabled"
}}}]}}
{
imdata:[]
}
<System>
<pltfm-items>
<globalrandomdetect-items>
<forwardNonEcn>Enabled</forwardNonEcn>
</globalrandomdetect-items>
</pltfm-items>
</System>
Note: This example was added in Release 9.3(3).
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.
congestion-control random-detect forward-nonecn
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 |
---|---|
platformEntity | sys/pltfm |
platformGlobalRandomDetect | sys/pltfm/globalrandomdetect |
platformGlobalRandomDetect Properties
The following table contains information about the platformGlobalRandomDetect 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 |
---|---|---|---|
forwardNonEcn | platform:ConfigState (scalar:Enum8) | Forward non ECN capable traffic without WRED dropping | SELECTION: 0 - Disabled 1 - Enabled DEFAULT: Disabled |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting Non-ECN-Capable-Traffic Forwarding Without WRED Drops
Deleting Non-ECN-Capable-Traffic Forwarding Without WRED Drops
POST http://<mgmt0_IP>/api/mo/sys/pltfm.json
{
"platformEntity": {
"children": [
{
"platformGlobalRandomDetect": {
"attributes": {
"forwardNonEcn": "Disabled"
}}}]}}
{
imdata:[]
}
<System>
<pltfm-items>
<globalrandomdetect-items>
<forwardNonEcn>Disabled</forwardNonEcn>
</globalrandomdetect-items>
</pltfm-items>
</System>
Note: This example was added in Release 9.3(3).
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 congestion-control random-detect forward-nonecn
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 |
---|---|
platformEntity | sys/pltfm |
platformGlobalRandomDetect | sys/pltfm/globalrandomdetect |
platformGlobalRandomDetect Properties
The following table contains information about the platformGlobalRandomDetect 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 |
---|---|---|---|
forwardNonEcn | platform:ConfigState (scalar:Enum8) | Forward non ECN capable traffic without WRED dropping | SELECTION: 0 - Disabled 1 - Enabled DEFAULT: Disabled |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Configuring Pause Characteristics (CBFC)
Configuring Pause Characteristics (CBFC)
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosPause": {
"attributes": {
"bufferSize": "12582913",
"noDrop": "yes",
"pauseThreshold": "0",
"pfcCos0": "no",
"pfcCos1": "no",
"pfcCos2": "no",
"pfcCos3": "no",
"pfcCos4": "no",
"pfcCos5": "no",
"pfcCos6": "no",
"pfcCos7": "no",
"receive": "no",
"resumeThreshold": "0"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<pause-items>
<bufferSize>12582913</bufferSize>
<noDrop>true</noDrop>
<pauseThreshold>0</pauseThreshold>
<pfcCos0>false</pfcCos0>
<pfcCos1>false</pfcCos1>
<pfcCos2>false</pfcCos2>
<pfcCos3>false</pfcCos3>
<pfcCos4>false</pfcCos4>
<pfcCos5>false</pfcCos5>
<pfcCos6>false</pfcCos6>
<pfcCos7>false</pfcCos7>
<receive>false</receive>
<resumeThreshold>0</resumeThreshold>
</pause-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
pause no-drop
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosPause | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/pause |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosPause Properties
The following table contains information about the ipqosPause 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 |
---|---|---|---|
bufferSize | ipqos:BuffSize (scalar:Uint64) | size in bytes | RANGE: [5000 , 12582913] DEFAULT: 12582913 |
noDrop | scalar:Bool | Configure pause no-drop mode | SELECTION: true or false |
pauseThreshold | ipqos:XoffBytes (scalar:Uint64) | xoff bytes | RANGE: [0 , 12582912] |
pfcCos0 | scalar:Bool | Configure pfc-cos 0 value | SELECTION: true or false |
pfcCos1 | scalar:Bool | Configure pfc-cos 1 value | SELECTION: true or false |
pfcCos2 | scalar:Bool | Configure pfc-cos 2 value | SELECTION: true or false |
pfcCos3 | scalar:Bool | Configure pfc-cos 3 value | SELECTION: true or false |
pfcCos4 | scalar:Bool | Configure pfc-cos 4 value | SELECTION: true or false |
pfcCos5 | scalar:Bool | Configure pfc-cos 5 value | SELECTION: true or false |
pfcCos6 | scalar:Bool | Configure pfc-cos 6 value | SELECTION: true or false |
pfcCos7 | scalar:Bool | Configure pfc-cos 7 value | SELECTION: true or false |
receive | scalar:Bool | Configure pause receive only mode | SELECTION: true or false |
resumeThreshold | ipqos:XonBytes (scalar:Uint64) | xon bytes | RANGE: [0 , 12582912] |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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:
Deleting Pause Characteristics (CBFC)
Deleting Pause Characteristics (CBFC)
POST http://<mgmt0_IP>/api/mo/sys/ipqos/nw/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"name": "dme-policy"
},
"children": [
{
"ipqosMatchCMap": {
"attributes": {
"name": "c-8q-nq3"
},
"children": [
{
"ipqosPause": {
"attributes": {
"status": "deleted"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<ipqos-items>
<nw-items>
<p-items>
<name-items>
<PMapInst-list>
<name>dme-policy</name>
<cmap-items>
<MatchCMap-list>
<name>c-8q-nq3</name>
<pause-items nc:operation="delete">
</pause-items>
</MatchCMap-list>
</cmap-items>
</PMapInst-list>
</name-items>
</p-items>
</nw-items>
</ipqos-items>
</System>
Note: This example was added in Release 9.3(3).
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.
policy-map type network-qos dme-policy
class type network-qos c-8q-nq3
no pause no-drop
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 |
---|---|
ipqosPMapEntity | sys/ipqos/nw/p |
ipqosPMapInst | sys/ipqos/nw/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3 |
ipqosPause | sys/ipqos/nw/p/name-dme-policy/cmap-c-8q-nq3/pause |
ipqosPMapInst Properties
The following table contains information about the ipqosPMapInst 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 |
---|---|---|---|
name | ipqos:PMapName (string:Basic) | Name of policy-map | MAX SIZE: 39 |
ipqosMatchCMap Properties
The following table contains information about the ipqosMatchCMap 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 |
---|---|---|---|
name | ipqos:CMapName (string:Basic) | Match using class-map | MAX SIZE: 39 |
ipqosPause Properties
The following table contains information about the ipqosPause 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
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: