The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS quality of service (QoS) commands available on Cisco Nexus 5000 Series switches.
To allocate a minimum percentage of the interface bandwidth to a queue and configure the bandwidth on both ingress and egress queues, use the bandwidth command. To remove a bandwidth configuration, use the no form of this command.
bandwidth percent percent
no bandwidth percent percent
percent |
Specifies the percentage of bandwidth of the underlying link rate. |
percent |
Percent value in the range from 1 to 100. |
Default bandwidth rate is kbps.
Policy map type queuing class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to set the bandwidth remaining for the specified queue:
switch(config)# policy-map type queuing my_policy1
switch(config-pmap-que)# class type queuing 1p7q4t-out-pq1
switch(config-pmap-c-que)# bandwidth remaining percent 25
switch(config-pmap-c-que)#
This example shows how to remove the bandwidth remaining for the specified queue:
switch(config)# policy-map type queuing my_policy1
switch(config-pmap-que)# class type queuing 1p7q4t-out-pq1
switch(config-pmap-c-que)# no bandwidth remaining percent 25
switch(config-pmap-c-que)#
|
|
---|---|
show class-map |
Displays class maps. |
show policy-map |
Displays policy maps. |
To add a reference to an existing qos class map in a policy map and enter the class mode, use the class command. To remove a class from the policy map, use the no form of this command.
class [type qos] {class-map-name | class-default}
no class {class-map-name | class-default}
None
Policy map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
Policy actions in the first class that matches the traffic type are performed.
This example shows how to add a reference to a qos class map at the end of a policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)# class traffic_class2
switch(config-pmap-c-qos)#
This example shows how to add a reference to the class-default qos class map in a policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)# class class-default
switch(config-pmap-c-qos)#
This example shows how to remove a class map reference in a policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)# no class traffic_class1
switch(config-pmap-qos)#
|
|
---|---|
show class-map type qos |
Displays type qos class maps. |
show policy-map |
Displays policy maps. |
To add a reference to an existing network QoS class map in a policy map and enter the class mode, use the class type network-qos command. To remove a class from the policy map, use the no form of this command.
class type network-qos class-map-name
no class type network-qos class-map-name
class-map-name |
Reference to a network QoS class map. |
None
Policy map type network-qos configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
Policy actions in the first class that matches the traffic type are performed.
This example shows how to add a reference to a class map in a type network-qos policy map:
switch(config)# policy-map type network-qos nqos_policy
switch(config-pmap-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-pmap-nq-c)#
This example shows how to remove a class map reference in a type network-qos policy map:
switch(config)# policy-map type network-qos nqos_policy
switch(config-pmap-pmap-nq)# no class type network-qos nqos_class
switch(config-pmap-pmap-nq)#
|
|
---|---|
show class-map type network-qos |
Displays type network-qos class maps. |
show policy-map |
Displays policy maps. |
To add a reference to an existing queuing class map in a policy map and enter the class mode, use the class type queuing command. To remove a class from the policy map, use the no form of this command.
class type queuing class-map-name
no class type queuing class-map-name
class-map-name |
Reference to a system-defined queuing class map. |
None
Policy map type queuing configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
Policy actions in the first class that matches the traffic type are performed.
This example shows how to add a reference to a class map in a type queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
switch(config-pmap-que)# class type queuing 1p7q4t-out-q3
switch(config-pmap-c-que)#
This example shows how to remove a class map reference in a type queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
switch(config-pmap-que)# no class type queuing 1p7q4t-out-q3
switch(config-pmap-que)#
|
|
---|---|
show class-map type queuing |
Displays the type queuing class maps. |
show policy-map |
Displays policy maps. |
To create or modify a class map and enter the class-map configuration mode, use the class-map command. To remove a class map, use the no form of this command.
class-map {[type qos] | type queuing} class-map-name
no class-map {[type qos] | type queuing} class-map-name
type—qos
Global configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
4.1(3)N1(1) |
The type {qos | network-qos | queuing} keyword was added. |
You can define a class map for each class of traffic to be used in QoS policies.
If the packet matches any of the criteria configured for this class map with the match command, then this class map is applied to the packet. Class maps of type queuing support only this option.
If you modify the queuing type class maps, the configuration for all ports of the specified port type on all virtual device contexts (VDCs) also changes.
You cannot delete the system-defined queuing class map names.
This example shows how to create or modify a class map:
switch(
config)#
class-map my_class1
switch(config-cmap)#
This example shows how to remove a class map:
switch(
config)#
no class-map my_class1
This example shows how to modify a queuing class map:
switch(
config)#
class-map type queuing match-any 2q4t-in-q1
switch(config-cmap-que)#
This example shows how to create or modify a qos class map:
switch(
config)#
class-map my_class1
switch(config-cmap-qos)#
This example shows how to remove a qos class map:
switch(
config-cmap-qos)#
no class-map my_class1
switch(config)#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show class-map |
Displays class maps. |
To create or modify a class map that defines a network QoS class of traffic and enter the class-map configuration mode, use the class-map type network-qos command. To remove a class map, use the no form of this command.
class-map type network-qos class_map_name
no class-map type network-qos class_map_name
class-map-name |
Name assigned to the class map. The name class-default is reserved. The name can be a maximum of 40 alphanumeric characters. |
None
Global configuration mode
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
Class maps of type network qos support only the match cos command.
This example shows how to create or modify a network qos class map:
switch(
config)#
class-map type network-qos my_class1
switch(config-cmap-nq)#
This example shows how to remove a network qos class map:
switch(
config-cmap-nq)#
no class-map my_class1
switch(config)#
|
|
---|---|
match cos |
Defines a traffic class that matches the class of service (CoS) values. |
show class-map type queuing |
Displays class maps. |
To add a description to a class map, policy map, or table map, use the description command. To remove the description, use the no form of this command.
description text
no description text
text |
Description for the class map, policy map, or table map. The description can be a maximum of 200 alphanumeric characters. |
None
Class map type network qos configuration
Class map type qos configuration
Class map type queuing configuration
Policy map type network qos configuration
Policy map type qos configuration
Policy map type queuing configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to add a description to a qos class map:
switch(
config)#
class-map my_class1
switch(config-cmap-qos)# description This class map filters packets that matches an ACL
switch(config-cmap-qos)#
|
|
---|---|
class-map |
Creates or modifies a class map. |
policy-map |
Creates or modifies a policy map. |
show class-map |
Displays class maps. |
show policy-map |
Displays policy maps. |
To enable IEEE 802.3x link-level flow control for the selected interface, use the flowcontrol command.
flowcontrol [receive {on | off}] [transmit {on | off}]
None
Interface configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to enable flow control for traffic received on an interface:
switch#
configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# flowcontrol receive on
|
|
---|---|
priority-flow-control |
Sets the PFC mode for the selected interface. |
show interface flowcontrol |
Displays the detailed listing of the flow control settings on all interfaces. |
To identify a specified access control list (ACL) group as a match criteria for a class map, use the match access-group command. To remove an ACL match criteria from a class map, use the no form of this command.
match access-group name acl-name
no match access-group name acl-name
name acl-name |
Matches on the characteristics in the ACL name specified. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
Note The permit and deny ACL keywords do not affect the matching of packets.
This example shows how to create a qos class map that matches characteristics of the ACL my_acl:
switch(
config)#
class-map class_acl
switch(config-cmap-qos)# match access-group name my_acl
|
|
---|---|
show class-map |
Displays class maps. |
To define the class of traffic using the class of service (CoS) value in a type qos class map, use the match cos command. To remove the match on the CoS value, use the no form of this command.
match [not] cos cos-list
no match [not] cos cos-list
not |
(Optional) Negates the specified match result. |
cos-list |
Specified CoS value or list of specified CoS values. Valid values are from 0 to 7. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
To specify a list of values, use one of the following options:
•Specify a range of values separated by a dash
•Specify a noncontiguous list of values separated by commas
Note Only class maps of type qos support the optional not keyword form of this command. Class maps of type queuing do not support the not keyword.
This example shows how to match on the CoS value for a type qos class map:
switch(
config)#
class-map class_acl
switch(config-cmap-qos)# match cos 5-7
|
|
---|---|
show class-map |
Displays class maps. |
To identify specific differentiated services code point (DSCP) values as a match criteria, use the match dscp command. To remove specified DSCP values as a match criteria, use the no form of this command.
match [not] dscp dscp-list
no match [not] dscp dscp-list
not |
(Optional) Negates the specified match result. |
dscp-list |
Specified DSCP value or list of DSCP values. See Table 5-1 for a list of valid DSCP values. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
The standard DSCP values are shown in Table 5-1.
To specify a list of values, use one of the following options:
•Specify a range of values separated by a dash
•Specify a noncontiguous list of values separated by commas
This example shows how to match on DSCP value af21:
switch(
config)#
class-map my_test
switch(config-cmap-qos)# match dscp af21
|
|
---|---|
show class-map |
Displays class maps. |
To configure a class map to use the Real-Time Protocol (RTP) port as a match criteria, use the match ip rtp command. To remove the RTP port as a match criteria, use the no form of this command.
match [not] ip rtp port-list
no match [not] ip rtp port-list
not |
(Optional) Negates the specified match result. |
port-list |
Specified UDP port or list of UDP ports that are using RTP. Valid values range from 2000 to 65535. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
To specify a list of values, use one of the following options:
•Specify a range of values separated by a dash
•Specify a noncontiguous list of values separated by commas
This example shows how to match on a port using RTP:
switch(
config)#
class-map my_test
switch(config-cmap-qos)# match ip rtp 2300
|
|
---|---|
show class-map |
Displays class maps. |
To configure a class map to use the precedence value in the type of service (ToS) byte field of the IP header as a match criteria, use the match precedence command. To remove the precedence values as a match criteria, use the no form of this command.
match [not] precedence precedence-list
no match [not] precedence precedence-list
not |
(Optional) Negates the specified match result. |
precedence-list |
Specified IP precedence value or list of IP precedence values specified in bytes. Valid values are shown in Table 5-2. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
See Table 5-2 for a list of precedence values.
To specify a list of values, use one of the following options:
•Specify a range of values separated by a dash
•Specify a noncontiguous list of values separated by commas
This example shows how to match on an IP precedence value:
switch(
config)#
class-map my_test
switch(config-cmap-qos)# match precedence 7
|
|
---|---|
show class-map |
Displays class maps. |
To configure a class map to use a specific protocol as a match criterion, use the match protocol command. To remove the specified protocol as a match criteria, use the no form of this command.
match [not] protocol protocol-name
no match [not] protocol protocol-name
not |
(Optional) Negates the specified match result. |
protocol-name |
Specified protocol name. Valid values are shown in Table 5-3. |
None
Class-map type qos configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
The list of valid protocol names is shown in Table 5-3.
To specify more than one protocol, enter the command more than once with the desired protocol value each time.
This example shows how to match on a specified protocol:
switch(
config)#
class-map my_test
switch(config-cmap-qos)# match protocol ldp
|
|
---|---|
show class-map |
Displays class maps. |
To configure a class map to use a specific QoS group value as a match criterion, use the match qos-group command. To remove the specified protocol as a match criteria, use the no form of this command.
match [not] qos-group qos-group-list
no match [not] qos-group qos-group-list
not |
(Optional) Negates the specified match result. |
qos-group-list |
Specified Qos group value or list of QoS group values specified in bytes. Valid values are from 2 to 5. |
None
Class map type network-qos configuration
Class map type queuing configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
The QoS group is an internal label and is not part of the packet payload or any packet header. The QoS group values have no mathematical significance. For example, a QoS group value of 2 is not greater than 1; the values are used only to internally differentiate QoS groups. As such, this value has local significance only.
You match on the QoS group only in egress policies because its value is undefined until you set it in an ingress policy.
To specify a list of values, use one of the following options:
•Specify a range of values separated by a dash
•Specify a noncontiguous list of values separated by commas
This example shows how to match on a specified QoS group value:
switch(config)# class-map type queuing my_test
switch(config-cmap-qos)# match qos-group 6
switch(config-cmap-qos)#
|
|
---|---|
class-map type network-qos |
Creates or modifies a network qos class map. |
class-map type queuing |
Creates or modifies a queuing class map. |
show class-map |
Displays class maps. |
To configure the interfaces on a switch to transfer large frames on a port, use the mtu command. To remove the configured maximum transmission unit (MTU), use the no form of this command.
mtu mtu-value
no mtu mtu-value
mtu-value |
MTU value for the class of service (CoS). Valid values are 1500 to 9216. |
Default MTU value is 1500. For FCoE cos 3, the default is 2158.
Policy map type network-qos class configuration
You can configure an MTU for each virtual link in the system.
This example shows how to set an MTU value for a class in a type network-qos policy map:
switch(config)# class-map type network-qos my_class1
switch(config-cmap-nq)# match qos-group 1
switch(config-cmap-nq)# exit
switch(config)# policy-map type network-qos my_policy1
switch(config-pmap-nq)# class type network-qos my_class1
switch(config-pmap-nq-c)# mtu 5000
switch(config-pmap-nq-c)#
|
|
---|---|
show class-map |
Displays class maps. |
show policy-map |
Displays policy maps. |
To optimize a class to send multiple packets, use the multicast-optimize command.
multicast-optimize
no multicast-optimize
This command has no arguments or keywords.
None
Policy map type network-qos class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
Multicast traffic in a class will be served by all available multicast queues.
Only one class in a policy map can be configured for multicast optimization.
This example shows how to enable optimized multicast for a traffic class:
switch(config)# policy-map type network-qos my_queue
switch(config-pmap-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-pmap-nq-c)# multicast-optimize
switch(config-pmap-nq-c)#
This example shows how to remove the multicast optimization from a traffic class:
switch(config)# policy-map type network-qos my_queue
switch(config-pmap-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-pmap-nq-c)# no multicast-optimize
switch(config-pmap-nq-c)#
|
|
---|---|
show policy-map |
Displays the policy maps. |
To enable Class Based Flow Control (CBFC) pause characteristics on a class referenced in a type network-qos policy map, use the pause command. To disable the CBFC pause characteristics on a class, use the no form of this command.
pause no-drop [pfc-cos pfc-cos-list]
no pause no-drop [pfc-cos pfc-cos-list]
By default, pause no-drop is on.
Policy map type network-qos class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
Ethernet interfaces use priority flow control (PFC) to provide lossless service to no-drop system classes. PFC implements pause frames on a per-class basis and uses the IEEE 802.1p CoS value to identify the classes that require lossless service.
You can configure PFC CoS only for traffic classes that match a criteria other than the CoS value (match cos).
This example shows how to enable pause no-drop on a class referenced in a type network-qos policy map:
switch(config)# class-map type network-qos my_class1
switch(config-cmap-nq)# match qos-group 2
switch(config-cmap-nq)# exit
switch(config)# policy-map type network-qos my_policy1
switch(config-pmap-nq)# class type network-qos my_class1
switch(config-pmap-nq-c)# pause no-drop
switch(config-pmap-nq-c)#
|
|
---|---|
show class-map type network-qos |
Displays type network-qos class maps. |
show policy-map |
Displays policy maps. |
To create or modify a policy map and enter the policy map type network-qos configuration mode, use the policy-map type network-qos command. To remove a policy map, use the no form of this command.
policy-map type network-qos policy-map-name
no policy-map type network-qos policy-map-name
policy-map-name |
Name assigned to a type network-qos policy map. The name can be a maximum of 40 alphanumeric characters. |
None
Global configuration mode
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
Use the service-policy command to assign policy maps to interfaces.
This example shows how to create or modify a type network-qos policy map:
switch(config)# policy-map type network-qos my_policy1
switch(config-pmap-nq)
This example shows how to remove a type network-qos policy map:
switch(config-pmap-nq)# no policy-map type network-qos my_policy1
switch(config)
To create or modify a policy map and enter the policy map type qos configuration mode, use the policy-map command. To remove a QoS policy map, use the no form of this command.
policy-map [type qos] [match-first] qos-policy-map-name
no policy-map [type qos] [match-first] qos-policy-map-name
The software enters the policy map type qos configuration mode if you enter the policy-map command without specifying a type.
Global configuration mode
|
|
4.1(3)N1(1) |
This command was introduced. |
Use the service-policy command to assign policy maps to interfaces.
This example shows how to create or modify a type qos policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)#
This example shows how to remove a type qos policy map:
switch(
config-pmap-qos)#
no policy-map my_policy1
|
|
---|---|
service-policy |
Attaches a policy map to an interface. |
show policy-map |
Displays policy maps. |
To create or modify a policy map and enter the policy map type queuing configuration mode, use the policy-map type queuing command. To remove a policy map, use the no form of this command.
policy-map type queuing [match-first] queuing-policy-map-name
no policy-map type queuing [match-first] queuing-policy-map-name
None
Global configuration mode
|
|
4.1(3)N1(1) |
This command was introduced. |
Use the service-policy command to assign policy maps to interfaces.
This example shows how to create or modify a queuing policy map:
switch(
config)#
policy-map type queuing my_policy1
switch(config-pmap-que)#
This example shows how to remove a type queuing policy map:
switch(
config-pmap-que)#
no policy-map type queuing my_policy1
switch(config)#
|
|
---|---|
service-policy |
Attaches a policy map to an interface. |
show policy-map |
Displays policy maps. |
To assign a priority to a traffic class in a policy map, use the priority command. To remove the mapping, use the no form of this command.
priority
no priority
This command has no arguments or keywords.
None
Policy map type queuing class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
When you configure a strict priority queue for a traffic class in a policy map, the priority class receives preference over other class queues. This queue is serviced before all other queues except queue zero (which carries control traffic, not data traffic).
This example shows how to map the traffic class to a strict priority queue:
switch(config)# policy-map type queuing my_policy1
switch(config-pmap-que)# class type queuing 8q2t-in-q4
switch(config-pmap-c-que)# priority
switch(config-pmap-que)#
|
|
---|---|
show policy-map |
Displays the policy maps. |
To set the priority-flow-control (PFC) mode for the selected interface, use the priority-flow-control command.
priority-flow-control mode {auto | on}
no priority-flow-control mode {auto | on}
auto |
Negotiates PFC capability. |
on |
Force-enables PFC. |
None
Interface configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to force-enable PFC on an interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
priority-flow-control mode on
switch(config-if)#
To configure tail drop by setting queue limits on both ingress and egress queues, use the queue-limit command. To remove a queue limit, use the no form of this command.
queue-limit queue-size bytes
no queue-limit queue-size bytes
queue-size |
Queue size threshold (in bytes). The range is from 20480 to 204800. |
None
Policy map type network-qos class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
You can use this command to specify or modify the maximum number of packets the queue can hold for a class policy configured in a policy map. The system drops packets that exceed the configured queue-size threshold.
You can use this command only for network-qos class maps that do not have "pause" configured.
This example shows how to assign a queue limit to a policy map network-qos class:
switch(config)# policy-map type network-qos my_queue
switch(config-pmap-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-pmap-nq-c)# queue-limit 10 mbytes
switch(config-pmap-nq-c)#
This example shows how to remove a queue limit from a policy map queuing class:
switch(config)# policy-map type network-qos my_queue
switch(config-pmap-pmap-nq)# class type network-qos nqos_class
switch(config-pmap-pmap-nq-c)# no queue-limit 10 mbytes
switch(config-pmap-nq-c)#
|
|
---|---|
pause no-drop |
Enables pause characteristics on a class referenced in a type network-qos policy map. |
show policy-map |
Displays policy maps. |
To attach a policy map to an interface or system policy, use the service-policy command. To remove a service-policy from an interface or system policy, use the no form of this command.
service-policy {input | type {qos input | queuing {input | output}}} policy-map-name
no service-policy {input | type {qos input | queuing {input | output}}} policy-map-name
None
Interface configuration
System QoS configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
4.2(1)N1(1) |
You can attach a policy map to a system policy. |
You can attach one ingress and one egress type queuing policy map to an interface of type port, and port channel. Only one policy map can be attached to the input of a given interface for each of the policy type qos and queuing.
This example shows how to attach a queuing policy map to the ingress packets of a port interface:
switch# configure terminal
switch(
config)#
interface ethernet 2/1
switch(config-if)# service-policy type queuing input my_input_q_policy
switch(config-if)#
This example shows how to attach qos type policy maps to the incoming packets of an interface:
switch# configure terminal
switch(config)#
system qos
switch(config-sys-qos)# service-policy type queueing output my_policy1
switch(config-sys-qos)#
|
|
---|---|
show policy-map interface brief |
Displays all interfaces and VLANs with attached service policies in a brief format. |
system qos |
Configures a system policy. |
To assign a class of service (CoS) value for a class of traffic in a type network-qos policy map, use the set command. To remove the assigned value from the class, use the no form of this command.
set cos cos-value
no set cos cos-value
cos-value |
CoS value to assign for this class of traffic. The range is from 0 to 7. |
None
Policy map type network-qos class configuration
|
|
4.1(3)N1(1) |
This command was introduced. |
You can use this command only on type network-qos policies that are attached to egress ports.
This example shows how to assign a CoS value for a class of traffic in a type network-qos policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)# class traffic_class2
switch(config-pmap-c-qos)# set cos 3
switch(config-pmap-c-qos)#
This example shows how to remove the assignment of CoS for a class of traffic in a type network-qos policy map:
switch(
config)#
policy-map my_policy1
switch(config-pmap-qos)# class traffic_class2
switch(config-pmap-c-qos)# no set cos 3
switch(config-pmap-c-qos)#
|
|
---|---|
show policy-map |
Displays policy maps. |
To assign the QoS group identifier for a class of traffic in a type qos policy map, use the set qos-group command. To remove the assigned value from the class, use the no form of this command.
set qos-group qos-group-value
no set qos-group qos-group-value
qos-group-value |
QoS group value to assign for this class of traffic. The range is from 0 to 126. |
None
Policy map type qos class configuration
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
You can set the QoS group identifier value only in ingress policies.
This example shows how to assign a QoS group identifier for a class of traffic in a type qos policy map:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class traffic_class2
switch(config-pmap-c-qos)# set qos-group 100
switch(config-pmap-c-qos)#
|
|
---|---|
show policy-map |
Displays policy maps. |
To display type network-qos class maps, use the show class-map type network-qos command.
show class-map type network-qos [class-map-name]
class-map-name |
Name of the class map. The name can be a maximum of 40 alphanumeric characters. |
Displays all type network-qos class maps if no class map name is specified.
Any command mode
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
If you do not specify the type, the command displays all the class maps configured in the system.
This example shows how to display all type network-qos class maps:
switch(config)# show class-map type network-qos
Type network-qos class-maps
==============================
class-map type network-qos s1
match qos-group 2
class-map type network-qos s2
match qos-group 3
class-map type network-qos s3
match qos-group 4
class-map type network-qos s4
match qos-group 5
class-map type network-qos cu1
match qos-group 2
class-map type network-qos cu2
match qos-group 3
class-map type network-qos cu3
match qos-group 4
class-map type network-qos cu4
match qos-group 5
class-map type network-qos new
match qos-group 2
class-map type network-qos class7
match qos-group 5
class-map type network-qos class-0
match qos-group 2
class-map type network-qos ip-based
match qos-group 5
class-map type network-qos class-1-2
match qos-group 3
class-map type network-qos class-4-7
match qos-group 4
class-map type network-qos cos-based
match qos-group 2
class-map type network-qos class-fcoe
match qos-group 1
class-map type network-qos class-flood
match qos-group 2
class-map type network-qos cos-based-3
match qos-group 3
class-map type network-qos cos-based-4
match qos-group 4
class-map type network-qos class-default
match qos-group 0
class-map type network-qos class-multicast
class-map type network-qos class-ip-multicast
match qos-group 5
switch(config)#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display type qos class maps, use the show class-map type qos command.
show class-map type qos [class-map-name]
class-map-name |
Named class map. The name class-default is reserved. The name can be a maximum of 40 alphanumeric characters. |
Displays all type qos class maps if no class map name is specified.
Any command mode
|
|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to display all type qos class maps:
switch(
config)#
show class-map type qos
Type qos class-maps
===================
class-map type qos s1
match cos 0
class-map type qos s2
match protocol ldp
match ip rtp 2000
match protocol dhcp
match protocol arp
class-map type qos s3
match access-group name mac
class-map type qos s4
match access-group name ipv4
class-map type qos cp1
match precedence 4-5
match cos 0,4
match dscp 4
match protocol ldp
match protocol arp
class-map type qos cp2
match ip rtp 2000
match cos 0
class-map type qos cp3
match access-group name mac
class-map type qos cp5
class-map type qos cq1
match protocol ldp
match precedence 7
match cos 0
class-map type qos cq2
match protocol ldp
match cos 1-2
class-map type qos cq3
match access-group name mac
class-map type qos cq4
match access-group name ipv4-1
class-map type qos cq5
match access-group name ipv6-based
class-map type qos p1.1
match cos 7
class-map type qos p1.2
match protocol ldp
match ip rtp 2000-6001,10000-20000,60000-65535
match dscp 1
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p1.3
match access-group name mac
class-map type qos p1.4
match access-group name ipv4
class-map type qos p2.1
match cos 0,7
class-map type qos p2.2
match protocol ldp
match ip rtp 2000-6000,6002,10000-20000,60000-65535
match dscp 2
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p2.3
match access-group name mac
class-map type qos p2.4
match access-group name ipv4
class-map type qos p3.1
match cos 0,7
class-map type qos p3.2
match protocol ldp
match ip rtp 2000-6000,6003,10000-20000,60000-65535
match dscp 3
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p3.3
match access-group name mac
class-map type qos p3.4
match access-group name ipv4
class-map type qos p4.1
match cos 0,7
class-map type qos p4.2
match protocol ldp
match ip rtp 2000-6000,6004,10000-20000,60000-65535
match dscp 4
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p4.3
match access-group name mac
class-map type qos p4.4
match access-group name ipv4
class-map type qos p5.1
match cos 0,7
class-map type qos p5.2
match protocol ldp
match ip rtp 2000-6000,6005,10000-20000,60000-65535
match dscp 5
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p5.3
match access-group name mac
class-map type qos p5.4
match access-group name ipv4
class-map type qos p6.1
match cos 0,7
class-map type qos p6.2
match protocol ldp
match ip rtp 2000-6000,6006,10000-20000,60000-65535
match dscp 6
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p6.3
match access-group name mac
class-map type qos p6.4
match access-group name ipv4
class-map type qos p7.1
match cos 0,7
class-map type qos p7.2
match protocol ldp
match ip rtp 2000-6000,6007,10000-20000,60000-65535
match dscp 7
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p7.3
match access-group name mac
class-map type qos p7.4
match access-group name ipv4
class-map type qos p8.1
match cos 0,7
class-map type qos p8.2
match protocol ldp
match ip rtp 2000-6000,6008,10000-20000,60000-65535
match dscp 8
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p8.3
match access-group name mac
class-map type qos p8.4
match access-group name ipv4
class-map type qos p9.1
match cos 0,7
class-map type qos p9.2
match protocol ldp
match ip rtp 2000-6000,6009,10000-20000,60000-65535
match dscp 9
match protocol dhcp
match protocol arp
match precedence 0-7
class-map type qos p9.3
match access-group name mac
class-map type qos p9.4
match access-group name ipv4
class-map type qos class-0
match cos 0
class-map type qos class-6
match cos 6
class-map type qos class-7
match cos 7
class-map type qos clsas-0
class-map type qos cos-6-7
match cos 7
class-map type qos ip-based
match access-group name ip-based
class-map type qos acl-based
match access-group name ipPacl
class-map type qos class-1-2
match cos 1-2
class-map type qos class-4-5
match cos 4-5
class-map type qos class-4-6
match cos 5
class-map type qos class-4-7
match cos 5,7
class-map type qos class-405
class-map type qos cos-based
class-map type qos mac-based
match access-group name foo
class-map type qos udp-based
match access-group name ip-based
class-map type qos class-fcoe
match cos 3
class-map type qos class-flood
class-map type qos class-default
match any
class-map type qos class-all-flood
match all flood
class-map type qos class-ip-multicast
match ip multicast
switch(config)#
This example shows how to display a specific class map:
switch# show class-map type qos class-4-6
Type qos class-maps
===================
class-map type qos class-4-6
match cos 5
switch#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display type queuing class maps, use the show class-map type queuing command.
show class-map type queuing [class-map-name]
class-map-name |
Named class map. The name can be a maximum of 40 alphanumeric characters. |
Displays all type queuing class maps if no class map name is specified.
Any command mode
|
|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to display all type queuing class maps:
switch(
config)#
show class-map type queuing
Type queuing class-maps
=======================
class-map type queuing s1
match qos-group 2
class-map type queuing s2
match qos-group 3
class-map type queuing s3
match qos-group 4
class-map type queuing s4
match qos-group 5
class-map type queuing cq1
match qos-group 2
class-map type queuing cq2
match qos-group 3
class-map type queuing cq3
match qos-group 4
class-map type queuing cq4
match qos-group 5
class-map type queuing pq1
class-map type queuing cqe1
match qos-group 2
class-map type queuing cqe2
match qos-group 3
class-map type queuing cqe3
match qos-group 4
class-map type queuing cqe4
match qos-group 5
class-map type queuing p1.1
match qos-group 2
class-map type queuing p1.2
match qos-group 3
class-map type queuing p1.3
match qos-group 4
class-map type queuing p1.4
match qos-group 5
class-map type queuing p2.1
match qos-group 2
class-map type queuing p2.2
match qos-group 3
class-map type queuing p2.3
match qos-group 4
class-map type queuing p2.4
match qos-group 5
class-map type queuing p3.1
match qos-group 2
class-map type queuing p3.2
match qos-group 3
--More--
switch(
config)#
|
|
---|---|
class-map |
Creates or modifies a class map. |
To display the detailed listing of the flow control settings on all interfaces, use the show interface flowcontrol command.
show interface flowcontrol [module number]
module number |
(Optional) Displays flow control settings on all interfaces on a specified module. The module number range is from 1 to 3. |
None
EXEC mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to display the flow control settings on all interfaces on a switch:
switch# show interface flowcontrol
--------------------------------------------------------------------------------
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
--------------------------------------------------------------------------------
Eth1/1 off off off off 0 0
Eth1/2 off off off off 0 0
Eth1/3 off off off off 0 0
Eth1/4 off off off off 0 0
Eth1/5 off off off off 0 0
Eth1/6 off off off off 0 0
Eth1/7 off off off off 0 0
Eth1/8 off off off off 0 0
Eth1/9 off off off off 0 0
Eth1/10 off off off off 0 0
Eth1/11 off off off off 0 0
--More--
switch#
This example shows how to display the flow control settings on all interfaces on a specified module:
switch# show interface flowcontrol module 1
-------------------------------------------------------------------------------
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
-------------------------------------------------------------------------------
Eth1/1 off off off off 0 0
Eth1/2 off off off off 0 0
Eth1/3 off off off off 0 0
Eth1/4 off off off off 0 0
Eth1/5 off off off off 0 0
Eth1/6 off off off off 0 0
Eth1/7 off off off off 0 0
Eth1/8 off off off off 0 0
Eth1/9 off off off off 0 0
Eth1/10 off off off off 0 0
Eth1/11 off off off off 0 0
Eth1/12 off off off off 0 0
Eth1/13 off off off off 0 0
Eth1/14 off off off off 0 0
--More--
switch#
|
|
---|---|
flowcontrol |
Enables IEEE 802.3x link-level flow control on interfaces. |
priority-flow-control |
Sets the priority-flow-control (PFC) mode for the selected interface. |
To display the priority flow control details for a specified interface, use the show interface priority-flow-control command.
show interface [ethernet slot/port] priority-flow-control
ethernet slot/port |
(Optional) Specifies the Ethernet interface and its slot number and port number. The slot number is from 1 to 255, and the port number is from 1 to 128. |
None
Any command mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to display the priority flow control details for a specified interface:
switch#
show interface ethernet 1/2 priority-flow-control
============================================================
Port Mode Oper(VL bmap) RxPPP TxPPP
============================================================
Ethernet1/2 Auto On (9) 4088353 1890
switch#
The interface specified is Ethernet 1/2, the PFC mode is set to negotiate PFC capability, the operation is on, and packets transmitted is 1890.
|
|
---|---|
priority-flow-control |
Sets the PFC mode for the selected interface. |
To display the untagged class of service (CoS) values for a specified interface, use the show interface untagged-cos command.
show interface untagged-cos [module module_no]
module |
(Optional) Displays the interfaces on this module of the switch chassis. |
module_no |
Module number in switch chassis. The range is from 1 to 18. |
None
EXEC mode
|
|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to display the untagged CoS values for a specified interface:
switch#
show interface untagged-cos
=================================
Interface Untagged-CoS
=================================
port-channel1
port-channel3 2
port-channel5 5
port-channel6
port-channel12
port-channel15
port-channel20
port-channel24
port-channel25
port-channel33
port-channel41
port-channel44
--More--
switch#
|
|
---|---|
untagged cos |
Sets a CoS value for untagged Ethernet frames. |
To display policy maps, use the show policy-map command.
show policy-map [type {qos | queuing | network-qos}] [policy-map-name]
None
Any command mode
|
|
4.1(3)N1(1) |
This command was introduced. |
When you enter the show policy-map command with no arguments or keywords, the system also displays the Control Plane Policing (CoPP) information.
This example shows how to display a named network-qos policy map:
switch# show policy-map type network-qos my_pnq
Type network-qos policy-maps
===============================
policy-map type network-qos my_pnq
class type network-qos cl_nq
multicast-optimize
queue-limit 20480 bytes
mtu 1500
class type network-qos class-fcoe
pause no-drop
mtu 2158
class type network-qos class-default
mtu 1500
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show queuing interface |
Displays QoS statistics. |
To display service policy maps configured on the interfaces, use the show policy-map interface command.
show policy-map interface [ethernet {slot/port} | port-channel {channel-number}] [input | output] [type {qos | queuing}]
None
Any command mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
Statistics are on by default.
This example shows how to display policy maps assigned to a specified interface:
switch(
config)#
show policy-map interface ethernet 2/10
This example shows how to display QoS policy maps assigned to a specified interface:
switch# show policy-map interface ethernet 3/1 type qos
Global statistics status : disabled
Ethernet3/1
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Match: cos 0
set qos-group 2
Class-map (qos): class-1-2 (match-any)
Match: cos 1-2
set qos-group 3
Class-map (qos): class-4-5 (match-any)
Match: cos 4-5
set qos-group 4
Class-map (qos): class-6 (match-any)
Match: cos 6
set qos-group 5
Class-map (qos): class-fcoe (match-any)
Match: cos 3
set qos-group 1
Class-map (qos): class-default (match-any)
Match: any
set qos-group 0
switch#
This example shows how to display the policy maps assigned to the output traffic of a specified interface:
switch# show policy-map interface ethernet 3/1 output
Global statistics status : disabled
Ethernet3/1
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
switch#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show queuing interface |
Displays QoS statistics. |
To display policy maps applied to interfaces in a brief format, use the show policy-map interface brief command.
show policy-map interface brief
This command has no arguments or keywords.
None
Any command mode
|
|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to display assigned policy maps in a brief format:
switch(
config)#
show policy-map interface brief
Interface [Status]:INP QOS INP QUE OUT QUE
===================================================================
port-channel1 [Active]:p1 pqe1 pqe1
port-channel3 [Active]:s pqe1 pqe1
port-channel5 [Active]:s pqe1 pqe1
port-channel6 [Active]:s pqe1 pqe1
port-channel12 [Active]:p12 p12-in p12-out
port-channel15 [Active]:s pqe1 pqe1
port-channel20 [Active]:s pqe1 pqe1
port-channel24 [Active]:p4 pqe1 pqe1
port-channel25 [Active]:p4 pqe1 pqe1
port-channel33 [Active]:s pqe1 pqe1
port-channel41 [Active]:s pqe1 pqe1
port-channel44 [Active]:s pqe1 pqe1
port-channel48 [Active]:s pqe1 pqe1
port-channel101 [Active]:s pqe1 pqe1
port-channel102 [Active]:p4
port-channel103 [Active]:p4
port-channel104 [Active]:p4
port-channel105 [Active]:p4
port-channel106 [Active]:p4
port-channel107 [Active]:p4
--More--
switch(
config)#
|
|
---|---|
policy-map |
Creates or modifies a policy map. |
show policy-map |
Displays policy maps. |
To display all active policy maps in the system, use the show policy-map system command.
show policy-map system [type {network-qos | qos [input] | queuing [input | output]}]
All policy maps
EXEC mode
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
If you do not specify a policy map type and name, the system displays all the active policy maps in the system.
This example shows how to display all active policy maps in the system:
switch# show policy-map system
Type network-qos policy-maps
===============================
policy-map type network-qos s
class type network-qos s2 match qos-group 3
mtu 4000
class type network-qos s1 match qos-group 2
mtu 5000
set cos 0
multicast-optimize
pause no-drop
class type network-qos s3 match qos-group 4
mtu 9216
class type network-qos s4 match qos-group 5
mtu 9216
class type network-qos class-fcoe match qos-group 1
pause no-drop
mtu 2158
class type network-qos class-default match qos-group 0
mtu 1500
Service-policy (qos) input: s
policy statistics status: disabled
Class-map (qos): s1 (match-any)
Match: cos 0
set qos-group 2
Class-map (qos): class-1-2 (match-any)
Match: cos 1-2
set qos-group 3
Class-map (qos): class-4-5 (match-any)
Match: cos 4-5
set qos-group 4
Class-map (qos): class-6 (match-any)
Match: cos 6
set qos-group 5
Class-map (qos): class-fcoe (match-any)
Match: cos 3
set qos-group 1
Class-map (qos): class-default (match-any)
Match: any
set qos-group 0
Service-policy (queuing) input: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
Service-policy (queuing) output: pqe1
policy statistics status: disabled
Class-map (queuing): cqe1 (match-any)
Match: qos-group 2
bandwidth percent 20
Class-map (queuing): cqe2 (match-any)
Match: qos-group 3
priority
Class-map (queuing): cqe3 (match-any)
Match: qos-group 4
bandwidth percent 20
Class-map (queuing): cqe4 (match-any)
Match: qos-group 5
bandwidth percent 40
Class-map (queuing): class-fcoe (match-any)
Match: qos-group 1
bandwidth percent 10
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 5
switch#
This example shows how to display active network-qos policy maps in the system:
switch# show policy-map system type network-qos
Type network-qos policy-maps
===============================
policy-map type network-qos s
class type network-qos s2 match qos-group 3
mtu 4000
class type network-qos s1 match qos-group 2
mtu 5000
set cos 0
multicast-optimize
pause no-drop
class type network-qos s3 match qos-group 4
mtu 9216
class type network-qos s4 match qos-group 5
mtu 9216
class type network-qos class-fcoe match qos-group 1
pause no-drop
mtu 2158
class type network-qos class-default match qos-group 0
mtu 1500
switch#
|
|
---|---|
show policy-map |
Displays all policy maps. |
To display the queuing information on interfaces, use the show queuing interface command.
show queuing interface [ethernet slot-no/port-no]
Displays the queuing information for all interfaces.
EXEC mode
|
|
---|---|
4.1(3)N1(1) |
This command was introduced. |
This example shows how to display the queuing information for all interfaces:
switch# show queuing interface
Ethernet1/1 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
RX Queuing
qos-group 0
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 1
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 2
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 3
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 4
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 5
q-size: 81920, HW MTU: 9280 (9216 configured)
drop-type: no-drop, xon: 128, xoff: 230
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
Total Multicast crossbar statistics:
Mcast pkts received from the cross-bar : 0
Ethernet1/2 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
<---output truncated--->
switch#
This example shows how to display the queuing information on Ethernet interface 1/2:
switch# show queuing interface ethernet 1/2
Ethernet1/2 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 73
1 WRR 0
2 WRR 1
3 WRR 6
4 WRR 20
5 priority 0
RX Queuing
qos-group 0
q-size: 25600, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 160
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 1851526994
Pkts sent to the port : 1851527000
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 1
q-size: 76800, HW MTU: 2240 (2158 configured)
drop-type: no-drop, xon: 128, xoff: 240
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 2
q-size: 20480, HW MTU: 9280 (9216 configured)
drop-type: drop, xon: 0, xoff: 128
Statistics:
Pkts received over the port : 0
Ucast pkts sent to the cross-bar : 0
Mcast pkts sent to the cross-bar : 0
Ucast pkts received from the cross-bar : 0
Pkts sent to the port : 0
Pkts discarded on ingress : 0
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
--More--
switch#
Table 5-4 describes the significant fields shown in the display.
To define the upper bound of any maximum transmission unit (MTU) in the system, use the system jumbomtu command.
system jumbomtu [value]
value |
Jumbomtu value. The range is from 2158 to 9216. |
9216 bytes
Global configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to define the upper bound of any MTU in the system:
switch(
config)#
system jumbomtu 9216
switch(config)#
|
|
---|---|
show interface |
Displays the jumbo MTU frames sent and received on the specified interface. |
To configure a system policy, use the system qos command.
system qos
This command has no arguments or keywords.
None
Global configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to configure a system qos to apply a queuing policy to all interfaces in the system:
switch(config)#
system qos
switch(config-sys-qos)#
|
|
---|---|
service-policy |
Associates the system class policy-map to the service policy for the system. |
To override the class of service (CoS) value for the selected interface, use the untagged cos command. To revert to the defaults, use the no form of this command.
untagged cos cos-value
no untagged cos cos-value
cos-value |
Class of service (CoS) value for untagged frames. Values can range from 1 to 7. |
None
Interface configuration mode
|
|
4.0(1a)N1(1) |
This command was introduced. |
Ethernet frames received with no CoS value are given a CoS value of 0.
This example shows how to set the CoS value to 4 for untagged frames received on an interface:
switch#
configure terminal
switch(config)#
interface ethernet 1/2
switch(config-if)#
untagged cos 4
|
|
---|---|
match cos |
Sets the CoS value to match for the selected class. |