Configuring Priority Flow Control on an NVE Interface
Disabling Statistics for a Policy
Disabling Statistics for a Policy
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ipqosEntity": {
"children": [
{
"ipqosDefaultQoS": {
"children": [
{
"ipqosServPol": {
"children": [
{
"ipqosIngress": {
"children": [
{
"ipqosNveIf": {
"attributes": {
"id": "1"
},
"children": [
{
"ipqosInst": {
"attributes": {
"name": "pmap_name",
"stats": "false"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"nvoEps": {
"children": [
{
"nvoEp": {
"attributes": {
"epId": "1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ipqos-items>
<dflt-items>
<policy-items>
<in-items>
<nveif-items>
<NveIf-list>
<id>1</id>
<pmap-items>
<name>pmap_name</name>
<stats>false</stats>
</pmap-items>
</NveIf-list>
</nveif-items>
</in-items>
</policy-items>
</dflt-items>
</ipqos-items>
<eps-items>
<epId-items>
<Ep-list>
<epId>1</epId>
</Ep-list>
</epId-items>
</eps-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.
int nve 1
service-policy type qos input pmap_name no-stats
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 |
---|---|
topSystem | sys |
ipqosEntity | sys/ipqos |
ipqosDefaultQoS | sys/ipqos/dflt |
ipqosServPol | sys/ipqos/dflt/policy |
ipqosIngress | sys/ipqos/dflt/policy/in |
ipqosNveIf | sys/ipqos/dflt/policy/in/nveif-1 |
ipqosInst | sys/ipqos/dflt/policy/in/nveif-1/pmap |
nvoEps | sys/eps |
nvoEp | sys/eps/epId-1 |
ipqosNveIf Properties
The following table contains information about the ipqosNveIf 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 |
---|---|---|---|
id | nvo:EpIdT (scalar:Uint32) | Nve Interface id for service-policy | RANGE: [0, 4294967295] |
ipqosInst Properties
The following table contains information about the ipqosInst 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) | Policy-map Name | MAX SIZE: 39 |
stats | scalar:Bool | turn on/off statistics | SELECTION: true or false DEFAULT: true |
nvoEp Properties
The following table contains information about the nvoEp 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 |
---|---|---|---|
epId | nvo:EpIdT (scalar:Uint32) | Network Virtualization Overlay Endpoint (NVE) ID | Supported values for N9000 Family is 1. RANGE: [0, 4294967295] |
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:
Enabling Statistics for a Policy
Enabling Statistics for a Policy
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"ipqosEntity": {
"children": [
{
"ipqosDefaultQoS": {
"children": [
{
"ipqosServPol": {
"children": [
{
"ipqosIngress": {
"children": [
{
"ipqosNveIf": {
"attributes": {
"id": "1"
},
"children": [
{
"ipqosInst": {
"attributes": {
"name": "pmap_name",
"stats": "true"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"nvoEps": {
"children": [
{
"nvoEp": {
"attributes": {
"epId": "1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<ipqos-items>
<dflt-items>
<policy-items>
<in-items>
<nveif-items>
<NveIf-list>
<id>1</id>
<pmap-items>
<name>pmap_name</name>
<stats>true</stats>
</pmap-items>
</NveIf-list>
</nveif-items>
</in-items>
</policy-items>
</dflt-items>
</ipqos-items>
<eps-items>
<epId-items>
<Ep-list>
<epId>1</epId>
</Ep-list>
</epId-items>
</eps-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.
int nve 1
no service-policy type qos output pmap_name
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 |
---|---|
topSystem | sys |
interfaceEntity | sys/intf |
l1PhysIf | sys/intf/phys-[eth1/2] |
l1PhysIf Properties
The following table contains information about the l1PhysIf 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 |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
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: