MQC provides a language to define QoS
For more information about MQC commands, see the
Cisco Nexus 7000 Series NX-OS Quality of Service Command
You configure QoS policies by following these three steps:
Define traffic classes.
Associate policies and actions with each traffic class.
Attach policies to logical or physical interfaces and VLANs.
MQC provides three command types to define traffic classes and policies:
class-map—Defines a class map that represents a class of traffic
based on packet-matching criteria. Class maps are referenced in policy maps.
When you configure match all for a QoS class map by entering the
class-map type qos match-all command, the
match-all option does not work. Instead, the match criteria is always treated
as match any.
table-map—Defines a table map that represents a mapping from one set
of packet field values to another set of packet fields. Table maps are
referenced in policy maps.
policy-map—Defines a policy map that represents a set of policies to
be applied on a class-by-class basis to class maps.
You define the following class-map and policy-map object types when you
network qos—Defines the characteristics of CoS properties network
wide (across switches and VDCs).
qos—Defines MQC objects that you can use for marking and policing.
queuing—Defines MQC objects that you can use for queuing and
The qos type is the default.
You can attach policies to ports, port channels, VLANs, subinterfaces,
or tunnels by using the
On Fabric Extender (FEX) interfaces, you can configure only the type qos
policies. However, you cannot configure the type qos policies that refer to
classes that match with the access control lists (ACLs) that are configured for
the FEX external interfaces.
The type queuing policies are currently not supported on FEX interfaces.
You can view all or individual values for MQC objects by using the
show class-map, and
show policy-map commands.
In interface configuration mode, the Cisco Nexus 7000 Series switch
might accept QoS and ACL commands irrespective of the line card on which the
interface host is up or down. However, you cannot enter interface submode when
the line card is down because the Cisco Nexus 7000 Series switch does not
accept any preconfiguration information.