Configuring Critical Flow Prioritization for Multicast Groups
For more information, see the Cisco Nexus 9000 Series NX-OS IP Fabric for Media Solution Guide:
Enabling Critical Flow Prioritization for Multicast Groups
Enabling Critical Flow Prioritization for Multicast Groups
POST http://<mgmt0_IP>/api/mo/sys/nbm/conf/flowpolicytable.json
{
"nbmFlowPolicyTable": {
"children": [
{
"nbmFlowPolicyDom": {
"attributes": {
"name": "default"
},
"children": [
{
"nbmFlowPolicy": {
"attributes": {
"name": "POL_1"
},
"children": [
{
"nbmFlowPolicyRange": {
"attributes": {
"groupBegin": "237.1.1.1",
"groupEnd": "237.1.1.10",
"prio": "CRITICAL"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<nbm-items>
<conf-items>
<flowpolicytable-items>
<dom-items>
<FlowPolicyDom-list>
<name>default</name>
<name-items>
<FlowPolicy-list>
<name>POL_1</name>
<bgn-items>
<FlowPolicyRange-list>
<groupBegin>237.1.1.1</groupBegin>
<groupEnd>237.1.1.10</groupEnd>
<prio>CRITICAL</prio>
</FlowPolicyRange-list>
</bgn-items>
</FlowPolicy-list>
</name-items>
</FlowPolicyDom-list>
</dom-items>
</flowpolicytable-items>
</conf-items>
</nbm-items>
</System>
Note: This example was added in Release 9.3(5).
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.
nbm flow-policy
policy POL_1
ip group-range 237.1.1.1 to 237.1.1.10
priority critical
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 |
---|---|
nbmFlowPolicyTable | sys/nbm/conf/flowpolicytable |
nbmFlowPolicyDom | sys/nbm/conf/flowpolicytable/dom-default |
nbmFlowPolicy | sys/nbm/conf/flowpolicytable/dom-default/name-POL_1 |
nbmFlowPolicyRange | sys/nbm/conf/flowpolicytable/dom-default/name-POL_1/bgn-[237.1.1.1]-end-[237.1.1.10] |
nbmFlowPolicyRange Properties
The following table contains information about the nbmFlowPolicyRange 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 |
---|---|---|---|
groupBegin | nbm:nbmMcastIpAddr (address:Ip) | Flow Policy Group range start. | Multicast Group Range IP only Value must match ipv4 or ipv6 known format |
groupEnd | nbm:nbmMcastIpAddr (address:Ip) | Flow Policy Group range end. | Multicast Group Range IP only. Must be same as groupBegin in case of specific group policy. i.e when range is not desired. Value must match ipv4 or ipv6 known format |
prio | nbm:nbmGroupPriority (scalar:Enum8) | Flow Policy Group range priority. | SELECTION: 0 - LOW 4 - CRITICAL DEFAULT: LOW |
nbmFlowPolicyDom Properties
The following table contains information about the nbmFlowPolicyDom 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 | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
nbmFlowPolicy Properties
The following table contains information about the nbmFlowPolicy 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 | string:Basic | Flow Policy Name String. | Must be an alphanumerical string of max size 63 A sequence of characters |
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:
Disabling Critical Flow Prioritization for Multicast Groups
Disabling Critical Flow Prioritization for Multicast Groups
POST http://<mgmt0_IP>/api/mo/sys/nbm/conf/flowpolicytable.json
{
"nbmFlowPolicyTable": {
"children": [
{
"nbmFlowPolicyDom": {
"attributes": {
"name": "default"
},
"children": [
{
"nbmFlowPolicy": {
"attributes": {
"name": "POL_1"
},
"children": [
{
"nbmFlowPolicyRange": {
"attributes": {
"groupBegin": "237.1.1.1",
"groupEnd": "237.1.1.10",
"prio": "LOW"
}}}]}}]}}]}}
{
imdata:[]
}
<System>
<nbm-items>
<conf-items>
<flowpolicytable-items>
<dom-items>
<FlowPolicyDom-list>
<name>default</name>
<name-items>
<FlowPolicy-list>
<name>POL_1</name>
<bgn-items>
<FlowPolicyRange-list>
<groupBegin>237.1.1.1</groupBegin>
<groupEnd>237.1.1.10</groupEnd>
<prio>LOW</prio>
</FlowPolicyRange-list>
</bgn-items>
</FlowPolicy-list>
</name-items>
</FlowPolicyDom-list>
</dom-items>
</flowpolicytable-items>
</conf-items>
</nbm-items>
</System>
Note: This example was added in Release 9.3(5).
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.
nbm flow-policy
policy POL_1
ip group-range 237.1.1.1 to 237.1.1.10
no priority critical
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 |
---|---|
nbmFlowPolicyTable | sys/nbm/conf/flowpolicytable |
nbmFlowPolicyDom | sys/nbm/conf/flowpolicytable/dom-default |
nbmFlowPolicy | sys/nbm/conf/flowpolicytable/dom-default/name-POL_1 |
nbmFlowPolicyRange | sys/nbm/conf/flowpolicytable/dom-default/name-POL_1/bgn-[237.1.1.1]-end-[237.1.1.10] |
nbmFlowPolicyDom Properties
The following table contains information about the nbmFlowPolicyDom 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 | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
nbmFlowPolicy Properties
The following table contains information about the nbmFlowPolicy 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 | string:Basic | Flow Policy Name String. | Must be an alphanumerical string of max size 63 A sequence of characters |
nbmFlowPolicyRange Properties
The following table contains information about the nbmFlowPolicyRange 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 |
---|---|---|---|
groupBegin | nbm:nbmMcastIpAddr (address:Ip) | Flow Policy Group range start. | Multicast Group Range IP only Value must match ipv4 or ipv6 known format |
groupEnd | nbm:nbmMcastIpAddr (address:Ip) | Flow Policy Group range end. | Multicast Group Range IP only. Must be same as groupBegin in case of specific group policy. i.e when range is not desired. Value must match ipv4 or ipv6 known format |
prio | nbm:nbmGroupPriority (scalar:Enum8) | Flow Policy Group range priority. | SELECTION: 0 - LOW 4 - CRITICAL DEFAULT: LOW |
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: