Contents Contents Contents About this document Applicable products Latest version available online Command syntax notation conventions About the examples Identifying switch ports and interfaces QoS overview End-to-end QoS behavior Best effort service Class of Service Differentiated services QoS on the switch QoS trust Dynamic QoS trust mode Port rate limiting...
Page 4
qos trust queue action ecn all threshold kbytes queue action ecn all min-threshold kbytes max-threshold kbytes rate-limit show interface queues show interface qos show qos cos-map show qos dscp-map show qos pool show qos queue-profile show qos schedule-profile show qos threshold-profile show qos trust strict queue Support and Other Resources...
Chapter 1 About this document About this document This document describes features of the AOS-CX network operating system. It is intended for administrators responsible for installing, configuring, and managing Aruba switches on a network. Applicable products This document applies to the following products: Aruba 8320 Switch Series (JL479A, JL579A, JL581A) Aruba 8325 Switch Series (JL624A, JL625A, JL626A, JL627A) Aruba 10000 Switch Series (R8P13A, R8P14A)
Convention Usage Brackets. Indicates that the enclosed item or items are optional. … or Ellipsis: In code and screen examples, a vertical or horizontal ellipsis indicates an omission of information. In syntax using brackets and braces, an ellipsis indicates items that can be repeated.
Page 7
member: Always 1. VSF is not supported on this switch. slot: Always 1. This is not a modular switch, so there are no slots. port: Physical number of a port on the switch. For example, the logical interface in software is associated with physical port 4 on the switch. 1/1/4 If using breakout cables, the port designation changes to x:y, where x is the physical port and y is the lane when split to 4 x 10G or 4 x 25G.
Chapter 2 QoS overview QoS overview Quality of Service (QoS) enables network administrators to customize how different types of traffic are serviced on a network, taking into account the unique characteristics of each traffic type and its importance within an organization's infrastructure. QoS ensures uniform and efficient traffic handling, keeping the most important traffic moving at an acceptable speed, regardless of current bandwidth usage.
Traffic type Example protocols Best Effort HTTP, TELNET Background SMTP, IMAP CoS 1 is deliberately set as the lowest CoS. This enables a traffic service level below the default (best effort) traffic level to be specified. The 3-bit Priority Code Point (PCP) field within the 16-bit Ethernet VLAN tag is used to mark the CoS. +--------+--------+--------+----------+-----------+-------- | mac-da | mac-sa | 0x8100 | VLAN tag | ethertype | data...
The DSCP value is carried within the IPv4 DSCP field or the upper 6-bits of the 8-bit IPv6 Traffic Class (TC) field. IPv4 +----+-----+----+----+---+-------+----+------+-------+------+------+------- |ver |dscp |ecn |len |id |offset |ttl |proto |chksum |ip-sa |ip-da | data.. +----+-----+----+----+---+-------+----+------+-------+------+------+------- +------+-----+ | dscp | ecn | +------+-----+ IPv6 +-----+-----+-----+-------+-------------+-----------+-------+-------+--------...
Page 11
The following diagram shows how different packets might traverse a switch. It also shows how QoS configuration settings apply at each stage. QoS overview...
QoS trust Traffic priorities for networks can be carried in VLAN tags, using the CoS Priority Code Point (PCP), or in IP packet headers, using the Differentiated Services Code Point (DSCP). Whether these priorities affect how traffic is serviced, depends on how QoS trust mode is configured on the switch. QoS trust mode specifies how the switch assigns local priority values to ingress packets.
Dynamic QoS trust mode The device profile feature can dynamically set the QoS trust mode on an interface based on the LLDP information exchanged with a link partner. The device profile's trust mode temporarily overrides the static trust mode configured for an interface. The override remains in place as long as that link partner is connected and its link state is up.
higher its priority during transmission scheduling. Packets are assigned to a queue based on their local priority value (0 to 7). A queue profile must map all eight local priority values to whatever queues are being used on the switch, and a schedule profile must specify the configuration for those same queues. A queue without a local priority value assigned to it is not used to store packets.
All queues use deficit weighted round robin queuing (DWRR) All queues use strict priority The highest priority queue uses strict priority, and all other queues use DWRR A weighted schedule profile assigns relative servicing for each queue. The amount of service per weight is relative to the underlying hardware implementation, and to the weights assigned to the other non-empty queues.
Threshold profiles configure individual queue utilization thresholds as triggers for taking action (i.e., ECN marking) on a packet. A threshold profile is applied per-port and defines the threshold and action for each queue. Omitting configuration for a queue in a threshold profile means that queue will not be configured with a threshold value or action.
Page 17
General term for a set of packets sharing a common characteristic. It used to be the name of an 8-bit field in the IPv6 header originally defined by IETF RFC 2460. This field name was changed to differentiated services by IETF RFC 2474. Type of service (ToS) General term when there are different levels of treatment (fare class).
Chapter 3 QoS configuration QoS configuration Configuring QoS Procedure 1. Configure how local priority values are assigned to ingress packets with the commands qos dscp-map qos trust 2. Optionally, add a rate limit for ingress traffic on one or more interfaces with the command rate- limit 3.
Page 19
Queue Local Priority Creates a schedule profile named and assigns DWRR to all queues in the schedule profile with the following weights: Queue Weight Applies Q1 and S1 to all interfaces that do not have a QoS override applied. switch(config)# qos trust cos switch(config)# qos cos-map 1 local-priority 1 switch(config)# qos queue-profile Q1 switch(config-queue)# map queue 0 local-priority 0...
Configuring expedited forwarding for VoIP traffic Voice over IP (VoIP) traffic is delay and jitter sensitive. For optimum transmission of VoIP traffic, dwell time in network devices must be kept to a minimum and all network devices in the data path must have identical per-hop behaviors.
4. Apply the profiles to all interfaces. switch(config)# apply qos queue-profile ef_priority schedule-profile voip 5. Configure DSCP trust mode on all ports switch(config)# qos trust dscp Configuring rate limiting This scenario illustrates how to use rate limiting to manage the traffic from various devices connected to a switch.
The configured egress rate on a specific interface can be found by using the show interface show commands. interface qos The following example configures an egress rate of 100 Mbps . switch(config)# interface 1/1/1 switch(config-if)# qos shape 100000 In the next example, both egress port shaping and egress queue shaping are configured on the same interface.
Page 24
Tx Drops: The number of packets dropped by a queue before it was sent. When traffic cannot be transmitted out of an egress interface, it may be buffered in memory if space is available. The more servicing assigned to a queue by a schedule profile, the less likely traffic destined for that queue will back up and potentially dropped.
Chapter 4 QoS commands QoS commands apply qos apply qos [queue-profile <QUEUE-NAME>] schedule-profile <SCHEDULE-NAME> no apply qos schedule-profile <SCHEDULE-NAME> Description Applies a queue profile and schedule profile globally to all Ethernet and LAG interfaces on the switch, or applies a schedule profile to a specific interface. When applied globally, the specified schedule profile is configured only on Ethernet interfaces and LAGs that do not already have their own schedule profile.
Page 26
Both the queue profile and the schedule profile must specify the same number of queues. Schedule profiles can be modified while applied, but only in ways where a single command will not result in the profile becoming invalid. For example, queue 7 can have the algorithm changed, and weighted queues can have their weights changed.
Parameter Description Specifies the name of the threshold profile to apply. Range: 1 to 64 <THRESHOLD-NAME> alphanumeric characters, including period (.), underscore (_), and hyphen (-). Example Applying the threshold profile mythreshold to all interfaces that do not have an applied profile: switch(config)# apply qos threshold-profile mythreshold Command History Release...
switch(config)# qos schedule-profile myschedule switch(config-schedule)# no dwrr queue 2 Command History Release Modification 10.07 or earlier Command Information Platforms Command context Authority 8320 Administrators or local user group members with execution config-schedule-<NAME> rights for this command. 8325 10000 map queue map queue <QUEUE-NUMBER>...
Assigns a description to a queue in a queue profile. This is for identification purposes and has no effect on configuration. form of this command removes the description associated with a queue. Parameter Description Specifies the queue number. Range: 0 to 7. <QUEUE-NUMBER>...
Page 32
code_point local_priority color name ---------- -------------- ------- ---- green Best_Effort green Background green Excellent_Effort green Critical_Applications green Video green Voice green Internetwork_Control green Network_Control form of this command restores the assignments for a CoS map value to the default setting. Parameter Description Specifies an 802.1 VLAN priority CoS value.
Command Information Platforms Command context Authority 8320 Administrators or local user group members with execution rights config for this command. 8325 10000 qos dscp qos dscp <CODE-POINT> no qos dscp Description Configures a differentiated services code point (DSCP) remark for an Ethernet or LAG interface. IPV4 and IPV6 packets that ingress on the interface are remarked at egress using the configured DSCP value.
switch(config)# interface 1/1/1 switch(config-if)# qos trust none switch(config-if)# qos dscp 43 Deleting a DSCP remark of 43 on interface 1/1/1: switch(config)# interface 1/1/1 switch(config-if)# no dscp 43 Command History Release Modification 10.07 or earlier Command Information Platforms Command context Authority 8320 Administrators or local user group members with execution rights config-if...
green green green Parameter Description Specifies an IP differentiated services code point. Range: 0 to 63. <CODE-POINT> Default: 0. local-priority <PRIORITY-NUMBER> Specifies a local priority value to associate with the CODE-POINT value. Range: 0 to 7. Default: 0. Reserved for future use color <COLOR>...
Page 36
You must not configure PFC on a priority mapped to local-priority 7. This local-priority is used by protocol and control traffic, and the device operation can be negatively impacted by pausing of traffic. Description Creates or modifies a packet buffer pool for lossless traffic by configuring lossless pool size, headroom buffer associated with the pool, and the priorities that are mapped to the pool.
switch(config)# no qos queue-profile myprofile Command History Release Modification 10.07 or earlier Command Information Platforms Command context Authority All platforms Administrators or local user group members with execution rights config for this command. qos schedule-profile qos schedule-profile <NAME> no qos schedule-profile <NAME> Description Creates a QoS schedule profile and switches to the context for the profile.
A profile named strict is predefined and cannot be edited or deleted. The strict profile services all queues of the queue profile to which it is applied, using the strict priority algorithm. A schedule profile must be defined on all interfaces at all times. There are two permitted configurations for a schedule profile: 1.
Limits the egress bandwidth on an interface to a value that is lower than its line rate. An optional burst value may also be specified. form of this command removes shaping from an interface. Parameter Description Specifies the maximum traffic rate in kbps. Range 64 to <RATE>...
Creates a QoS threshold profile and switches to the context for the profile. If the config-threshold specified threshold profile exists, this command switches to the context for the existing config-threshold profile. The threshold profile determines the action to take when a threshold is exceeded for each queue. A threshold profile is composed of up to 8 queues, numbered from 0 to 7.
Page 42
Description In the context: config This command sets the trust mode that is globally applied to all interfaces that do not have a trust mode configured. form of this command restores all interfaces that do not currently have a trust mode configured to the default setting.
WARNING: QoS port remark configurations are not applied when the global QoS trust mode is mode. This warning message is seen if a port no qos trust command is attempted when there is already a remark configuration on the port and the global trust mode is not none. To re-apply the remark configuration, set the port trust mode to none. Command History Release Modification...
switch(config)# qos threshold-profile mythreshold switch(config-threshold)# no queue 7 Command History Release Modification 10.07 or earlier Command Information Platforms Command context Authority 8325 Administrators or local user group members with execution rights config-threshold for this command. 10000 queue action ecn all min-threshold kbytes max-threshold kbytes queue <QUEUE-NUMBER>...
Removing a threshold from queue 5 in profile mythreshold: switch(config)# qos threshold-profile mythreshold switch(config-threshold)# no queue 5 Command History Release Modification 10.08 Command introduced Command Information Platforms Command context Authority 8325 Administrators or local user group members with execution rights config-threshold for this command.
switch(config)# interface 1/3/3 switch(config-if)# rate-limit multicast 4000 pps Viewing the results of the previous configuration setting: switch# show interface 1/3/3 qos Interface 1/3/3 is down (Administratively down) Admin state is down Hardware: Ethernet, MAC Address: 1c:98:ec:e3:6a:00 MTU 1500 Full-duplex rate-limit multicast 4000 pps (4000 actual) Speed 0 Mb/s Auto-Negotiation is turned on Input flow-control is off, output flow-control is off...
Page 47
Description Displays interface-level queue statistics. Parameter Description Specifies the name of an Ethernet port or LAG on the switch. <INTERFACE-NAME> Format: member/slot/port or lag number. Usage Statistics include: Tx Bytes: Total bytes transmitted. The byte count may include packet headers and internal metadata that are removed before the packet is transmitted.
Release Modification 10.07 or earlier Command Information Platforms Command context Authority All platforms Operators or Administrators or local user group members with Operator (>) or Manager execution rights for this command. Operators can execute this command from the operator context (>) only. show interface qos show interface <INTERFACE-NAME>...
Platforms Command context Authority All platforms Operators or Administrators or local user group members with Operator (>) or Manager execution rights for this command. Operators can execute this command from the operator context (>) only. show qos cos-map show qos cos-map [default] [vsx-peer] Description Shows the global QoS CoS code point settings, or the factory default settings.
Release Modification 10.07 or earlier Command Information Platforms Command context Authority 8320 Operators or Administrators or local user group members with Operator (>) or Manager execution rights for this command. Operators can execute this 8325 command from the operator context (>) only. 10000 show qos dscp-map show qos dscp-map [default] [vsx-peer]...
switch# show qos dscp-map default code_point local_priority color name ---------- -------------- ------- ---- green green green green green green green green green green green green green Command History Release Modification 10.07 or earlier Command Information Platforms Command context Authority All platforms Operators or Administrators or local user group members with Operator (>) or Manager execution rights for this command.
Page 52
switch# show qos pool Global Packet-Buffer Overview (in Kbytes) Port Packet Buffer Pools Size Limits Usage ------------------------------------------------------------------------ Lossy Pool 4105 3242 Lossless Pool 1 13080 (50.00%) 9235 Headroom Pool 1 2058 Sum of port headroom limits Lossless Pool 2 8973 (37.10%) 8467 Headroom Pool 2 2058...
Parameter Description characters, including period (.), underscore (_), and hyphen (-). Specifies the factory default queue profile. [factory-default] Shows the output from the VSX peer switch. If the switches do not vsx-peer have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.
Page 55
show qos schedule-profile [<NAME> | factory-default | strict] [vsx-peer] Description Shows the status of all schedule profiles, or a specific schedule profile. Parameter Description Specifies the name of a queue or schedule profile. Range: 1 to 64 <NAME> alphanumeric characters, including period (.), underscore (_), and hyphen (-).
Release Modification 10.07 or earlier Command Information Platforms Command context Authority All platforms Operators or Administrators or local user group members with Operator (>) or Manager execution rights for this command. Operators can execute this command from the operator context (>) only. show qos threshold-profile show qos threshold-profile [<NAME>...
Parameter Description Shows the factory default QoS trust settings. default Shows the output from the VSX peer switch. If the switches do not vsx-peer have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Page 59
Parameter Description Specifies the number of the queue. Range: 0 to 7. <QUEUE-NUMBER> Specifies the maximum bandwidth allowed on the queue in Kbps. max-bandwidth <BANDWIDTH> Range: 8 to 100000000. Specifies the maximum burst allowed on the queue.Range: 1 to burst <BURST> 1073.
Page 60
Platforms Command context Authority All platforms Administrators or local user group members with execution config-schedule-<NAME> rights for this command. QoS commands...
Chapter 5 Support and Other Resources Support and Other Resources Accessing Aruba Support Aruba Support Services https://www.arubanetworks.com/support-services/ Aruba Support Portal https://asp.arubanetworks.com/ North America telephone 1-800-943-4526 (US & Canada Toll-Free Number) +1-408-754-1200 (Primary - Toll Number) +1-650-385-6582 (Backup - Toll Number - Use only when all other numbers are not working) International telephone https://www.arubanetworks.com/support-services/contact-...
Access to some updates might require product entitlement when accessed through the Hewlett Packard Enterprise Support Center. You must have an HP Passport set up with relevant entitlements. Some software products provide a mechanism for accessing software updates through the product interface.
Aruba is committed to providing our customers with information about the chemical substances in our products as needed to comply with legal requirements, environmental data (company programs, product recycling, energy efficiency), and safety information and compliance data, (RoHS and WEEE). For more information, see https://www.arubanetworks.com/company/about-us/environmental-citizenship/.
Need help?
Do you have a question about the aruba 8320 Series and is the answer not in the manual?
Questions and answers