- Cisco Nexus 3000 and 9000 Series NX-API REST Documentation
- Cisco Nexus 3000 and 9000 Series NX-API REST SDK User Guide and API Reference, Release 10.5(x)
- Getting Started with the Cisco Nexus 3000 and 9000 Series NX-API REST SDK
- Related Documentation
- New and Changed Information
- Manageability
- ISSU Commands
- Installing Software Packages
- Configuring NX-API Management
- Managing Images
- Manageability Actions
- Configuring GRPC tunnel destination
- Manageability Using YANG (NETCONF)
- Configuring Fundamentals
- High Availability and Redundancy
- Configuring ITD
- Configuring Interfaces
- Configuring Ethernet Interfaces
- Configuring a MAC Address Limitation
- Configuring VLAN Interfaces
- Configuring Loopback Interfaces
- Configuring MGMT Interfaces
- Configuring Breakout Profiles
- Configuring System Default Switchport
- Configuring UDLD
- Configuring BFD
- Configuring LACP
- Configuring Hostname Loopback
- Configuring Breakout on High-Bandwidth Interfaces
- Configuring Port-Channel Interfaces
- Configuring Virtual Port Channels
- Configuring Tunnel Interfaces
- Configuring Layer 2 Protocol Tunneling
- Configuring Network Address Translation (NAT)
- Configuring IP TCP MSS
- Configuring Hardware Profile Settings
- Querying Interface Information
- Clearing Statistics
- Configuring IP SLAs
- Configuring Label Switching
- Configuring Segment Routing
- Configuring MPLS LDP
- Configuring Label Advertisement
- Configuring Label Allocation
- Configuring MPLS
- Disabling MPLS Forwarding for IP
- Configuring LDP Session Backoff
- Configuring LDP Discovery
- Configuring Explicit Null Label Advertisement
- Configuring LDP Graceful Restart
- Configuring LDP Holdtime
- Configuring a Neighbor
- Configuring an LDP Password
- Configuring LDP Logging
- Configuring LDP Labels
- Configuring an LDP Session
- Configuring MPLS LDP on an Interface
- Configuring Netstack
- Configuring Layer 2 Switching
- Configuring Flex Links
- Configuring Hairpin Forwarding
- Configuring Storm Control
- Configuring a Private VLAN (PVLAN)
- Configuring Multicast Routing
- Configuring PIM/PIM6
- Configuring MSDP
- Configuring IGMP
- Configuring MLD Snooping
- Configuring MRIB
- Configuring RPF Routes for Multicast
- Configuring Fabric Extender
- Configuring QoS
- Configuring Policing
- Configuring QoS Class Maps
- Configuring QoS Policy Maps
- Defining a Policy Map
- Configuring CoS Marking
- Setting the QoS Group
- Disabling Dynamic Load Balancing
- Configuring DSCP Marking
- Configuring DSCP Value on VXLAN Outer Header
- Configuring Bandwidth
- Setting the MTU
- Configuring Pause to Network QoS Policy Class
- Configuring Police to a Policy Class
- Setting a Priority Level to a Queuing Policy Class
- Configuring WRED on Egress Queues
- Configuring Traffic Shaping
- Removing the Bandwidth Limit
- QoS on an Interface (input)
- QoS on an Interface (output)
- QoS on the System
- Configuring the Committed Information Rate
- Deleting the Committed Information Rate
- Configuring the Rate as Percentage of Interface Data-Rate
- Deleting the Rate as Percentage of Interface Data-Rate
- Configuring OOBST Burst-Detect Thresholds for the Class
- Deleting OOBST Burst-Detect Thresholds for the Class
- Configuring Traffic Class Priority
- Deleting the Traffic Class Priority
- Configuring the Queue Size for the Class
- Deleting the Queue Size for the Class
- Configuring the Queue Desired for AFD
- Deleting the Queue Desired for AFD
- Configuring a QoS Group Match
- Deleting a QoS Group Match
- Configuring the Pause and Resume Threshold Buffer Limits in Bytes
- Deleting the Pause and Resume Threshold Buffer Limits in Bytes
- Configuring an Ingress Priority-Group to which the Traffic is Mapped and Pause Limits are Applied
- Deleting an Ingress Priority-Group to which the Traffic is Mapped and Pause Limits are Applied
- Configuring IEEE 802.1Q Class of Service
- Deleting IEEE 802.1Q Class of Service
- Configuring Disable Dynamic Load Balancing
- Deleting Disabled Dynamic Load Balancing
- Configuring DSCP in Tunnel Encapsulation
- Deleting DSCP in Tunnel Encapsulation
- Configuring AF12 DSCP (001100)
- Deleting AF12 DSCP (001100)
- Configuring to Push the Label and Set New One on Top
- Deleting the Config to Push the Label and Set New One on Top
- Configuring the Immediate Precedence
- Unconfiguring the Immediate Precedence
- Configuring the QoS Group
- Deleting the QoS Group
- Configuring a User-Defined Network QoS Policy
- Configuring the Hardware Buffer Utilization Thresholds
- Configuring Hardware QoS
- Configuring Hardware Profile Settings on the Cisco Nexus 3500 Platform
- Configuring Cisco Nexus 9000 (Cisco-ASIC based) Platform QoS
- Configuring Priority Flow Control
- Changing the Bandwidth Allocated to Unicast and Multicast Traffic
- Clearing Statistics
- Configuring TCAM
- Enabling Queue-Based ECN Marking
- Configuring Trust Boundaries
- Configuring Security
- Configuring FIPS Mode
- Configuring EAP Profile
- Configuring Keychain Management
- Configuring AAA
- Configuring RADIUS
- Configuring TACACS+
- Configuring LDAP
- Configuring SSH
- Configuring a Trustpool Policy
- Configuring a Trustpoint Certificate Authority
- Configuring a Trustpoint Certificate Authority
- Configuring Certificate Authority Related Information
- Crypto ca import for mytrustpoint pkcs12
- Configuring Telnet
- Configuring the Shell Type for Login
- Configuring User Accounts and RBAC
- Configuring the VSH Roles and Rules
- Configuring ACLs
- Configuring Port Security
- Configuring DHCP
- Configuring Password Encryption
- Configuring VPN Ids
- Configuring Unicast RPF (URPF)
- Configuring System Security Compliance
- Configuring Control Plane Policing
- Configuring Rate Limits
- Configuring MACsec
- Known Behaviour for Logging Level Configs
- Configuring System Management
- Configuring Sup Boot Variables
- Configuring System Cores
- Configuring System Trace Level
- Configuring the Fast Reload Network Stabilization Timer
- Configuring Frequency Synchronization
- Configuring NTP
- Configuring PTP
- Verifying PTP Counters
- Configuring Cisco Discovery Protocol
- Configuring Call Home
- Configuring Checkpoints and Rollback
- Configuring System Logging
- Configuring the Scheduler
- Configuring SNMP
- Configuring RMON
- Configuring Online Diagnostics
- Configuring EVMED
- Configuring Embedded Event Manager
- Configuring Memory Thresholds
- Configuring SPAN
- Configuring ERSPAN
- Configuring LLDP
- Enabling and Disabling LLDP
- Configuring LLDP in Global Mode
- Configuring LLDP on the if-eth-base/if-ethernet-all Command Mode
- Configuring LLDP on the if-gig-ether Command Mode
- Configuring LLDP on the if-gig-ether-all Command Mode
- Configuring LLDP on the if-mgmt-ether Command Mode
- Configuring the DCBXP Version
- Configuring System Interface Shutdown
- Configuring NetFlow
- Configuring Drop Report Tool
- Configuring sFlow
- Attaching a TAP Aggregation Policy to an Interface
- Configuring MPLS Stripping
- Configuring the Maintenance-Mode Profile
- Configuring Maintenance Mode
- Configuring CFS
- Configuring User-Defined Fields
- Configuring a Fan-Direction Mismatch
- System-Level High Availability
- Configuring NX-OS Container Tracker
- Configuring VXLAN
- VXLAN New and Changed
- Micro-segmentation for VXLAN Fabrics Using Group Policy Option (GPO)
- Configuring VXLAN BGP EVPN
- Configuring HMM
- Configure VXLAN FHS
- VXLAN Configuration Command Examples
- Configuring NVE Interfaces
- Configuring BGP EVPN Filtering
- Configuring VXLAN OAM (NGOAM)
- Executing Ping NVE, Traceroute NVE, and Path Trace NVE
- Configuring System NVE
- Associating NVE Interfaces with VNIs
- Configuring ngMVPN
- Configuring Selective Q-in-VNI
- Ephemeral (MOTL) MOs for NVE
- Configuring Unicast Routing
- Configuring the System Routing Mode
- Configuring ARP
- Configuring ALPM
- Configuring Logging for Software Forwarding of IP Packets
- Configuring DNS
- Configuring OSPF, OSPFv2, and OSPFv3
- Configuring OSPF
- Configuring OSPFv2
- Configuring OSPFv3
- Configuring an IPv6 Unicast Address Family Under an OSPFv3 Instance
- Configuring OSPFv3 Broadcast Network Type
- Configuring OSPFv3 on an Ethernet Interface
- Configuring OSPFv3 on a Loopback Interface
- Configuring OSPFv3 on a MGMT Interface
- Configuring OSPFv3 on a P2P Ethernet Interface
- Configuring OSPFv3 on a Tunnel Interface
- Configuring a Virtual Link Under an OSPFv3 Instance
- Configuring a VRF Under an OSPFv3 Instance
- Querying OSPFv3
- Configuring IS-IS
- Configuring IS-IS in Global Configuration Command Mode
- Configuring IS-IS in Interface Configuration Mode
- Configuring IS-IS in Router Configuration Mode
- Configuring IS-IS in Router VRF Configuration Mode
- Configuring IS-IS in Router IPv4 Address Family Configuration Mode
- Configuring IS-IS in Router IPv6 Address Family Configuration Mode
- IS-IS Operational Commands
- Configuring EIGRP
- Enabling EIGRP
- Disabling EIGRP
- Configuring isolate Under EIGRP
- Configuring flush-routes under EIGRP
- Configuring vrf
- Configuring EIGRP address-family
- Configuring EIGRP router-id
- Configuring EIGRP distance
- Configuring EIGRP maximum paths
- Configuring EIGRP default information originate
- Configuring EIGRP administrative state
- Configuring IPV4 EIGRP route redistribution
- Configuring IPv6 EIGRP route redistribution
- Configuring EIGRP table map filter
- Configuring EIGRP redistribute maximum prefix
- Configuring EIGRP graceful restart
- Configuring EIGRP log adjacency changes
- Configuring EIGRP log adjacency warnings
- Configuring EIGRP metric version
- Configuring EIGRP metric maximum hops
- Configuring EIGRP nsf await redistribute proto convergence
- Configuring EIGRP autonomous system number
- Configuring EIGRP nsf route-hold timer
- Configuring EIGRP nsf converge timer
- Configuring EIGRP nsf signal timer
- Configuring EIGRP timers active-time
- Configuring EIGRP supress fib pending
- Configuring EIGRP passive interface
- Configuring EIGRP metric weights
- Configuring EIGRP default metric
- Configuring EIGRP stub
- Configuring EIGRP authentication key chain
- Configuring EIGRP authentication mode
- Configuring BFD for EIGRP
- Configuring EIGRP in Interface Configuration Mode
- Configuring BGP
- Configuring a BGP Router
- VXLAN EVPN Traffic Engineering - Multi-Site Egress Load-Balancing
- VXLAN EVPN Traffic Engineering – RPM support
- Configuring BGP on a VRF
- Configuring BFD Multihop under a Neighbor
- Configuring an IPv4 Multicast Address Family
- Configuring an IPv4 MVPN Address Family
- Configuring an IPv4 Unicast Address Family
- Configuring an IPv6 MVPN Address Family
- Configuring an IPv6 Unicast Address Family
- Configuring a Link-State Address Family
- Configuring a VPNv4 Unicast Address Family
- Configuring a VPNv6 Unicast Address Family
- Configuring a Peer Policy Template
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Policy Template
- Configuring an IPv4 Unicast Subaddress Family for a Peer Policy Template
- Configuring an IPv6 Unicast Subaddress Family for a Peer Policy Template
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Policy Template
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Policy Template
- Configuring a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a Peer Template
- Configuring an IPv4 Labeled Subaddress Family for a Peer Template
- Configuring an IPv4 Unicast Subaddress Family for a Peer Template
- Configuring an IPv6 Unicast Subaddress Family for a Peer Template
- Configuring a VPNv4 Subaddress Family for a Peer Template
- Configuring a VPNV6 Subaddress Family for a Peer Template
- Configuring Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a Peer Template with Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a BGP Neighbor (IP Address)
- Configuring an IPv4 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Labeled Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Multicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv4 MVPN Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 MVPN Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an L2VPN EVPN Address Family under a BGP Neighbor (IP Address)
- Configuring a VPNv4 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring a VPNv6 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring BGP Session Templates Under a BGP Neighbor (IP Address)
- Configuring a BGP Neighbor (Ethernet Interface)
- Configuring an IPv4 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring an IPv6 MVPN Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring an L2VPN EVPN Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a VPNv4 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a VPNv6 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a BMP Server
- Configuring Mixed ECMP
- About Querying Ephemeral Data
- Configuring RIP
- Configuring DSCP
- Configuring VRFs
- Configuring Route Policy Manager
- First-Hop Redundancy Protocols
- Configuring Hardware Forwarding
- Configuring Hardware Ejector
- Configuring Hardware Profile Settings
- Configuring the Site of Origin
- Configuring AS-4 Dot Notation
- Configuring Static Routing
- Configuring Load Sharing in the Unicast FIB
- Configuring OpenFlow
- Configuring RTP Flow Monitoring
- Configuring Kernel Stack
- Configuring Apphosting
- Controlling the Guest Shell
- Enabling the Guest Shell and Querying the Result
- Disabling the Guest Shell and Querying the Result
- Destroying the Guest Shell and Querying the Result
- Rebooting the Guest Shell and Querying the Result
- Increasing the Guest Shell Rootfs Size and Querying the Result
- Changing the CPU Memory Size that the Guest Shell Uses and Querying the Result
- Changing the Memory Size the Guest Shell Uses and Querying the Result
- Syncing the Guest Shell Rootfs to the Standby Supervisor and Querying the Result
- Exporting the Guest Shell Rootfs and Querying the Result
- Upgrading the Guest Shell Rootfs and Querying the Result
- Querying Guest Shell Information
- Change Virtual Service Global Configuration
- Managing System Hardware
- Configuring the Baseboard Management Controller
- Configuring Virtual Machine Tracker
- Configuring Virtual Device Contexts
- Configuring iCAM
- Configuring SRv6
- Configuring Smart Software Licensing
- Querying Configurations (Show Commands)
- Querying Advertised Routes
- Querying DHCP Relay Interfaces
- Querying Diagnostic Result Test IDs
- Querying the Environment Settings
- Querying Feature Status
- Querying Inventory Information
- Querying IS-IS Configurations
- Querying IP IGMP Groups
- Querying IP OSPF Neighbor Details
- Querying IP OSPF Neighbor VRF Information
- Querying L2VPN EVPN
- Querying LLDP
- Querying MAC Address Table Info
- Querying Module Information
- Querying NAT ITD
- Querying NTP Peer Status
- Querying an OSPFv2 Instance
- Querying Patterns
- Querying PIM Information
- Querying the Processes Log
- Querying Spanning Tree Information
- Querying a Summary of IP Interface Status and Configuration Information
- Querying TCAM Resource Utilization
- Querying MCAST NAT TCAM Resource Monitoring
- Querying NBM TCAM Resource Monitoring
- Querying the Version
- Querying VLAN ID Counters
- Querying VRF Information
- Querying VRRP Information
- Querying Forwarding Route Information
- Querying IP Route Details
- Querying the Current MOTD Banner Message
- Querying OSPF Neighbors
- Querying Analytic Information
- Querying Interface and VLAN Counters and Statistics
- Querying ITD Runtime Information
- Querying ePBR Runtime Information
- Using the Managed Object Browser
- Monitoring the Environment
CopyPOST http://<mgmt0_IP>/api/mo/sys/ipqos/queuing/p.json
{
"ipqosPMapEntity": {
"children": [
{
"ipqosPMapInst": {
"attributes": {
"matchType": "match-all",
"name": "foo"
}}}]}}
Response
{
imdata:[]
}
Copy<System>
<ipqos-items>
<queuing-items>
<p-items>
<name-items>
<PMapInst-list>
<name>foo</name>
<matchType>match-all</matchType>
</PMapInst-list>
</name-items>
</p-items>
</queuing-items>
</ipqos-items>
</System>
Configuring QoS Policy Maps
This section contains payload examples and CLIs to demonstrate many of the QoS policy map configuration options and to show how the REST APIs correspond to the CLI commands.
Defining a Policy Map
This example creates a named object that represents a set of policies that are to be applied to a set of traffic classes.
CLI Command
The CLI command below is the equivalent to the payload example 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 or the YANG tab to view the XML payload.
policy-map type queuing foo
Note: The property information for this example was added in Release 9.3(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/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p |
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
name | ipqos:PMapName (string:Basic) | Name of policy-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:
Configuring CoS Marking
This example sets the CoS value to cos-value. The value can range from 0 to 7.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map map1
class class1
set cos 1
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetCos | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
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 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:
Setting the QoS Group
This example configures one or more qos-group values to match on for classification of traffic into this class map.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type qos p1
class class-default
set qos-group 3
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetQoSGrp | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/setGrp |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosSetQoSGrp Properties
The following table contains information about the ipqosSetQoSGrp 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 | ipqos:QoSGrpId (scalar:Uint16) | QoS group ID | RANGE: [0 , 7] |
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 Dynamic Load Balancing
This example disables DLB.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map p1
class class1
set dlb-disable
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetDlbDisable | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/setDlbDisable |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosSetDlbDisable Properties
The following table contains information about the ipqosSetDlbDisable 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 |
---|---|---|---|
uid | scalar:Uint16 | A unique identifier for this object. |
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 DSCP Marking
This example sets the DSCP value.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map p1
class class1
set dscp cs6
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetDscp | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/setDscp |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosSetDscp Properties
The following table contains information about the ipqosSetDscp 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 |
---|---|---|---|
tunnel | scalar:Bool | tunnel on or off | SELECTION: true or false |
val | ipqos:Dscp (scalar:UByte) | Dscp value | RANGE: [0 , 63] DEFAULT: 0 |
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 DSCP Value on VXLAN Outer Header
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 qos pqos
class type qos cqos
set dscp tunnel cs6
Note: The property information for this example was added in release 10.4(1)F.
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 |
---|---|
sys/ipqos/dflt/p/name-[pqos]/cmap-[cqos]/setdscptunnel | sys/ipqos/dflt/p/name-[pqos]/cmap-[cqos]/setdscptunnel |
ipqosSetDscpTunnel Properties
The following table contains information about the ipqosSetDscpTunnel 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 | Values | Description |
---|---|---|
Val | Scalar: cs6 | Set Outer DSCP value |
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 Bandwidth
This example assigns a minimum rate of the interface bandwidth to an output queue as the percentage of the underlying interface link rate. The range is from 0 to 100.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type queuing p1
class type queuing c-in-q1
bandwidth percent 40
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetBW | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/setBW |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosSetBW Properties
The following table contains information about the ipqosSetBW 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:Percent (scalar:UByte) | Available bandwidth | RANGE: [0 , 100] |
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:
Setting the MTU
The example sets the MTU size.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type network-qos p1
class type network-qos c-nq1
mtu 2000
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetMTU | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
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 Pause to Network QoS Policy Class
This example specifies the buffer threshold settings for pause and resume.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type network-qos p2
class type network-qos class3
pause buffer-size 50000 pause-threshold 40000 resume-threshold 25000 pfc-cos 2
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosPause | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
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 |
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 |
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:
Configuring Police to a Policy Class
This example shows how to configure policing.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type qos match-first p1
class type qos class2
police cir 8000 bc 200 ms
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosPolice | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/sharedpolicer-{policerName}/police |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosPolice Properties
The following table contains information about the ipqosPolice 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 |
---|---|---|---|
bcRate | ipqos:BurstRate (scalar:Uint64) | CIR burst | RANGE: [0 , 536870912] |
bcUnit | ipqos:BurstRateUnit (scalar:Enum8) | CIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
beRate | ipqos:BurstRate (scalar:Uint64) | PIR burst | RANGE: [0 , 536870912] |
beUnit | ipqos:BurstRateUnit (scalar:Enum8) | PIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
cirRate | ipqos:PoliceRate (scalar:Uint64) | CIR | RANGE: [0 , 100000000000] |
cirUnit | ipqos:RateUnit (scalar:Enum8) | CIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
conformAction | ipqos:PoliceAction (scalar:Enum8) | Conform action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
conformSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for conforming traffic | RANGE: [0 , 7] |
conformSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for conforming traffic | RANGE: [0 , 63] DEFAULT: 0 |
conformSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for conforming traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
conformSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for conforming traffic | RANGE: [0 , 7] |
exceedAction | ipqos:PoliceAction (scalar:Enum8) | Exceed action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
exceedSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for exceeding traffic | RANGE: [0 , 7] |
exceedSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for exceeding traffic | RANGE: [0 , 63] DEFAULT: 0 |
exceedSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for exceeding traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
exceedSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for exceeding traffic | RANGE: [0 , 7] |
pirRate | ipqos:PoliceRate (scalar:Uint64) | PIR | RANGE: [0 , 100000000000] |
pirUnit | ipqos:RateUnit (scalar:Enum8) | PIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
violateAction | ipqos:PoliceAction (scalar:Enum8) | Violate action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
violateSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for violating traffic | RANGE: [0 , 7] |
violateSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for violating traffic | RANGE: [0 , 63] DEFAULT: 0 |
violateSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for violating traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
violateSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for violating traffic | RANGE: [0 , 7] |
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:
Setting a Priority Level to a Queuing Policy Class
This example assigns a tail drop threshold based on the queue size in bytes, kilobytes, or megabytes or allows the queue’s threshold size to be determined dynamically depending on the number of free cells available. The device drops packets that exceed the specified threshold.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type queuing p1
class type queuing c-in-q1
queue-limit 2000
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosQueueLimit | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/QueueLimit |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosQueueLimit Properties
The following table contains information about the ipqosQueueLimit 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 |
---|---|---|---|
QueueLimitUnit | ipqos:QueueLimitUnit (scalar:Enum8) | Bytes/kbytes/mbytes | SELECTION: 0 - none 1 - packets 2 - bytes 3 - kbytes 4 - mbytes 5 - gbytes 6 - ms 7 - us 8 - perc DEFAULT: none |
QueueLimitVal | ipqos:QueueLimit (scalar:Uint64) | Value in bytes/kbytes/mbytes | RANGE: [0 , 12582912] DEFAULT: none |
dynamic | ipqos:QueueLimitDynamic (scalar:UByte) | Queue-limit dynamic value | RANGE: [0 , 10] 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:
Configuring WRED on Egress Queues
This example configures WRED on the specified queuing class.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type queuing p1
class type queuing c-in-q1
random-detect
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosRandomDetect | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/RandDet |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosRandomDetect Properties
The following table contains information about the ipqosRandomDetect 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 |
---|---|---|---|
capAverage | scalar:Bool | cap average | SELECTION: true or false |
dropAvail | ipqos:DropAvailRange (scalar:UByte) | drop availability range | RANGE: [0 , 100] |
ecn | scalar:Bool | ecn flag | SELECTION: true or false |
maxThreshold | ipqos:ThreshVal (scalar:Uint32) | max threshold | RANGE: [0 , 52428800] DEFAULT: 0 |
maxThresholdUnit | ipqos:ThreshUnit (scalar:Enum8) | max threshold | SELECTION: 0 - none 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: none |
minThreshold | ipqos:ThreshVal (scalar:Uint32) | min threshold | RANGE: [0 , 52428800] DEFAULT: 0 |
minThresholdUnit | ipqos:ThreshUnit (scalar:Enum8) | min threshold | SELECTION: 0 - none 1 - packets 2 - bytes 3 - kbytes 4 - mbytes DEFAULT: none |
weight | ipqos:Weight (scalar:UByte) | weight range | RANGE: [0 , 15] |
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 Traffic Shaping
This example assigns a minimum and maximum bit rate on an output queue.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type queuing p1
class type queuing c-in-q2
shape min 8000 bps max 40000
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosShape | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/shape |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosShape Properties
The following table contains information about the ipqosShape 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 |
---|---|---|---|
max | ipqos:ShapeRate (scalar:Uint64) | Maximum shape rate | RANGE: [0 , 400000000000] |
maxRateUnit | ipqos:RateUnit (scalar:Enum8) | Maximum shape rate unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
min | ipqos:ShapeRate (scalar:Uint64) | Minimum shape rate | RANGE: [0 , 400000000000] |
minRateUnit | ipqos:RateUnit (scalar:Enum8) | Minimum shape rate unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
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:
Removing the Bandwidth Limit
This example removes the bandwidth specification from this class.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
policy-map type queuing p1
class type queuing c-in-q2
no bandwidth percent 30
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosPMapInst | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name} |
ipqosMatchCMap | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name} |
ipqosSetBW | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/p/name-{name}/cmap-{name}/setBW |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
ipqosSetBW Properties
The following table contains information about the ipqosSetBW 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:
QoS on an Interface (input)
This example adds the policy map to the input packets of an interface.
An instance of the interface for QoS must be initialized before configuring QoS. The interface can be any of the following types:
- ethernet - Ethernet IEEE 802.3z
- loopback - Loopback interface
- mgmt - Management interface
- port-channel - Port Channel interface
Note: Sub-interfaces and breakout ports for the above are also supported.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
interface eth1/4
service-policy type qos input foo
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosIf | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out/intf-{[name]} |
ipqosIf Properties
The following table contains information about the ipqosIf 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 | nw:IfId (base:IfIndex) | Interface name in a short form. eth1/1 or pc1 | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
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 |
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:
QoS on an Interface (output)
This example adds the policy map to the output packets of an interface.
An instance of the interface for QoS must be initialized before configuring QoS. The interface can be any of the following types:
- ethernet - Ethernet IEEE 802.3z
- loopback - Loopback interface
- mgmt - Management interface
- port-channel - Port Channel interface
Note: Sub-interfaces and breakout ports for the above are also supported.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
interface eth 1/4
service-policy type qos output foo
Note: The property information for this example was added in Release 9.3(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 |
---|---|
ipqosIf | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out/intf-{[name]} |
ipqosIf Properties
The following table contains information about the ipqosIf 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 | nw:IfId (base:IfIndex) | Interface name in a short form. eth1/1 or pc1 | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
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 |
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:
QoS on the System
This example has all nw, queuing and dos policies being applied at the system level.
CLI Commands
The CLI commands and options 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 or the YANG tab to view the XML payload.
system qos
service-policy type qos input foo
Note: The property information for this example was added in Release 9.3(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 |
---|---|
topSystem | sys |
ipqosEntity | sys/bd/vlanconfig-{[accEncap]}/ipqos |
ipqosQueuing | sys/bd/vlanconfig-{[accEncap]}/ipqos/queuing |
ipqosServPol | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy |
ipqosServPol | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy |
ipqosServPol | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy |
ipqosIngress | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/in |
ipqosIngress | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/in |
ipqosIngress | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/in |
ipqosSystem | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out/sys |
ipqosSystem | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out/sys |
ipqosEgress | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out |
ipqosEgress | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt/policy/out |
ipqosNwQoS | sys/bd/vlanconfig-{[accEncap]}/ipqos/nw |
ipqosDefaultQoS | sys/bd/vlanconfig-{[accEncap]}/ipqos/dflt |
ipqosSystem Properties
The following table contains information about the ipqosSystem 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 |
---|---|---|---|
userSetBit | scalar:Uint64 | NO COMMENTS | SELECTION:
|
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 |
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 the Committed Information Rate
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 PolMap1
class ClassMapA
police cir 100 bps bc 100 bytes pir 100 bps be 100 bytes conform set-prec-transmit 1 exceed set-prec-transmit flash violate set-prec-transmit flash
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-PolMap1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA |
ipqosPolice | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA/police |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPolice Properties
The following table contains information about the ipqosPolice 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 |
---|---|---|---|
bcRate | ipqos:BurstRate (scalar:Uint64) | CIR burst | RANGE: [0 , 536870912] |
bcUnit | ipqos:BurstRateUnit (scalar:Enum8) | CIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
beRate | ipqos:BurstRate (scalar:Uint64) | PIR burst | RANGE: [0 , 536870912] |
beUnit | ipqos:BurstRateUnit (scalar:Enum8) | PIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
cirRate | ipqos:PoliceRate (scalar:Uint64) | CIR | RANGE: [0 , 100000000000] |
cirUnit | ipqos:RateUnit (scalar:Enum8) | CIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
conformAction | ipqos:PoliceAction (scalar:Enum8) | Conform action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
conformSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for conforming traffic | RANGE: [0 , 7] |
conformSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for conforming traffic | RANGE: [0 , 63] DEFAULT: 0 |
conformSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for conforming traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
conformSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for conforming traffic | RANGE: [0 , 7] |
exceedAction | ipqos:PoliceAction (scalar:Enum8) | Exceed action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
exceedSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for exceeding traffic | RANGE: [0 , 7] |
exceedSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for exceeding traffic | RANGE: [0 , 63] DEFAULT: 0 |
exceedSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for exceeding traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
exceedSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for exceeding traffic | RANGE: [0 , 7] |
pirRate | ipqos:PoliceRate (scalar:Uint64) | PIR | RANGE: [0 , 100000000000] |
pirUnit | ipqos:RateUnit (scalar:Enum8) | PIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
violateAction | ipqos:PoliceAction (scalar:Enum8) | Violate action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
violateSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for violating traffic | RANGE: [0 , 7] |
violateSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for violating traffic | RANGE: [0 , 63] DEFAULT: 0 |
violateSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for violating traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
violateSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for violating traffic | RANGE: [0 , 7] |
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 the Committed Information Rate
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 PolMap1
class ClassMapA
no police cir 100 bps bc 100 bytes pir 100 bps be 100 bytes conform set-prec-transmit 1 exceed set-prec-transmit flash violate set-prec-transmit flash
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-PolMap1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA |
ipqosPolice | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA/police |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPolice Properties
The following table contains information about the ipqosPolice 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 the Rate as Percentage of Interface Data-Rate
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 PolMap1
class ClassMapA
police percent 100 bc 100 pir 100 gbps be 100 kbytes conform transmit exceed transmit violate 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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-PolMap1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA |
ipqosPolice | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA/police |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPolice Properties
The following table contains information about the ipqosPolice 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 |
---|---|---|---|
bcRate | ipqos:BurstRate (scalar:Uint64) | CIR burst | RANGE: [0 , 536870912] |
bcUnit | ipqos:BurstRateUnit (scalar:Enum8) | CIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
beRate | ipqos:BurstRate (scalar:Uint64) | PIR burst | RANGE: [0 , 536870912] |
beUnit | ipqos:BurstRateUnit (scalar:Enum8) | PIR burst unit | SELECTION: 0 - unspecified 1 - bytes 2 - kbytes 3 - mbytes 4 - ms 5 - us 6 - packets DEFAULT: unspecified |
cirRate | ipqos:PoliceRate (scalar:Uint64) | CIR | RANGE: [0 , 100000000000] |
cirUnit | ipqos:RateUnit (scalar:Enum8) | CIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
conformAction | ipqos:PoliceAction (scalar:Enum8) | Conform action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
conformSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for conforming traffic | RANGE: [0 , 7] |
conformSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for conforming traffic | RANGE: [0 , 63] DEFAULT: 0 |
conformSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for conforming traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
conformSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for conforming traffic | RANGE: [0 , 7] |
exceedAction | ipqos:PoliceAction (scalar:Enum8) | Exceed action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
exceedSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for exceeding traffic | RANGE: [0 , 7] |
exceedSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for exceeding traffic | RANGE: [0 , 63] DEFAULT: 0 |
exceedSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for exceeding traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
exceedSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for exceeding traffic | RANGE: [0 , 7] |
pirRate | ipqos:PoliceRate (scalar:Uint64) | PIR | RANGE: [0 , 100000000000] |
pirUnit | ipqos:RateUnit (scalar:Enum8) | PIR unit | SELECTION: 0 - unspecified 1 - bps 2 - kbps 3 - mbps 4 - gbps 5 - pps 6 - pct DEFAULT: unspecified |
violateAction | ipqos:PoliceAction (scalar:Enum8) | Violate action | SELECTION: 0 - unspecified 1 - transmit 2 - drop 3 - set-cos-transmit 4 - set-dscp-transmit 5 - set-prec-transmit 6 - set-qos-transmit |
violateSetCosTransmit | ipqos:Cos (scalar:UByte) | set cos for violating traffic | RANGE: [0 , 7] |
violateSetDscpTransmit | ipqos:Dscp (scalar:UByte) | set dscp for violating traffic | RANGE: [0 , 63] DEFAULT: 0 |
violateSetPrecTransmit | ipqos:Prec (scalar:Enum8) | set precedence for violating traffic | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
violateSetQosGrpTransmit | ipqos:QoSGrpId (scalar:Uint16) | set qos-group for violating traffic | RANGE: [0 , 7] |
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 the Rate as Percentage of Interface Data-Rate
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 PolMap1
class ClassMapA
no police percent 100 bc 100 pir 100 gbps be 100 kbytes conform transmit exceed transmit violate 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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-PolMap1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA |
ipqosPolice | sys/ipqos/dflt/p/name-PolMap1/cmap-ClassMapA/police |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPolice Properties
The following table contains information about the ipqosPolice 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 OOBST Burst-Detect Thresholds for the Class
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 queuing newque-policy
class type queuing c-out-8q-q1
burst-detect rise-threshold 4000000 bytes fall-threshold 40000 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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-newque-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-newque-policy/cmap-c-out-8q-q1 |
ipqosBurstDetect | sys/ipqos/queuing/p/name-newque-policy/cmap-c-out-8q-q1/burstdetect |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosBurstDetect Properties
The following table contains information about the ipqosBurstDetect 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 |
---|---|---|---|
fallThresUnit | ipqos:ThresUnit (scalar:Enum8) | Fall Threshold Unit for Micro burst detection | SELECTION: 0 - none 1 - bytes DEFAULT: none |
fallThreshold | ipqos:Threshold (scalar:Uint32) | Fall Threshold value for Micro burst detection | RANGE: [0 , 13319072] DEFAULT: 0 |
riseThresUnit | ipqos:ThresUnit (scalar:Enum8) | Rise Threshold Unit for Micro burst detection | SELECTION: 0 - none 1 - bytes DEFAULT: none |
riseThreshold | ipqos:Threshold (scalar:Uint32) | Rise Threshold value for Micro burst detection | RANGE: [0 , 13319072] DEFAULT: 0 |
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 OOBST Burst-Detect Thresholds for the Class
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 queuing newque-policy
class type queuing c-out-8q-q1
no burst-detect rise-threshold 4000000 bytes fall-threshold 40000 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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-newque-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-newque-policy/cmap-c-out-8q-q1 |
ipqosBurstDetect | sys/ipqos/queuing/p/name-newque-policy/cmap-c-out-8q-q1/burstdetect |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosBurstDetect Properties
The following table contains information about the ipqosBurstDetect 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 Traffic Class Priority
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 queuing dme-policy
class type queuing c-out-8q-q1
bandwidth percent 50
priority
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 |
ipqosQueuing | sys/ipqos/queuing |
ipqosPMapEntity | sys/ipqos/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1 |
ipqosPriority | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1/prio |
ipqosSetBW | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1/setBW |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPriority Properties
The following table contains information about the ipqosPriority 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 |
---|---|---|---|
level | ipqos:PriorityLevel (scalar:UByte) | Optional priority level | RANGE: [1 , 3] |
ipqosSetBW Properties
The following table contains information about the ipqosSetBW 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:Percent (scalar:UByte) | Available bandwidth | RANGE: [0 , 100] |
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 the Traffic Class Priority
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 queuing dme-policy
class type queuing c-out-8q-q1
bandwidth percent 50
no priority
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 |
ipqosQueuing | sys/ipqos/queuing |
ipqosPMapEntity | sys/ipqos/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-dme-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1 |
ipqosPriority | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1/prio |
ipqosSetBW | sys/ipqos/queuing/p/name-dme-policy/cmap-c-out-8q-q1/setBW |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPriority Properties
The following table contains information about the ipqosPriority 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 |
ipqosSetBW Properties
The following table contains information about the ipqosSetBW 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:Percent (scalar:UByte) | Available bandwidth | RANGE: [0 , 100] |
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 the Queue Size for the Class
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 queuing q-policy
class type queuing test-dme
queue-limit dynamic 0
/exec/configure/policy-map/type/uf/class
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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-q-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme |
ipqosQueueLimit | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme/QueueLimit |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosQueueLimit Properties
The following table contains information about the ipqosQueueLimit 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 |
---|---|---|---|
QueueLimitUnit | ipqos:QueueLimitUnit (scalar:Enum8) | Bytes/kbytes/mbytes | SELECTION: 0 - none 1 - packets 2 - bytes 3 - kbytes 4 - mbytes 5 - gbytes 6 - ms 7 - us 8 - perc DEFAULT: none |
QueueLimitVal | ipqos:QueueLimit (scalar:Uint64) | Value in bytes/kbytes/mbytes | RANGE: [0 , 12582912] DEFAULT: 0 |
dynamic | ipqos:QueueLimitDynamic (scalar:UByte) | Queue-limit dynamic value | RANGE: [0 , 10] |
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 the Queue Size for the Class
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 queuing q-policy
class type queuing test-dme
no queue-limit dynamic 0
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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-q-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme |
ipqosQueueLimit | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme/QueueLimit |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosQueueLimit Properties
The following table contains information about the ipqosQueueLimit 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 the Queue Desired for AFD
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 queuing aj-8q-out
class type queuing c-out-8q-q4
afd queue-desired 100 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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-aj-8q-out |
ipqosMatchCMap | sys/ipqos/queuing/p/name-aj-8q-out/cmap-c-out-8q-q4 |
ipqosAfd | sys/ipqos/queuing/p/name-aj-8q-out/cmap-c-out-8q-q4/afd |
ipqosAfd Properties
The following table contains information about the ipqosAfd 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 |
---|---|---|---|
ecn | scalar:Bool | Approximate Fair Discard ECN flag | SELECTION: true or false |
queueDesiredUnit | ipqos:QueueDesiredUnit (scalar:Enum8) | Units for Approximate Fair Discard value | SELECTION: 0 - none 1 - bytes 2 - kbytes 3 - mbytes DEFAULT: none |
queueDesiredVal | ipqos:QueueDesired (scalar:Uint64) | Approximate Fair Discard value | RANGE: [1 , 52428800] |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 the Queue Desired for AFD
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 queuing aj-8q-out
class type queuing c-out-8q-q4
no afd queue-desired 100 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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-aj-8q-out |
ipqosMatchCMap | sys/ipqos/queuing/p/name-aj-8q-out/cmap-c-out-8q-q4 |
ipqosAfd | sys/ipqos/queuing/p/name-aj-8q-out/cmap-c-out-8q-q4/afd |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosAfd Properties
The following table contains information about the ipqosAfd 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 QoS Group Match
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.
class-map type queuing test-dme
match qos-group 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.
MO | DN |
---|---|
ipqosCMapEntity | sys/ipqos/queuing/c |
ipqosCMapInst | sys/ipqos/queuing/c/name-test-dme |
ipqosQoSGrp | sys/ipqos/queuing/c/name-test-dme/grp-1 |
ipqosCMapInst Properties
The following table contains information about the ipqosCMapInst 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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
name | ipqos:CMapName (string:Basic) | Name of class-map | MAX SIZE: 39 |
ipqosQoSGrp Properties
The following table contains information about the ipqosQoSGrp 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 | ipqos:CMapQoSGrpId (scalar:Uint16) | QoS group ID | RANGE: [1 , 7] |
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 QoS Group Match
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.
class-map type queuing test-dme
no match qos-group 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.
MO | DN |
---|---|
ipqosCMapEntity | sys/ipqos/queuing/c |
ipqosCMapInst | sys/ipqos/queuing/c/name-test-dme |
ipqosQoSGrp | sys/ipqos/queuing/c/name-test-dme/grp-1 |
ipqosCMapInst Properties
The following table contains information about the ipqosCMapInst 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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
name | ipqos:CMapName (string:Basic) | Name of class-map | MAX SIZE: 39 |
ipqosQoSGrp Properties
The following table contains information about the ipqosQoSGrp 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 | ipqos:CMapQoSGrpId (scalar:Uint16) | QoS group ID | RANGE: [1 , 7] |
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 the Pause and Resume Threshold Buffer Limits in Bytes
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 queuing inq-policy
class type queuing test-dme
pause buffer-size 30000 pause-threshold 13000 resume-threshold 3000
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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-inq-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-inq-policy/cmap-test-dme |
ipqosPause | sys/ipqos/queuing/p/name-inq-policy/cmap-test-dme/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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 the Pause and Resume Threshold Buffer Limits in Bytes
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 queuing inq-policy
class type queuing test-dme
no pause buffer-size 30000 pause-threshold 13000 resume-threshold 3000
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/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-inq-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-inq-policy/cmap-test-dme |
ipqosPause | sys/ipqos/queuing/p/name-inq-policy/cmap-test-dme/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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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:
Configuring an Ingress Priority-Group to which the Traffic is Mapped and Pause Limits are Applied
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 queuing q-policy
class type queuing test-dme
pause priority-group 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-q-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme |
ipqosPausePg | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme/pausepg |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPausePg Properties
The following table contains information about the ipqosPausePg 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:PriorityGrpVal (scalar:Enum8) | Priority Group value | SELECTION: 0 - 0 1 - 1 2 - 2 3 - 3 4 - 4 5 - 5 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 Ingress Priority-Group to which the Traffic is Mapped and Pause Limits are Applied
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 queuing q-policy
class type queuing test-dme
no pause priority-group 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/queuing/p |
ipqosPMapInst | sys/ipqos/queuing/p/name-q-policy |
ipqosMatchCMap | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme |
ipqosPausePg | sys/ipqos/queuing/p/name-q-policy/cmap-test-dme/pausepg |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosPausePg Properties
The following table contains information about the ipqosPausePg 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 IEEE 802.1Q Class of Service
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.
policy-map type qos q1
class class-default
set cos 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetCos | sys/ipqos/dflt/p/name-q1/cmap-class-default/setCos |
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 |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
name | ipqos:PMapName (string:Basic) | Name of policy-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 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 IEEE 802.1Q Class of Service
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.
policy-map type qos q1
class class-default
no set cos 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetCos | sys/ipqos/dflt/p/name-q1/cmap-class-default/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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 Disable Dynamic Load Balancing
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.
policy-map type qos q1
class class-default
set dlb-disable
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetDlbDisable | sys/ipqos/dflt/p/name-q1/cmap-class-default/setDlbDisable |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetDlbDisable Properties
The following table contains information about the ipqosSetDlbDisable 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 |
---|---|---|---|
uid | scalar:Uint16 | A unique identifier for this object. |
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 Disabled Dynamic Load Balancing
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.
policy-map type qos q1
class class-default
no set dlb-disable
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetDlbDisable | sys/ipqos/dflt/p/name-q1/cmap-class-default/setDlbDisable |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetDlbDisable Properties
The following table contains information about the ipqosSetDlbDisable 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 DSCP in Tunnel Encapsulation
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.
policy-map type qos q1
class class-default
set dscp tunnel 63
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetDscp | sys/ipqos/dflt/p/name-q1/cmap-class-default/setDscp |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetDscp Properties
The following table contains information about the ipqosSetDscp 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 |
---|---|---|---|
tunnel | scalar:Bool | tunnel on or off | SELECTION: true or false |
val | ipqos:Dscp (scalar:UByte) | Dscp value | RANGE: [0 , 63] DEFAULT: 0 |
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 DSCP in Tunnel Encapsulation
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.
policy-map type qos q1
class class-default
no set dscp tunnel 63
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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:
Configuring AF12 DSCP (001100)
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.
policy-map type qos q1
class class-default
set dscp tunnel af12
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetDscp | sys/ipqos/dflt/p/name-q1/cmap-class-default/setDscp |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetDscp Properties
The following table contains information about the ipqosSetDscp 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 |
---|---|---|---|
tunnel | scalar:Bool | tunnel on or off | SELECTION: true or false |
val | ipqos:Dscp (scalar:UByte) | Dscp value | RANGE: [0 , 63] DEFAULT: 0 |
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 AF12 DSCP (001100)
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.
policy-map type qos q1
class class-default
no set dscp tunnel af12
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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:
Configuring to Push the Label and Set New One on Top
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.
policy-map type qos q1
class class-default
set mpls experimental imposition 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetMplsExperimentalImposition | sys/ipqos/dflt/p/name-q1/cmap-class-default/setmplsexpimposition |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetMplsExperimentalImposition Properties
The following table contains information about the ipqosSetMplsExperimentalImposition 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 |
---|---|---|---|
expValue | ipqos:MplsExperimentalValue (scalar:Enum8) | Set mpls experimental imposition value | SELECTION: 0 - 0 1 - 1 2 - 2 3 - 3 4 - 4 5 - 5 6 - 6 7 - 7 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 the Config to Push the Label and Set New One on Top
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.
policy-map type qos q1
class class-default
no set mpls experimental imposition 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetMplsExperimentalImposition | sys/ipqos/dflt/p/name-q1/cmap-class-default/setmplsexpimposition |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetMplsExperimentalImposition Properties
The following table contains information about the ipqosSetMplsExperimentalImposition 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 the Immediate Precedence
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.
policy-map type qos q1
class class-default
set precedence tunnel immediate
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetPrecedence | sys/ipqos/dflt/p/name-q1/cmap-class-default/setPrecedence |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetPrecedence Properties
The following table contains information about the ipqosSetPrecedence 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 |
---|---|---|---|
tunnel | scalar:Bool | tunnel on or off | SELECTION: true or false |
val | ipqos:Prec (scalar:Enum8) | Precedence value | SELECTION: 0 - routine 1 - priority 2 - immediate 3 - flash 4 - flash-override 5 - critical 6 - internet 7 - network |
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 the Immediate Precedence
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.
policy-map type qos q1
class class-default
no set precedence tunnel immediate
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/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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:
Configuring the QoS Group
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.
policy-map type qos q1
class class-default
set qos-group 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
ipqosSetQoSGrp | sys/ipqos/dflt/p/name-q1/cmap-class-default/setGrp |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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 |
ipqosSetQoSGrp Properties
The following table contains information about the ipqosSetQoSGrp 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 | ipqos:QoSGrpId (scalar:Uint16) | QoS group ID | RANGE: [0 , 7] |
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 the QoS Group
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.
policy-map type qos q1
class class-default
no set qos-group 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.
MO | DN |
---|---|
ipqosPMapEntity | sys/ipqos/dflt/p |
ipqosPMapInst | sys/ipqos/dflt/p/name-q1 |
ipqosMatchCMap | sys/ipqos/dflt/p/name-q1/cmap-class-default |
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 |
---|---|---|---|
matchType | ipqos:QoSMatchType (scalar:Enum8) | Match-any, match-all or match-first | SELECTION: 0 - match-any 1 - match-all 2 - match-first DEFAULT: match-all |
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: