Alcatel-Lucent 7210 SAS Series Quality Of Service Manual

Service access switch, os
Table of Contents

Advertisement

Quick Links

Alcatel-Lucent
Service Access Switch| Release 8.0 Rev.04
7 2 1 0 S A S D , E , K O S
Q u a l i t y o f S e r v i c e G u i d e
3H E 10 37 9A AACT QZ Z A
3HE10379AAACTQZZA
Alcatel-Lucent – Proprietary & Confidential
Contains proprietary/trade secret information which is the property of Alcatel-Lucent. Not to be made available
to, or copied or used by anyone who is not an employee of Alcatel-Lucent except when there is a valid nondisclosure
agreement in place which covers such information and contains appropriate non-disclosure and
limited use obligations.
Copyright 2015 © Alcatel-Lucent. All rights reserved.All specifications, procedures, and information in this document are subject to change and revision at any time
without notice. The information contained herein is believed to be accurate as of the date of publication. AlcatelLucent

Advertisement

Table of Contents
loading

Summary of Contents for Alcatel-Lucent 7210 SAS Series

  • Page 1 Copyright 2015 © Alcatel-Lucent. All rights reserved.All specifications, procedures, and information in this document are subject to change and revision at any time without notice. The information contained herein is believed to be accurate as of the date of publication. AlcatelLucent...
  • Page 2 This document may contain information regarding the use and installation of non-Alcatel-Lucent products. Please note that this information is provided as a courtesy to assist you. While Alcatel-Lucent tries to ensure that this information accurately reflects information provided by the supplier, please refer to the materials provided with any non-Alcatel-Lucent product and contact the supplier for confirmation.
  • Page 3: Table Of Contents

    Getting Started Alcatel-Lucent 7210 SAS-Series Services Configuration Process .......18 QoS Policies QoS Overview.
  • Page 4 Table of Contents Access Egress QoS Policies on 7210 SAS-D and 7210 SAS-E ......60 Buffer Pools .
  • Page 5 Table of Contents Frame Based Accounting on 7210 SAS-E and 7210 SAS-D ......102 Effects of Enabling Ingress Frame Based Accounting on Ingress Meter Functionality on 7210 SAS-E and 7210 SAS-D .
  • Page 6 Table of Contents Configuration Guidelines for SAP ingress Policy for 7210 SAS-K......227 Default SAP Ingress Policy on 7210 SAS-D and 7210 SAS-E......229 Default SAP Ingress Policy for 7210 SAS-K .
  • Page 7 Table of Contents Configuring Port Scheduler Policies ..........396 Basic Configurations .
  • Page 8 Table of Contents Page 8 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 9: Applying Slope Policies

    IST OF ABLES Getting Started Table 1: Configuration Process ............18 QoS Policies Table 2: QoS Policy Types and Descriptions for 7210 SAS-D, E .
  • Page 10: Default Slope Policy Values For 7210 Sas-D

    List of Tables Service Ingress QoS Policies Table 39: SAP Ingress Policy Defaults ........... 232 Table 40: SAP Ingress Policy Defaults .
  • Page 11 IST OF IGURES QoS Policies Figure 1: 7210 SAS-D, E Service and Network Traffic Types and QoS model ....29 Figure 2: 7210 SAS- K Service and Network Traffic Types and QoS model .
  • Page 12 List of Figures Page 12 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 13: Preface

    Preface About This Guide This guide describes Quality of Service (QoS) provided by the 7210 SAS-D, E, and K platforms and presents examples to configure and implement various tests and presents examples to configure and implement various protocols and services. On 7210 SAS devices, not all the CLI commands are supported on all the platforms and in all the modes.
  • Page 14: List Of Technical Publications

    Preface List of Technical Publications The 7210-SAS D, E, K OS documentation set is composed of the following books: • 7210-SAS D, E, K OS Basic System Configuration Guide This guide describes basic system configurations and operations. • 7210-SAS D, E, K OS System Management Guide This guide describes system security and access configurations as well as event logging and accounting logs.
  • Page 15: Technical Support

    If you purchased a service agreement for your 7210 SAS device and related products from a distributor or authorized reseller, contact the technical support staff for that distributor or reseller for assistance. If you purchased an Alcatel-Lucent service agreement, contact your welcome center.
  • Page 16 Preface Page 16 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 17: Getting Started

    Getting Started In This Chapter This chapter provides process flow information to configure Quality of Service (QoS) policies and provision services. 7210 SAS D, E, K OS Quality of Service Guide Page 17...
  • Page 18: Alcatel-Lucent 7210 Sas-Series Services Configuration Process

    Alcatel-Lucent 7210 SAS-Series Services Configuration Process Alcatel-Lucent 7210 SAS-Series Services Configuration Process Table 1 lists the tasks necessary to configure and apply QoS policies. This guide is presented in an overall logical configuration flow. Each section describes a software area and provides CLI syntax and command usage to configure parameters for a functional area.
  • Page 19: Qos Policies

    QoS Policies In This Chapter This chapter provides information about Quality of Service (QoS) policy management. Topics in this chapter include: • QoS Overview on page 20 • Schedulers on page 82 • CPU Queues on page 85 7210 SAS D, E, K OS Quality of Service Guide Page 19...
  • Page 20: Qos Overview

    7210 SAS platforms. In the Alcatel-Lucent service router’s service model, a service is provisioned on the provider-edge (PE) equipment. Service data is encapsulated and then sent in a service tunnel to the far-end Alcatel-Lucent service router where the service data is delivered.
  • Page 21: Overview Of Qos Policies On 7210 Sas-D And 7210 Sas-E

    QoS Policies Overview of QoS Policies on 7210 SAS-D and 7210 SAS-E 7210 SAS-D and 7210 SAS-E QoS policies are applied on service ingress, access ports, egress and access uplink ports and define the following: • Classification rules for how traffic is mapped to forwarding classes •...
  • Page 22 QoS Overview Network QoS policies are applied to access uplink ports.On ingress, the policy applied to incoming Dot1p values to forwarding class and profile state for the traffic received from the core network. On egress, the policy maps forwarding class and profile state to priority bits (for example: IEEE 802.1p bits) values for traffic to be transmitted into the core network.
  • Page 23: Overview Of Qos Policies On 7210 Sas-K

    QoS Policies Overview of QoS Policies on 7210 SAS-K On 7210 SAS-K QoS policies are applied on service ingress, service egress and access uplink ports (ingress and egress) and define the following: • Classification rules for how traffic is mapped to forwarding classes •...
  • Page 24 QoS Overview Service egress QoS policies are applied to SAPs and map forwarding classes to service egress queues for a service. The system can allocate a maximum of 8 queues per SAP for the 8 forwarding classes. All traffic types (that is, both unicast and BUM traffic types) share the same queue on service egress.
  • Page 25: Slope Qos Policy Command Reference

    QoS Policies used to evaluate how buffers from the pool are allocated to different FCs and to in-profile and out- of-profile traffic within a given FC. The slope policies define the WRED parameters to use for in- profile/high-priority packets and for out-of-profile/low-priority packets. The high-slope and low- slope define the parameters for in-profile/high-priority packets and for out-of-profile/low-priority packets respectively.
  • Page 26: Table 2: Qos Policy Types And Descriptions For 7210 Sas-D, E

    QoS Overview A summary of the major functions performed by the QoS policies is listed in Table Table 2: QoS Policy Types and Descriptions for 7210 SAS-D, E Policy Type Applied at… Description Page Service Ingress Access SAP • Defines up to 32 forwarding class meters and meter parame- ingress ters for traffic classification.
  • Page 27: Table 4: Qos Policy Types And Descriptions For 7210 Sas-K

    QoS Policies Table 4: QoS Policy Types and Descriptions for 7210 SAS-K Policy Type Applied at… Description Page Service Ingress Access SAP • Defines up to 8 forwarding class queues and queue Ingress parameters to define queue characteristics (For example: scheduler priority and weight, rates, etc.) •...
  • Page 28 QoS Overview Table 4: QoS Policy Types and Descriptions for 7210 SAS-K (Continued) Policy Type Applied at… Description Page Dot1p classific- SAP ingress • Defines the map of Dot1p bits and IP DSCP values to tion and DSCP and access- forwarding class and assign the profile for the packet on classification uplink port...
  • Page 29: Service And Network Qos Policies On 7210 Sas-D, 7210 Sas-E And 7210 Sas-K

    QoS Policies Service and Network QoS Policies on 7210 SAS-D, 7210 SAS-E and 7210 SAS-K The QoS mechanisms within the 7210 SAS-D, E, K are specialized for the type of traffic on the interface. On 7210 SAS-D and SAS-E, for customer interfaces, there is service ingress and access port egress traffic, and for access uplink port interfaces, there is network ingress and network egress traffic (Figure...
  • Page 30: Network Qos Policies

    QoS Overview The 7210 SAS uses QoS policies applied to a SAP for a service or to an access uplink port to define the queuing, queue attributes, meter attributes, and QoS marking/interpretation. The 7210 SAS supports the following major types of service and network QoS policies: •...
  • Page 31: Table 5: Default Network Qos Policy Egress Marking

    QoS Policies • At least one default unicast forwarding class meter or queue based on the platform. The parameters that can be configured for a meter and queue are discussed below. • Optional multipoint forwarding class meter or queue based on the platform. Optional network QoS policy elements include: •...
  • Page 32: Network Queue Qos Policies

    QoS Overview Table 5: Default Network QoS Policy Egress Marking (Continued) FC-ID FC Name FC Label DiffServ Egress Dot1p Name Marking In-Profile Out-of- Profile High-2 100 - 4 100 - 4 Low-1 011 - 3 010-2 Assured 011-3 010 - 2 Low-2 001 - 1 001 - 1...
  • Page 33: Qos Policies

    QoS Policies The queue characteristics that can be configured on a per-forwarding class basis are: • Committed Buffer Size (CBS) in Kilobytes, only on 7210 SAS-K • Maximum Buffer Size (MBS) in Kilobytes, only on 7210 SAS-K • Peak Information Rate (PIR) as a percentage of egress port bandwidth •...
  • Page 34 QoS Overview Table 7: Default Network Queue Policy Definition. Forwarding Class Queue Definition (Continued) Queue 5 • PIR = 100% High-2 (h2) • CIR = 100% • MBS = 200 • CBS = 50 • priority = 1 • weight = 1 Queue 4 •...
  • Page 35: Meter Parameters

    QoS Policies Meter Parameters Note: Only 7210 SAS-E and 7210 SAS-D supports meters on SAP ingress and access-uplink port ingress. This section describes the meter parameters that can be defined for meters provisioned on the service entities (For example: SAP ingress on 7210 SAS-D). NOTE: Not all 7210 platforms support meters for all the policies.
  • Page 36: Peak Information Rate

    QoS Overview converted to an operational CIR should the hardware not support the exact CIR and PIR combination specified. Refer to the interpretation of the administrative CIR in Adaptation Rule for Meters on page Peak Information Rate The peak information rate (PIR) defines the maximum rate at which packets are allowed to exit the meter.
  • Page 37: Adaptation Rule For Meters In 7210 Sas-D Devices

    QoS Policies • Closest: Find the next multiple of 64 kbps that is closest to the specified rate. Table 8 lists the rate values configured in the hardware when different PIR or CIR rates are specified in the CLI. Table 8: Administrative Rate Example for 7210 SAS-E Administrative Rate Operation Rate Operation Rate...
  • Page 38: Maximum Burst Size (For Meters/Policers)

    QoS Overview Maximum Burst Size (For Meters/Policers) The maximum burst size parameter specifies the maximum burst size that can be transmitted by the source while not complying with the CIR. If the transmitted burst is lower than the MBS value then the packets is marked as out-profile by the meter to indicate that the traffic is not complying with CIR.
  • Page 39: Color-Aware And Color-Blind Policing/Metering

    QoS Policies In srtcm mode, the meter’s the CBS and MBS token buckets are replenished at single rate, that is, CIR . In trtcm1 mode, the meter implements the policing algorithm defined in RFC2698 and trtcm2 implements the policing algorithm defined in RFC4115. The meter mode supported for different QoS policies are different.
  • Page 40: Qos Overrides

    QoS Overview QoS Overrides The QoS Override feature support allows the user to override the meter parameters such as CBS, MBS, Rate (CIR and PIR), Mode, and Adaptation rule (CIR and PIR) at the SAP context. It is only supported for access SAPs. The values are taken from the SAP-Ingress policy, when the meter parameter values are not overridden.
  • Page 41: Queue Parameters

    QoS Policies Queue Parameters This section describes the queue parameters provisioned for queues used in service ingress policy, service egress policy, access egress policy, network qos policy and network queue policy. NOTE: Not all 7210 platforms support queues for all the above policies. In addition, the queue parameters support available varies across different platforms.
  • Page 42: Peak Information Rate

    QoS Overview mission rate of the queue. If the current rate is at or below the CIR threshold, the queue is considered in-profile. If the current rate is above the threshold, the queue is considered out- of-profile. The in-profile and out-profile state of queue is linked to scheduler prioritizing behavior as discussed below.
  • Page 43: Adaptation Rule For Queues

    QoS Policies PIR for the queues of the forwarding class is defined as a percentage of the network interface bandwidth. When defining the PIR for a queue, the value specified is the administrative PIR for the queue. The user has some control over how the administrative PIR is converted to an operational PIR should the hardware not support the exact CIR and PIR values specified.
  • Page 44: Committed Burst Size

    QoS Overview Hardware Rate Steps Rate Range (kbps) 64kbps 67100 - 134180 kbps 128kbps 134190 - 268360 kbps 256kbps 268370 - 536730 kpbs 512kbps 536740 - 1000000 kbps To illustrate how the adaptation rule constraints minimum, maximum and closest are evaluated in determining the operational CIR or PIR for the 7210 SAS, assume there is a queue where the administrative CIR and PIR values are 90Kbps and 150 Kbps, respectively.
  • Page 45: Table 10: Default Cbs And Mbs Values

    QoS Policies priority forwarding class service queues, the MBS can be relatively smaller than the other forwarding class queues because the high-priority service packets are scheduled with priority over other service forwarding classes. The MBS is provisioned on ingress and egress service queues within service ingress QoS policies and service egress QoS policies, respectively.
  • Page 46: Queue Counters

    QoS Overview Queue – Ingress Profile Assignment on 7210 SAS-K On 72120 SAS-K queues can operate in two modes – profile mode and non-profile mode. SAP Ingress queues and Access-uplink Port Ingress Queues can operate in either profile mode or non- profile mode.
  • Page 47: Service Ingress Qos Policies

    QoS Policies • Counters for packets and octets rejected at the queue • Counters for packets and octets transmitted in-profile • Counters for packets and octets transmitted out-of-profile The counters available vary among the 7210 SAS platform. Not all the counters are supported on all the platforms.
  • Page 48: Figure 3: Traffic Policing And Queuing Model For Forwarding Classes

    QoS Overview The required elements to define a service ingress QoS policy are: • A unique service ingress QoS policy ID. • A QoS policy scope of template or exclusive. • The number of classification and meter resources to allocate for this policy. •...
  • Page 49: Service Ingress Qos Policies On 7210 Sas-K

    QoS Policies Service ingress QoS policy ID 1 is reserved for the default service ingress policy. The default policy cannot be deleted or changed. The default service ingress policy is implicitly applied to all SAPs which do not explicitly have another service ingress policy assigned. In the default policy, all traffic is mapped to the default forwarding class which uses a meter by default.
  • Page 50: Figure 4: Traffic Queuing Model For Forwarding Classes

    QoS Overview Optional service ingress QoS policy elements for 7210 SAS-K include: • Additional unicast queues or multicast queues up to a total of 8. • QoS policy match criteria to map packets to a forwarding class. Each queue can have unique queue parameters to allow individual shaping of the flow mapped to the forwarding class.
  • Page 51: Service Ingress Classification

    QoS Policies Table 12: Default Service Ingress Policy ID 1 Definition for 7210 SAS-K Characteristic Item Definition Queue Queue 1 1 (one) queue all unicast traffic and multicast traffic: • Forward Class: best-effort (be) • CIR = 0 • PIR = max •...
  • Page 52: Service Ingress Classification - Ip And Mac Packet Fields

    QoS Overview • ip-criteria dscp-only and/or ipv6-criteria any or ipv6-criteria dscp-only • mac-criteria any and ip-criteria any or ip-criteria dscp-only and/or ipv6-criteria dscp-only • mac-criteria dot1p-only and ip-criteria any or ip-criteria dscp-only and/or ipv6-criteria dscp-only NOTE: When specifying both MAC and IP criteria in a single SAP ingress policy, only IPv6 DSCP match is allowed.
  • Page 53: Table 13: Service Ingress Qos Policy Ip Match Criteria For 7210 Sas-D And Sas-E

    QoS Policies Table 13: Service Ingress QoS Policy IP Match Criteria for 7210 SAS-D and SAS-E IP Criteria • IP DSCP and IP Precedence value (available for IP source and mask, IP destination access SAPs in VPLS and VLL services) and mask, IP protocol, TCP/UDP source port, TCP/UDP destination port, (available only for access...
  • Page 54: Service Ingress Classification On 7210 Sas-K - Ip And Mac Packet Fields

    QoS Overview Table 16: MAC Match Ethernet Frame Types Note: The default frame type configured is Ethernet - II Frame Format Description 802.3 IEEE 802.3 Ethernet frame. Only the source MAC, destination MAC and IEEE 802.1p value are compared for match criteria. 802dot2-llc IEEE 802.3 Ethernet frame with an 802.2 LLC header.
  • Page 55: Table 18: Service Ingress Qos Policy Ip Match Criteria For 7210 Sas-K

    QoS Policies Table 18: Service Ingress QoS Policy IP Match Criteria for 7210 SAS-K IP Criteria • IP DSCP (available for access SAPs in VPLS and IP DSCP, IP source and mask, IP VLL services) destination and mask, IP protocol, TCP/UDP source port, TCP/UDP destination port, fragment.
  • Page 56: Service Ingress Classification On 7210 Sas-K

    QoS Overview Note: The default frame type configured is Ethernet - II Frame Format Description 802dot2-snap IEEE 802.2 Ethernet frame with 802.2 SNAP header. Only the source MAC and destination MAC address are compared for match criteria. Ethernet-II Ethernet type II frame where the 802.3 length field is used as an Ethernet type (Etype) value.
  • Page 57 QoS Policies Step 4: Match the Dot1p value in the packet (if available) with the value configured in each of the Dot1p entry defined in the Dot1p classification policy. Assign the FC corresponding to the first entry which matches with Dot1p value in the packet. If there is no match, go to next step. Step 5: Assign the default FC.
  • Page 58: Hierarchical Ingress Policing

    QoS Overview Hierarchical Ingress Policing Note: Hierarchical Ingress Policing supported only on 7210 SAS-D devices. Hierarchical ingress policing allows the users to specify the amount of traffic admitted into the system per SAP. It also allows the user to share the available bandwidth per SAP among the different FCs of the SAP.
  • Page 59 QoS Policies The subrate capabilities and per-service scheduling control are required to make multiple services per physical port possible. Without egress shaping, it is impossible to support more than one service per port. There is no way to prevent service traffic from bursting to the available port bandwidth and starving other services.
  • Page 60: Access Egress Qos Policies On 7210 Sas-D And 7210 Sas-E

    QoS Overview Table 23: Default Service Egress Policy ID 1 Definition Characteristic Item Definition Queues Queue 1 1 (one) queue defined for all traffic classes: • CIR = 0 • PIR = max (line rate) • MBS = 60 • CBS = 10 •...
  • Page 61: Table 24: Default Access Egress Policy Id 1 Definition

    QoS Policies the forwarding class of the packet. If the packet was received over a service transport tunnel on a access-uplink port, the forwarding class is marked in the outer tag of the QinQ encapsulation. Access egress QoS policy ID 1 is reserved as the default access ports which do not have another access egress policy explicitly assigned.
  • Page 62 QoS Overview Table 24: Default Access Egress Policy ID 1 Definition (Continued) Characteristic Item Definition • CBS = default (values derived for optimal buffer usage) Flows Default All FCs are mapped to corresponding Queues and Dot1p values are Action marked as follows: Page 62 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 63: Buffer Pools

    QoS Policies Table 24: Default Access Egress Policy ID 1 Definition (Continued) Characteristic Item Definition In-Profile Out-Profile Network-Control (nc) High-1(h1) Expedited (ef) High-2 (h2) Low-1 (l1) Assured (af) Low-2 (l2) Best-Effort (be) Buffer Pools Buffer pools are used to manage the packet buffer memory resources used to store packets and absorb bursts received on a queue.
  • Page 64: Ring And Non-Ring Buffer Pool On 7210 Sas-K

    QoS Overview • CBS buffer pool • Ingress non-ring MBS pool • Egress non-ring MBS pool • Ingress ring MBS pool • Egress ring MBS pool CBS buffer pool is used to allocate buffers towards committed burst size (CBS) configured per queue for all the SAPs and access-uplink port queues and some internal system queues.
  • Page 65 QoS Policies are terminated. The traffic in both these directions is typically admitted into the ring after being shaped and groomed. That is in the upstream direction (that is, in the direction of customer to service edge) the SLA is enforced at service ingress points (that is, typically access SAPs) and the traffic is shaped and groomed in the downstream direction (that is, in the direction of service edge to customer) by the service edge device or the access aggregation device.
  • Page 66: Configuration Guidelines For Cbs And Mbs

    QoS Overview • Traffic received on access-uplink SAP and sent out of another access SAP uses ring MBS buffer pool for MBS buffers on access-uplink SAP ingress and the non-ring MBS buffer pool for MBS buffers on access SAP egress. In this case, ring high-slope and ring low- slope is used on access-uplink ingress and non-ring high-slope and non-ring low-slope is used on access egress.
  • Page 67: Red Slopes

    QoS Policies RED Slopes Operation and Configuration for 7210 SAS-E NOTE: 7210 SAS-E supports SRED mechanisms and not WRED. SRED uses the average queue lengths, queue thresholds provisioned, and drop probablility to calculate the packet’s eligibility to be enqueued. The committed portion of the buffer pool is exclusively used by a queue to enqueue traffic within committed rate.
  • Page 68: Simplified Overview Of Red For 7210 Sas-D

    QoS Overview Simplified overview of RED for 7210 SAS-D The following is a simplified overview of how a RED slope determines shared buffer availability on a packet basis: 1. The RED function keeps track of shared buffer utilization and shared buffer average utiliza- tion.
  • Page 69: Figure 5: Red Slope Characteristics

    QoS Policies Figure 5: RED Slope Characteristics A RED slope itself is a graph with an X (horizontal) and Y (vertical) axis. The X-axis plots the percentage of shared buffer average utilization, going from 0 to 100 percent. The Y-axis plots the probability of packet discard marked as 0 to 1.
  • Page 70: Tuning The Shared Buffer Utilization Calculation

    QoS Overview Tuning the Shared Buffer Utilization Calculation NOTE: This is not supported on 7210 SAS-E and 7210 SAS-K. The 7210 SAS-D allows tuning the calculation of the Shared Buffer Average Utilization (SBAU) after assigning buffers for a packet entering a queue as used by the RED slopes to calculate a packet’s drop probability.
  • Page 71 QoS Policies Equates Shared Buffer Shared Buffer Average Instantaneous Utilization Portion Utilization Portion 1/8 (0.125) 7/8 (0.875) 1/16 (0.0625) 15/16 (0.9375) 1/32 (0.03125) 31/32 (0.96875) 1/64 (0.015625) 63/64 (0.984375) 1/128 (0.0078125) 127/128 (0.9921875) 1/256 (0.00390625) 255/256 (0.99609375) 1/512 (0.001953125) 511/512 (0.998046875) 1024 1/1024 (0.0009765625) 1023/2024...
  • Page 72: Slope Policy Parameters For 7210 Sas-E Devices

    QoS Overview Slope Policy Parameters for 7210 SAS-E devices The elements required to define a slope policy are: • A unique policy ID. • The high and low RED slope shapes for the buffer pool: start-threshold, drop-rate per egress queue settings for the high-priority and low-priority RED slopes. •...
  • Page 73: Slope Policy Parameters For 7210 Sas-D

    QoS Policies Parameter Description Setting Low (RED) slope Administrative state Shutdown start-avg 50% utilization max-avg 75% utilization max-prob 80% probability Time average factor Table 27 lists the mapping from drop-rate scalar value to percent value. Table 27: Drop Rate Value to Percent Mapping Values Drop Rate % Drop Rate 100% cliff drop.
  • Page 74: Slope Policy Parameters For 7210 Sas-K

    QoS Overview Each access egress buffer pool and network egress pool can be associated with one only slope policy ID. Slope policy ID default is reserved for the default slope policy. The default policy cannot be deleted or changed. The default slope policy is implicitly applied to all access and network buffer pools which do not have another slope policy explicitly assigned.
  • Page 75: Table 29: Default Slope Policy Definition For 7210 Sas-K

    QoS Policies Table 29: Default slope policy definition for 7210 SAS-K Parameter Description high-slope start-avg 70 max-avg 90 max-prob 80 low-slope start-avg 50 max-avg 75 max-prob 80 high-slope-ring start-avg 70 max-avg 90 max-prob 80 low-slope-ring start-avg 50 max-avg 75 max-prob 80 7210 SAS D, E, K OS Quality of Service Guide Page 75...
  • Page 76: Schedulers

    Schedulers Schedulers Port Scheduler Policies on 7210 SAS-D, E Port scheduler policies control the traffic behavior on a per-port basis. Associated with each egress port is a set of eight class of service (CoS) queues and a default port-scheduler-policy named “default”.
  • Page 77 QoS Policies Table 30: Minimum and Maximum Bandwidth Meters Example Meters Minimum Maximum 50 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps Displayed in Table 30, CoS queues 7 and 6 each have a minimum bandwidth specification of 10 Mbps, whereas the remaining QoS queues have a minimum bandwidth specification of 50 Mbps.
  • Page 78: Scheduler On 7210 Sas-K

    Schedulers particular queue be considered to be a part of a hybrid Strict + WDRR configuration. If a weight value of 1 is given for queue 1 and 5 is given for queue 2, then we will see traffic out of the port in the ratio of 1:5 between the queues (1 and 2), provided no traffic is flowing in the other queues.
  • Page 79: Cpu Queues

    QoS Policies CPU Queues CPU Queues on 7210 SAS-D, SAS-E The packets that are destined to the CPU are prioritized based on the application. Some of the applications that are prioritized are Layer 2 data packets (a copy of which is sent to CPU for MAC learning), EFM, CFM, STP, LACP, ICMP, etc.
  • Page 80: Forwarding-Class To Queue Id Mapping

    CPU Queues along its path to a destination egress point. 7210 SAS devices support eight (8) forwarding classes (Table 31). Table 31: Forwarding Classes FC-ID FC Name DiffServ Notes Designa- Name tion Network Intended for network control traffic. Control High-1 Intended for a second network control class or delay/jitter sensitive traffic.
  • Page 81: Fc To Queue Id Mapping For 7210 Sas-K

    QoS Policies the access and access uplink ports. Queue parameters for these 8 queues can be configured as part of the access egress QoS policy which is applied on the access ports and network queue policy which is applied on the access uplink ports. The queue ID 1 to 8 are assigned to each of the 8 queues.
  • Page 82: Configuration Notes

    CPU Queues QoS policies can be applied to the following service types: • Epipe and VPLS → On 7210 SAS-D and 7210 SAS-E, SAP ingress policies are supported on an Epipe service access point (SAP) and VPLS SAP. → On 7210 SAS-K, SAP ingress policies and SAP egress policies are supported on an Epipe service access point (SAP) and VPLS SAP.
  • Page 83 Discard Eligibility Indicator (DEI) based Classification and Marking In This Section This section provides information about the Discard Eligibility Indicator (DEI) feature that describes the requirements for DEI based classification and marking for 7210 platforms. NOTE: DEI classification and marking is applicable only to 7210 SAS-D and 7210 SAS-K.
  • Page 84: Dei Based Classification On 7210 Sas-D

    DEI based Classification on 7210 SAS-D DEI based Classification on 7210 SAS-D DEI based classification is supported on Access ports, Access-uplink ports, Network ports and Hybrid ports as applicable on 7210 SAS platforms. DEI bit in the received packet is used to determine the ingress profile for the packet.
  • Page 85: Dei Based Marking On 7210 Sas-D

    Discard Eligibility Indicator (DEI) based Classification DEI based marking on 7210 SAS-D DEI based marking is supported on access ports, access-uplink ports and network ports. DEI bit can be used to mark the packet to carry the profile, assigned by an operator’s trusted node at the ingress to the carrier’s network, to the subsequent nodes in the network.
  • Page 86: Configuration Guidelines For 7210 Sas-D

    Configuration Guidelines for 7210 SAS-D Configuration Guidelines for 7210 SAS-D The following are configuration Guidelines for DEI based classification and marking: • While disabling DEI based classification on a port, all the meters used by the SAPs configured on this port must be in color blind mode. The converse is also true, that is, while attaching a sap-ingress qos policy with meter as color aware to a SAP, the DEI based classification must have been enabled on the port on which SAP exists.
  • Page 87: Dei Based Classification On 7210 Sas-K

    Discard Eligibility Indicator (DEI) based Classification DEI based Classification on 7210 SAS-K DEI based classification is supported on SAP ingress and access-uplink port ingress. DEI bit in the received packet can be used to assign the ingress profile for the packet. If in the received packet, DEI = 0, then the packet is considered to be GREEN or in-profile and if DEI = 1, then the packet is considered to be YELLOW or out-of-profile.
  • Page 88: Dei Based Marking On 7210 Sas-K

    DEI based marking on 7210 SAS-K DEI based marking on 7210 SAS-K DEI based marking is supported on SAP egress and access-uplink port egress. DEI bit can be used to mark the packet to carry the profile, assigned by an operator’s trusted node at the ingress to the carrier’s network, to the subsequent nodes in the network.
  • Page 89: Port Level Egress Rate-Limiting

    Port Level Egress Rate-Limiting In This Section This section provides information to configure port level egress-rate using the command line interface. Topics in this section include: • Overview on page 96 • Basic Configurations on page 98 • Configuration Commands on page 102 7210 SAS D, E, K OS Quality of Service Guide Page 95...
  • Page 90: Overview

    Overview Overview Egress port rate limiting allows the device to limit the traffic that egresses through a port to a value less than the available link bandwidth. This feature is supported on the 7210 SAS-Series platforms. Applications This feature is useful when connecting the 7210 SAS to an Ethernet-over-SDH (EoSDH) (or microwave) network, where the network allocates predetermined bandwidth to the nodes connecting into it, based on the transport bandwidth requirement.
  • Page 91: Effect Of Port Level Rate-Limiting On Access Uplink Queue Functionality

    Port Level Egress Rate-Limiting Effect of Port Level Rate-Limiting on Access Uplink Queue Functionality • When an egress-rate sub-rate value is given, the access-uplink queue rates that are specified using percentages will use the egress-rate value instead of the port bandwidth if egress rate is lesser than port bandwidth to configure the appropriate queue rates.
  • Page 92: Basic Configurations

    Basic Configurations Basic Configurations To apply port level rate-limiting, perform the following: • The egress-rate command is present in the *A:Dut-1>config>port>ethernet context. • The egress-rate configures the maximum rate (in kbps) for the port. The value should be between 1 and 1000000 kbps and between 1 and 10000000 kbps for 10G port. •...
  • Page 93: Modifying Port Level Egress-Rate Command

    Port Level Egress Rate-Limiting Modifying Port Level Egress-Rate Command To modify egress-rate parameters you can simply apply a egress-rate command with new egress- rate and max-burst value. The following displays the egress-rate configuration for a port for 7210 SAS-D, E: *A:Dut-1>config>port# ethernet egress-rate 10000 max-burst default *A:Dut-1>config>port# info ----------------------------------------------...
  • Page 94: Removing Port Level Egress-Rate Command

    Basic Configurations Removing Port Level Egress-Rate Command To remove egress-rate command from a port, use the no option with the egress-rate command. The rate for the egress-rate option and max-burst should not be used in this case. CLI Syntax: config>port>ethernet# no egress-rate The following displays the removal of egress-rate configuration from a port: *A:Dut-1>config>port# no ethernet egress-rate *A:Dut-1>config>port# info...
  • Page 95: Port Level Egress-Rate Command Reference

    Port Level Egress-Rate Command Reference Command Hierarchies Configuration Commands for 7210 SAS-D and 7210 SAS-E config — port — ethernet — egress-rate sub-rate [max-burst size-in-kbits] — no egress-rate Configuration Commands for 7210 SAS-K devices config — port — ethernet — egress-rate sub-rate —...
  • Page 96 Port Level Egress-Rate Command Reference Configuration Commands egress-rate Syntax egress-rate <sub-rate> [max-burst <size-in-kbits>] no egress-rate Context config>port>ethernet Description This command configures maximum rate and corresponding burst value for a port. The egress-rate is configured as kbps while max-burst is configured as kilo-bits while max-burst should be between 64 and 16384 or default.
  • Page 97 7210 SAS D, E, K OS Quality of Service Guide Page 103...
  • Page 98 Port Level Egress-Rate Command Reference Show Commands port Syntax port [port-id] Context show Description This command displays Egress-Rate and Max-Burst value set for port along with other details of the port. Parameters Displays information about the specific port ID. port-id — Sample Output *A:dut-1>config>qos>network-queue# show port 1/1/1 ===============================================================================...
  • Page 99 Connector Code : LC Vendor OUI : 00:0a:1d Manufacture date : 2008/08/10 Media : Ethernet Serial Number : OPCPCH08052638 Part Number : TRPAG1SXLAES-TM Optical Compliance : GIGE-SX Link Length support: 550m for 50u MMF; 280m for 62.5u MMF; =============================================================================== Traffic Statistics =============================================================================== Input Output...
  • Page 100 Port Level Egress-Rate Command Reference Page 106 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 101: Frame Based Accounting

    Frame Based Accounting In This Section This section provides information to configure frame-based accounting using the command line interface. Topics in this section include: • Overview on page 106 • Basic Configurations on 7210 SAS-E and 7210 SAS-D on page 108 •...
  • Page 102: Overview

    Overview Overview This feature when enabled let QoS policies to account for the Ethernet frame overhead (for example, it accounts for the IFG (inter-frame gap) and the preamble). Typically, the IFG and preamble constitutes about 12 + 8 = 20 bytes. The overhead for Ethernet ports uses this value. Frame Based Accounting on 7210 SAS-E and 7210 SAS-D On 7210 SAS-D and 7210 SAS-E, a configurable CLI command enables accounting of the frame overhead at ingress or egress.
  • Page 103: Frame Based Accounting And Accounting And Statistics On 7210 Sas-E And 7210 Sas-D

    Frame Based Accounting Frame Based Accounting and Accounting and Statistics on 7210 SAS-E and 7210 SAS-D Accounting records and statistics do not account for frame overhead. Frame Based Accounting on 7210 SAS-K On 7210 SAS-K, a configurable CLI command enables accounting of the frame overhead per port. This command affects the behavior of the ingress queue and egress queue rate of all the SAPs configured on the port.
  • Page 104: Basic Configurations On 7210 Sas-E And 7210 Sas-D

    Basic Configurations on 7210 SAS-E and 7210 SAS-D Basic Configurations on 7210 SAS-E and 7210 SAS-D To enable frame-based accounting, you must perform the following: • The frame-based-accounting command is in the *A:Dut-1> config>qos>frame-based- accounting context. • The ingress-enable command enables frame-based-accounting for ingress metering. •...
  • Page 105: Enabling And Disabling Frame-Based Accounting On 7210 Sas-E And 7210 Sas-D

    Frame Based Accounting Enabling and Disabling Frame-Based Accounting on 7210 SAS-E and 7210 SAS-D To enable frame-based-accounting for ingress, you can simply use the ingress-enable command and to enable frame-based-accounting on egress use the egress-enable command. To disable frame-based-accounting for ingress, execute the no ingress-enable command and to disable frame-based-accounting on egress, execute the no egress-enable command.
  • Page 106 Basic Configurations on 7210 SAS-E and 7210 SAS-D Page 110 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 107: Frame Based Accounting Command Reference

    Frame Based Accounting Command Reference Command Hierarchies Configuration Commands config — qos — frame-based-accounting — [no] egress-enable — [no] ingress-enable 7210 SAS D, E, K OS Quality of Service Guide Page 109...
  • Page 108: Configuration Commands

    Configuration Commands Configuration Commands egress-enable Syntax [no] egress-enable Context config>qos>frame-based-accounting Description This command enables the frame-based-accounting for access-egress, network-queue, port scheduler, SAP or Network Aggregate Rate and port-level egress-rate. The no form of the command disables frame-based-accounting for all egress QoS. Default disabled ingress-enable...
  • Page 109: Show Commands

    Show Commands sap-ingress Syntax sap-ingress [policy-id] [association|match-criteria|detail] Context show>qos Description This command displays accounting status of a sap-ingress policy along with other details of the policy. When frame-based-accounting is enabled accounting is shown as frame-based otherwise packet-based. Parameters policy-id — Displays information about the specific policy ID. associations —...
  • Page 110 Show Commands network Syntax network [policy-id] [detail] Context show>qos Description This command displays the accounting status of a network qos policy along with other details of the policy. When frame-based-accounting is enabled accounting is shown as frame-based otherwise packet-based. Parameters policy-id —...
  • Page 111 Port-id : 1/1/21 Port-id : 1/1/22 Port-id : 1/1/23 Port-id : 1/1/24 =============================================================================== *A:Dut-1# access-egress Syntax access-egress [policy-id] [association|detail] Context show>qos Description This command displays accounting status of an access-egress policy along with other details of the policy. When frame-based-accounting is enabled accounting is shown as frame-based otherwise packet-based.
  • Page 112 Show Commands detail — Displays the detailed policy information. Sample Output *A:Dut-1# show qos network-queue default =============================================================================== QoS Network Queue Policy =============================================================================== ------------------------------------------------------------------------------- Network Queue Policy (default) ------------------------------------------------------------------------------- Policy : default Accounting : frame-based Description : Default network queue QoS policy. ------------------------------------------------------------------------------- Associations -------------------------------------------------------------------------------...
  • Page 113 Parameters port scheduler policy. port-scheduler-policy-name — Displays information about the specific Displays the associations of the port scheduler policy. association — Sample Output *A:Dut-1# show qos port-scheduler-policy default =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : default Description : Default Port Scheduler policy. Accounting : frame-based Mode...
  • Page 114 Show Commands Page 116 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 115: Network Qos Policies

    Network QoS Policies In This Section This section provides information to configure network QoS policies using the command line interface. Topics in this section include: • Overview on page 118 • Basic Configurations on page 128 • Default Network Policy Values available in Network mode on page 137 •...
  • Page 116: Overview

    Overview Overview Network QoS policy has an ingress and egress component, which define the QoS processing behavior to be provided for packets that ingress the access-uplink port and egress the access- uplink port respectively. The ingress component of the policy defines how the Dot1p bits are mapped to internal forwarding class and profile state for 7210 SAS-D and 7210 SAS-E devices.
  • Page 117 Network QoS Policies • For packets sent out of a access-uplink port, the network QoS policy defines the marking values (for example: IEEE 802.1p bits, etc.) to use based on the forwarding class and the profile state • The default map of FC to marking values (for example: 802.1p bits) is as shown in default network qos policy, policy id 1.
  • Page 118: Normal Qos Operation

    Overview Normal QoS Operation The following types of QoS mapping decisions are applicable on an access-uplink port. • Ethernet Dot1P value mapping (if defined) • Default QoS mapping The default QoS mapping always exists on an access uplink port and every received packet will be mapped to this default if another explicitly defined matching entry does not exist.
  • Page 119: Dscp Marking Cpu Generated Traffic

    Network QoS Policies DSCP Marking CPU Generated Traffic DSCP marking for CPU generated traffic is not configurable by the user. The default values are given in Table Note: DSCP and Dot1P values in the table are applicable when remarking is disabled at port level. Table 32: DSCP and Dot1p Marking DSCP Dot1P...
  • Page 120 Overview Table 32: DSCP and Dot1p Marking (Continued) DSCP Dot1P Default DSCP DOT1P Protocol IPv4 Marking Marking Values Values IGMP Page 122 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 121: Default Dscp Mapping Table

    Network QoS Policies Default DSCP Mapping Table DSCP Name DSCP Value DSCP Value DSCP Value Label Decimal Hexadecimal Binary ============================================================= Default 0x00 0b000000 0x30 0b110000 0x38 0b111000 0x2e 0b101110 af11 0x0a 0b001010 assured af12 0x0c 0b001100 assured af13 0x0e 0b001110 assured af21 0x12...
  • Page 122: Basic Configurations

    Basic Configurations Basic Configurations A basic network QoS policy must conform to the following: • Each network QoS policy must have a unique policy ID. • Specify the default-action. • Have a QoS policy scope of template or exclusive. • Based on the 7210 SAS platform being used, have at least one default unicast forwarding class meter/queue.
  • Page 123 Network QoS Policies → Default action — Defines the default action to be taken for packets that have an undefined Dot1p bits set. The default-action specifies the forwarding class to which such packets are assigned. → Dot1p - On 7210 SAS-E and 7210 SAS-D, this specifies the Dot1p to forwarding class mapping for all packets.
  • Page 124: Configuring Network Policy (Type - Port) For Access-Uplink Mode

    Basic Configurations dscp-classification <dscp-classification id> queue <queue id> create fc <fc-name> create queue <queue-id> multicast-queue <queue-id> [no] use-dei The following commands associated a network QoS policy with the access-uplink port. CLI Syntax: config>port ethernet access uplink qos network-policy-id CLI Syntax: config>router interface interface-name qos network-policy-id...
  • Page 125: Configuration Of Dscp And Dot1P Classification Policies On 7210 Sas-K

    Network QoS Policies Match the IP DSCP value in the packet with the value configured in each of the IP DSCP Step 1: entry defined in the DSCP classification policy. Assign the FC corresponding to the first entry which matches with IP DSCP value in the packet. If it is not an IP packet skip this step (in other words for non-IP packets, perform Step #2 directly).
  • Page 126: Default Network Policy Values

    Basic Configurations Default Network Policy Values The default network policy access uplink ports is identified as policy-id 1. Default policies cannot be modified or deleted. The following displays default network policy parameters: Table 33: Network Policy Defaults Field Default description Default network QoS policy.
  • Page 127: Table 35: Default Network Qos Policy Dot1P To Fc Mapping

    Network QoS Policies Table 33: Network Policy Defaults (Continued) Field Default dot1p-in-profile dot1p-out-profile fc l2: dot1p-in-profile dot1p-out-profile fc nc: dot1p-in-profile dot1p-out-profile Table 34: Default Network QoS Policy Dot1p to FC Mapping Dot1p Value 7210 FC Ingress Profile The following output displays the default configuration for 7210 SAS- E: *A:ALU-7210>config>qos>network# info detail ---------------------------------------------- description "Default network QoS policy."...
  • Page 128 Basic Configurations mbs default cbs default exit meter 9 multipoint create mode trtcm adaptation-rule pir closest cir closest rate 0 pir max mbs default cbs default exit dot1p 0 fc be profile out dot1p 1 fc l2 profile in dot1p 2 fc af profile out dot1p 3 fc af profile in dot1p 4 fc h2 profile in dot1p 5 fc ef profile in...
  • Page 129 Network QoS Policies *A:K-SASD>config>qos# show qos network 1 detail =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Egr Remark : False Forward Class : be Profile : Out Scope : Template Policy Type : port Accounting : packet-based Description : Default network QoS policy.
  • Page 130 Basic Configurations Out-of-Profile : be In-Profile : be - Dot1p Mapping Out-of-Profile : 0 In-Profile FC Value FC Name : l2 - DSCP Mapping Out-of-Profile : cs1 In-Profile : cs1 - Dot1p Mapping Out-of-Profile : 1 In-Profile FC Value FC Name : af - DSCP Mapping Out-of-Profile : af12...
  • Page 131 Network QoS Policies Port-id : 1/1/10 =============================================================================== The following output displays the default configuration for 7210 SAS-K: *A:SAH01-071>config>qos>network# info detail ---------------------------------------------- description "Description for Network Policy id # 17" scope template ingress default-action fc ef dot1p-classification 6335 dscp-classification 6335 queue 1 create rate cir 0 pir 100 adaptation-rule cir closest pir closest mbs 200...
  • Page 132 Basic Configurations priority 1 slope-policy "default" exit queue 6 create rate cir 0 pir 100 adaptation-rule cir closest pir closest mbs 200 cbs 50 weight 1 priority 1 slope-policy "default" exit queue 7 create rate cir 0 pir 100 adaptation-rule cir closest pir closest mbs 200 cbs 50 weight 1...
  • Page 133 Network QoS Policies exit fc "l2" create queue 6 multicast-queue 3 use-dei exit fc "nc" create queue 7 multicast-queue 2 no use-dei exit exit egress no remarking remark 100 exit ---------------------------------------------- *A:SAH01-051>config>qos>network# 7210 SAS D, E, K OS Quality of Service Guide Page 135...
  • Page 134: Service Management Tasks

    Service Management Tasks Service Management Tasks Deleting QoS Policies A network policy is associated by default with access uplink ports. You can replace the default policy with a non-default policy, but you cannot remove default policies from the configuration. When you remove a non-default policy, the policy association reverts to the appropriate default network policy.
  • Page 135: Remove A Policy From The Qos Configuration

    Network QoS Policies Remove a Policy from the QoS Configuration To delete a network policy, enter the following commands: CLI Syntax: config>qos# no network network-policy-id Copying and Overwriting Network Policies You can copy an existing network policy to a new policy ID value or overwrite an existing policy ID.
  • Page 136: Editing Qos Policies

    Service Management Tasks Editing QoS Policies You can change existing policies, except the default policies, and entries in the CLI. The changes are applied immediately to all access uplink ports where the policy is applied. To prevent configuration errors use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.
  • Page 137: Resource Allocation For Network Qos Policy On 7210 Sas-D And 7210 Sas-E

    Network QoS Policies Resource Allocation for Network QoS policy on 7210 SAS-D and 7210 SAS-E This section describes the allocation of QoS resources for network QoS policies. When the port mode is changed to access-uplink, a default network QoS policy is applied. For the default policy, two meters and eighteen classification entries in hardware are allocated.
  • Page 138: Resource Allocation For Network Qos Policy For 7210 Sas-K

    Service Management Tasks Given the number of match criteria and the number of FCs used, use the equation given below to arrive at total number of classification entries per policy (for example TC): TC= Σ 2 * E(i) i=nc,h1,ef,h2,l1,af,l2,be Where, E(i) is the number of match- criteria entries that classify packets to FCi.
  • Page 139: Network Qos Policies Resource Usage Examples For 7210 Sas-D And 7210 Sas-E

    Network QoS Policies Network QoS Policies Resource Usage Examples for 7210 SAS-D and 7210 SAS-E Example 1 network 1 create description “default QoS policy” ingress default-action fc be profile out meter 1 create exit meter 9 multipoint create exit exit egress fc af exit...
  • Page 140 Service Management Tasks meter 9 multipoint create exit meter 12 multipoint create exit fc "af" create meter 2 multicast-meter 12 exit dot1p 2 fc af profile out exit egress fc af exit fc be exit fc ef exit fc h1 exit fc h2 exit...
  • Page 141 Network QoS Policies meter 2 multicast-meter 12 exit dot1p 2 fc af profile out exit egress fc af exit fc be exit fc ef exit fc h1 exit fc h2 exit fc l1 exit fc l2 exit fc nc exit exit exit The number of classification entries (TC) used are calculated, as follows:...
  • Page 142 Service Management Tasks Example 4 network 4 create description “network-policy-4” ingress default-action fc be profile out meter 1 create exit meter 9 multipoint create exit dot1p 1 fc l2 profile in dot1p 2 fc af profile out dot1p 3 fc af profile in dot1p 4 fc h2 profile in dot1p 5 fc ef profile in dot1p 6 fc h1 profile in...
  • Page 143 Network QoS Policies exit meter 2 create exit meter 9 multipoint create exit meter 12 multipoint create exit fc "af" create exit fc "be" create exit fc "ef" create exit fc "h1" create exit fc "h2" create exit fc "l2" create exit fc "nc"...
  • Page 144 Service Management Tasks Example 6 network 6 create description “network-policy-6” ingress default-action fc be profile out meter 1 create exit meter 2 create exit meter 3 create exit meter 9 multipoint create exit meter 12 multipoint create exit fc "af" create meter 2 multicast-meter 12 exit...
  • Page 145 Network QoS Policies exit exit exit The number of classification entries (TC) used is calculated, as follows: (2 * 1)nc + (2 * 1)h1 + (2 * 1)ef + (2 * 1)h2 + (2 * 0)l1 + (2 * 2)af + (2 * 1)l2 + (2 * 1)be = 16 The number of meters (TP) used are: 5 ( Meters 1,2,3,9,12).
  • Page 146 Service Management Tasks Example 8 network 8 create description “network-policy-8” ingress default-action fc nc profile in meter 1 create exit meter 2 create exit meter 3 create exit meter 4 create exit meter 5 create exit meter 7 multipoint create exit meter 8 multipoint create exit...
  • Page 147: Network Qos Policy Command Reference

    Network QoS Policy Command Reference • Configuration Commands for 7210 SAS-D on page 147 • Configuration Commands for 7210 SAS-E on page 148 • Configuration Commands for 7210 SAS-K on page 148 • Operational Commands on page 150 • Show Commands on page 150 Configuration Commands for 7210 SAS-D config —...
  • Page 148 Network QoS Policy Command Reference — no — size [kbits|bytes|kbytes] — no — mode mode — no mode — rate cir-rate-in-kbps [pir pir-rate-in-kbps] — no rate — scope {exclusive | template} — no scope Configuration Commands for 7210 SAS-E config —...
  • Page 149 — description description-string — no description — scope {exclusive | template} — no scope — egress — no remark — remark policy-id — no remarking — remarking — ingress — default-action fc fc-name profile {in | out | use-dei} — dot1p-classification policy-id —...
  • Page 150 Network QoS Policy Command Reference Operational Commands config — qos — copy network src-pol dst-pol [overwrite] Show Commands show — qos — network policy-id [detail] — network [network-policy-id] association — network [network-policy-id] [detail] Page 150 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 151 Configuration Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>network policy-id Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 152 Generic Commands Operational Commands copy Syntax copy network src-pol dst-pol [overwrite] Context config>qos Description This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id. The copy command is used to create new policies using existing policies and also allows bulk modifications to an existing policy with the use of the overwrite keyword.
  • Page 153 Operational Commands remarking Syntax [no] remarking {use-dot1p|use-dscp|all} Context config>qos>network>egress Description Platforms Supported: 7210 SAS-D This command enables the system to remark egress packets sent out of access ports and access- uplink ports. For 7210 SAS-D, remarking can be enabled or disabled. On access port and access- uplink port egress, the behavior is as follows: •...
  • Page 154 Generic Commands The no form of the command removes the explicit association of the remark policy and associates the default remark policy. In other words, if remarking is enabled and no remark policy is executed, then the default remark policy is used to mark packets sent out. If no remark policy is executed and remarking is disabled, then packets are not remarked at all.
  • Page 155 Operational Commands The no form of this command sets the scope of the policy to the default of template. Default template Parameters exclusive — When the scope of a policy is defined as exclusive, the policy can only be applied to one interface.
  • Page 156 Network QoS Policy Commands Network QoS Policy Commands network Syntax [no] network network-policy-id [create] [no] network network-policy-id Context config>qos Description This command creates or edits a QoS network policy. The network policy defines the treatment packets receive as they ingress and egress the access uplink port and network IP interface in network mode of operation.
  • Page 157 Operational Commands The no form of this command deletes the network policy. A policy cannot be deleted until it is removed from all entities where it is applied. The default network policy policy-id 1 cannot be deleted. Default System Default Network Policy 1 Parameters network-policy-id —...
  • Page 158 Network QoS Policy Commands Page 158 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 159 Operational Commands Network Ingress QoS Policy Commands Syntax [no] fc fc-name [create] Context config>qos>network>ingress Description This command creates a class instance of the forwarding class. Once the fc-name is created, classification actions can be applied and it can be used in match classification criteria. The no form of the command removes all the explicit meter mappings for fc-name forwarding types.
  • Page 160 Network Ingress QoS Policy Commands default-action Syntax default-action fc fc-name [profile {in | out}] Context config>qos>network>ingress Description This command defines or edits the default action to be taken for packets that have an undefined Dot1p bits set. The default-action command specifies the forwarding class to which such packets are assigned.
  • Page 161 Operational Commands use-dei Syntax [no] use-dei Context config>qos>network>ingress>fc Description Platforms Supported: 7210 SAS-K. This command is used to enable DEI based classification. When enabled, the packet classified to this FC the DEI bit is used to determine the ingress profile for the packet. Packets received with DEI bit set to zero are treated as in-profile and packets with DEI bit set to one are treated as out-of- profile packets.
  • Page 162 Network Ingress QoS Policy Commands A maximum of eight dot1p rules are allowed on a single policy. Values 0 — 7 fc fc-name — The value given for the fc-name parameter must be one of the predefined forwarding classes in the system. Specifying the fc-name is optional. When a packet matches the rule, the forwarding class is only overridden when the fc fc-name parameter is defined on the rule.
  • Page 163 Operational Commands The meter must be created as multipoint. The multipoint designator cannot be defined after the meter is created. If an attempt is made to modify the command to include the multipoint keyword, an error is generated and the command will not execute. The multipoint keyword can be entered in the command line on a pre-existing multipoint meter to edit meter-id parameters.
  • Page 164 Network Ingress QoS Policy Commands Parameters meter-id — Specifies the multicast meter. The specified parameter must be an existing, multipoint meter defined in the config>qos>network>ingress context. Values 2— 12 adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>network>ingress>meter Description This command defines the method used by the system to derive the operational CIR and PIR settings when the meter is provisioned in hardware.
  • Page 165 Operational Commands Syntax cbs size-in-kbits no cbs Context config>qos>network>ingress>meter Description Platforms Supported: 7210 SAS-E. This command provides a mechanism to override the default reserved tokens for the meter. The committed burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR.
  • Page 166 Network Ingress QoS Policy Commands Syntax mbs size-in-kbits no mbs Context config>qos>network>ingress>meter Description Platforms Supported: 7210 SAS-E. This command provides the explicit definition of the maximum amount of tokens allowed for a specific meter. The value is given in kilobits and overrides the default value for the context. In case of trTCM, the maximum burst size parameter specifies the maximum burst size that can be transmitted by the source at the PIR while complying with the PIR.
  • Page 167 Operational Commands Syntax mbs size [kbits|bytes|kbytes] no mbs Context config>qos>network>ingress>meter Description Platforms Supported: 7210 SAS-D. This command provides a mechanism to override the default MBS for the meter. The maximum burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR.
  • Page 168 Network Ingress QoS Policy Commands srtcm — Meters a packet stream and marks its packets either green, yellow, or red. Marking is based on a CIR and two associated burst sizes, a CBS and an Maximum Burst Size (MBS). A packet is marked green if it doesn't exceed the CBS, yellow if it does exceed the CBS, but not the cir and red otherwise.
  • Page 169 Operational Commands 7210 SAS D, E, K OS Quality of Service Guide Page 169...
  • Page 170 Network Egress QoS Policy Commands Network Egress QoS Policy Commands egress Syntax egress Context config>qos>network policy-id Description This command is used to enter the CLI node that creates or edits egress policy entries that specify the forwarding class to marking values map to be instantiated when this policy is applied to the access-uplink port.
  • Page 171 Operational Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>network>queue Description This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
  • Page 172 Network Egress QoS Policy Commands Default 32Kbits Specifies the minimum depth of the queue in kilo bytes. Parameters size-in-kbytes — Values [0..10240] Syntax [no] mbs size-in-kbytes Context config>qos>network>queue Description Platforms Supported: 7210 SAS-K. This command specifies the MBS value (Maximum depth of the queue in kilo bytes). The no form of the command sets this to the default value.
  • Page 173 Operational Commands slope-policy Syntax [no] slope-policy name Context config>qos>network>queue Description The slope-policy command is used to override the default slope-policy configuration for the queue. The specified slope-policy-name must exist as a current slope policy name. If the slope policy does not exist, the slope-policy command will fail. If a slope policy is currently associated with a queue, the slope policy cannot be removed from the system.
  • Page 174 Network Egress QoS Policy Commands weight Syntax [no] weight weight Context config>qos>network>queue Description Platforms Supported: 7210 SAS-K. Allows users to specify the weight of the queue. The configured weight determines the proportion of available bandwidth that is given to this queue in comparison to other queues contending for bandwidth at the same priority level.
  • Page 175 Operational Commands The actual CIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned. Values 0 — 100 Default pir percent — Defines the percentage of the maximum rate allowed for the queue. When the rate command is executed, the PIR setting is optional.
  • Page 176 Network Egress QoS Policy Forwarding Class Commands Network Egress QoS Policy Forwarding Class Commands dot1p-in-profile Syntax dot1p-in-profile dot1p-priority no dot1p-in-profile Context config>qos>network>egress>fc fc-name Description Note: This command description is applicable only to 7210 SAS-E. The command will add the capability to mark on an egress the in and out of profile status through a certain dot1p combination (similar to DEI option).
  • Page 177 Operational Commands The command adds the capability to mark on an egress the in and out of profile status via a certain dot1p combination (similar to DEI option). It may be used when the internal in and out of profile status needs to be communicated to an adjacent network/customer device that does not support the DEI bit.
  • Page 178 Network Egress QoS Policy Forwarding Class Commands dscp-out-profile Syntax dscp-out-profile dscp-name no dscp-out-profile Context config>qos>network >egress>fc fc-name Description This command specifies the out-of-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.
  • Page 179: Table 36: Show Qos Network Output Fields

    Show Commands Show Commands network Syntax network [policy-id] [detail] Context show>qos Description This command displays network policy information. Parameters policy-id — Displays information for the specific policy ID. Default all network policies Values 1 — 65535 detail — Includes information about ingress and egress Dot1p bit mappings and network policy interface associations.
  • Page 180 Network Egress QoS Policy Forwarding Class Commands Table 36: Show QoS Network Output Fields (Continued) Label Description Specifies that the meters associated with Accounting Packet-based — this policy do not account for packet framing overheads (such as Ethernet the Inter Frame Gap (IFG) and the preamble), while accounting for the bandwidth to be used by this flow.
  • Page 181 Show Commands *A:SN12345678# show qos network 1 =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Remark : True Forward Class : be Profile : Out Attach Mode : l2 Config Mode : l2 Scope : Template Description : Default network QoS policy.
  • Page 182 Network Egress QoS Policy Forwarding Class Commands ------------------------------------------------------------------------------- Egress Forwarding Class Queuing ------------------------------------------------------------------------------- FC Value FC Name : be - Dot1p Mapping Out-of-Profile : 0 In-Profile FC Value FC Name : l2 - Dot1p Mapping Out-of-Profile : 1 In-Profile FC Value FC Name : af - Dot1p Mapping...
  • Page 183 Show Commands True False ------------------------------------------------------------------------------- *A:K-SASD>config>qos# show qos network 1 detail =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Egr Remark : False Forward Class : be Profile : Out Scope : Template Policy Type : port Accounting : packet-based Description...
  • Page 184 Network Egress QoS Policy Forwarding Class Commands FC Value FC Name : be - DSCP Mapping Out-of-Profile : be In-Profile : be - Dot1p Mapping Out-of-Profile : 0 In-Profile FC Value FC Name : l2 - DSCP Mapping Out-of-Profile : cs1 In-Profile : cs1 - Dot1p Mapping...
  • Page 185 Show Commands Port Attachments ------------------------------------------------------------------------------- Port-id : 1/1/10 =============================================================================== Sample output for 7210 SAS K: *A:7210SAS>show>qos# network 1 detail =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Egr Remark : False Forward Class : be Profile : None Scope : Template DOT1P Class Po*: 1...
  • Page 186 Network Egress QoS Policy Forwarding Class Commands Queue1 Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8 ------------------------------------------------------------------------------- High Slope Non Ring ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8...
  • Page 187 Show Commands Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Slope Policies ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId CBS(KBytes) MBS(KBytes) Slope-Policy ------------------------------------------------------------------------------- Queue1 default Queue2 default Queue3 default Queue4 default Queue5 default Queue6 default Queue7 default Queue8 default ------------------------------------------------------------------------------- Port Attachments ------------------------------------------------------------------------------- No Matching Entries ===============================================================================...
  • Page 188 Network Egress QoS Policy Forwarding Class Commands Label Description Policy-Id The ID that uniquely identifies the policy. Egr Remark A text string that helps identify the policy’s context in the con- Description figuration file. Specifies the forwarding class name. Forward Class/ FC Name Specifies the Dot1p marking for the packets which are Profile...
  • Page 189 Show Commands =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Egr Remark : False Forward Class : be Profile : None Scope : Template DOT1P Class Po*: 1 DSCP Class P*: 0 Description : Default network-port QoS policy. ------------------------------------------------------------------------------- Queue MCast Queue Use Dei...
  • Page 190 Network Egress QoS Policy Forwarding Class Commands Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Low Slope Non Ring ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5...
  • Page 191 Show Commands Queue5 default Queue6 default Queue7 default Queue8 default ------------------------------------------------------------------------------- Port Attachments ------------------------------------------------------------------------------- No Matching Entries =============================================================================== * indicates that the corresponding row element may have been truncated. *A:SAH01-051>show>qos# *A:SAH01-051>show>qos# network 1 association =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id...
  • Page 192 Network Egress QoS Policy Forwarding Class Commands Page 192 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 193: Network Queue Qos Policies

    Network Queue QoS Policies In This Section This section provides information to configure network queue QoS policies using the command line interface. Topics in this section include: • Overview on page 188 • Basic Configurations on page 189 • Default Network Queue Policy Values for Network ports on page 195 •...
  • Page 194: Overview

    Overview Overview Network Queue policies define the egress network queuing for the traffic egressing on the access uplink. Network queue policies are used at the Ethernet port and define the bandwidth distribution for the various FC traffic egressing on the Ethernet port. Following is the support available with this policy: •...
  • Page 195: Basic Configurations

    Network Queue QoS Policies Basic Configurations A basic network queue QoS policy must conform to the following: • Each network queue QoS policy must have a unique policy name. • Queue parameters can be modified, but cannot be deleted. Create a Network Queue QoS Policy Configuring and applying QoS policies other than the default policy is optional.
  • Page 196 Basic Configurations exit queue 4 rate cir 25 pir 100 adaptation-rule cir closest pir closest exit queue 5 rate cir 100 pir 100 adaptation-rule cir closest pir closest exit queue 6 rate cir 100 pir 100 adaptation-rule cir closest pir closest exit queue 7 rate cir 10 pir 100...
  • Page 197: Applying Network Queue Policies

    Network Queue QoS Policies Applying Network Queue Policies Apply network queue policies to the following entities: • Ethernet Ports Ethernet Ports Use the following CLI syntax to apply a network queue policy to an Ethernet port. CLI Syntax: config>port# ethernet access uplink queue-policy policy-name...
  • Page 198: Default Network Queue Policy Values

    Default Network Queue Policy Values Default Network Queue Policy Values The default network queue policies are identified as policy-id default The default policies cannot be modified or deleted. Table 39: Network Queue Policy Defaults Field Default description Default network queue QoS policy. queue 1 rate queue 2...
  • Page 199 Network Queue QoS Policies Table 39: Network Queue Policy Defaults (Continued) Field Default rate queue 7 rate queue 8 rate *A:Dut-C>config>qos>network-queue# info detail ---------------------------------------------- description "Default network queue QoS policy." queue 1 rate 0 pir 100 adaptation-rule cir closest pir closest exit queue 2 rate 25 pir 100...
  • Page 200 Default Network Queue Policy Values rate 100 pir 100 adaptation-rule cir closest pir closest exit queue 7 rate 10 pir 100 adaptation-rule cir closest pir closest exit queue 8 rate 10 pir 100 adaptation-rule cir closest pir closest exit ---------------------------------------------- *A:Dut-C>config>qos>network-queue# *7210SAS>config>qos>network-queue# info detail ----------------------------------------------...
  • Page 201 Network Queue QoS Policies queue-mgmt "default" exit queue 8 port-parent cir-level 1 pir-weight 1 rate cir 0 pir 100 adaptation-rule cir closest pir closest queue-mgmt "default" exit ---------------------------------------------- *7210SAS>config>qos>network-queue# The following displays default policy parameters for 7210 SAS-K: *A:dut-i>config>qos>network-queue# info detail ---------------------------------------------- description "Default network queue QoS policy."...
  • Page 202 Default Network Queue Policy Values priority 1 weight 1 exit queue 6 create rate cir 100 pir 100 adaptation-rule cir closest pir closest mbs 200 cbs 50 slope-policy "default" priority 1 weight 1 exit queue 7 create rate cir 10 pir 100 adaptation-rule cir closest pir closest mbs 200 cbs 50...
  • Page 203: Service Management Tasks

    Network Queue QoS Policies Service Management Tasks This section discusses the following service management tasks: • Deleting QoS Policies on page 207 • Copying and Overwriting QoS Policies on page 208 • Editing QoS Policies on page 210 Deleting QoS Policies A network queue policy is associated by default with all access uplink ports.
  • Page 204: Copying And Overwriting Qos Policies

    Service Management Tasks Copying and Overwriting QoS Policies You can copy an existing network queue policy, rename it with a new policy ID name, or overwrite an existing network queue policy. The option must be specified or an error occurs if overwrite the destination policy ID exists.
  • Page 205 Network Queue QoS Policies queue 6 rate cir 0 pir 4 exit queue 7 rate cir 3 pir 93 exit queue 8 rate cir 0 pir 3 exit exit ---------------------------------------------- *A:card-1>config>qos# info 7210 SAS D, E, K OS Quality of Service Guide Page 199...
  • Page 206: Editing Qos Policies

    Service Management Tasks Editing QoS Policies You can change existing policies, except the default policies, and entries in the CLI. The changes are applied immediately to all ports where the policy is applied. To prevent configuration errors use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.
  • Page 207: Network Queue Qos Policy Command Reference

    Network Queue QoS Policy Command Reference Command Hierarchies • Configuration Commands for 7210 SAS-D, E on page 205 • Configuration Commands for 7210 SAS-K on page 205 • Operational Commands on page 207 • Show Commands on page 207 Configuration Commands for 7210 SAS-D, E config —...
  • Page 208 Network Queue QoS Policy Command Reference — no slope-policy — slope-policy name — no weight — weight weight Page 206 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 209 Operational Commands config — qos — copy network-queue src-name dst-name [overwrite] Show Commands show — qos — network-queue [network-queue-policy-name] [detail] 7210 SAS D, E, K OS Quality of Service Guide Page 207...
  • Page 210 Network Queue QoS Policy Command Reference Page 208 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 211 Configuration Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>network-queue Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 212 Generic Commands Operational Commands copy Syntax copy network-queue src-name dst-name [overwrite] Context config>qos Description This command copies or overwrites existing network queue QoS policies to another network queue policy ID. The copy command is a configuration level maintenance tool used to create new policies using existing policies.
  • Page 213 Operational Commands Network Queue QoS Policy Commands network-queue Syntax [no] network-queue policy-name [create] Context config>qos Description This command creates a context to configure a network queue policy. Network queue policies on the Ethernet port define network egress queuing. default Default Parameters policy-name —...
  • Page 214 Network Queue QoS Policy Commands Network Queue QoS Policy Queue Commands queue Syntax queue queue-id Context config>qos>network-queue Description Platforms Supported: 7210 SAS-D and 7210 SAS-E. This command enables the context to configure a QoS network-queue policy queue. On 7210 SAS-D and 7210 SAS-E, the FCs are mapped to these queues as per Table 32, Forwarding Class to Queue-ID Map, on page 87.
  • Page 215 Operational Commands Parameters queue-id — The queue-id for the queue, expressed as an integer. The queue-id uniquely identifies the queue within the policy. This is a required parameter each time the queue command is executed. Values 1 — 8 adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule...
  • Page 216 Network Queue QoS Policy Commands Syntax [no] cbs size-in-kbytes Context config>qos>network-queue>queue Description Platforms Supported: 7210 SAS-K. This command specifies the CBS value (Minimum depth of the queue in kilo bytes). The no form of the command sets it to the default value. Default 32Kbits Parameters...
  • Page 217 Operational Commands Defines the queue priority. The queue priority is used by the scheduler to determine the order of service in both the within-cir loop and within-pir loop. Higher priority queues are serviced before lower priority queues. The no form of the command sets it to the default value. Default Parameters Specifies the priority of the queue.
  • Page 218 Network Queue QoS Policy Commands rate Syntax rate [cir cir-percent] [pir pir-percent] no rate Context config>qos>network-queue>queue Description This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the port.
  • Page 219 Operational Commands The no form of the command sets the weight to default of one. Specifies the weight of the queue. Parameters weight — Values [1...15] 7210 SAS D, E, K OS Quality of Service Guide Page 215...
  • Page 220 Network Queue QoS Policy Commands Show Commands network-queue Syntax network-queue [network-queue-policy-name] [detail] Description This command displays network queue policy information. Context show>qos Parameters network-queue-policy-name — The name of the network queue policy. Values Valid names consist of any string up to 32 characters long composed of printable, 7-bit ASCII characters.
  • Page 221 Show Commands ------------------------------------------------------------------------------- Policy : nq1 Accounting : packet-based ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Port-id : 1/1/20 =============================================================================== *A:card-1# *A:card-1>config>qos# show qos network-queue nq1-cbs detail =============================================================================== QoS Network Queue Policy ------------------------------------------------------------------------------- Network Queue Policy (nq1-cbs) ------------------------------------------------------------------------------- Policy : nq1-cbs Accounting : packet-based ------------------------------------------------------------------------------- Queue CIR CIR Rule...
  • Page 222 Network Queue QoS Policy Commands Sample for 7210 SAS-K: *A:SAH01-051>show>qos# network-queue "default" detail =============================================================================== QoS Network Queue Policy =============================================================================== ------------------------------------------------------------------------------- Network Queue Policy (default) ------------------------------------------------------------------------------- Policy : default Description : Default network queue QoS policy. Wrr Policy Pkt.Byte Offset: 0 ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- FC To Queue Mappings...
  • Page 223 Show Commands ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Low Slope Non Ring ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down...
  • Page 224 Network Queue QoS Policy Commands ------------------------------------------------------------------------------- Queue1 default Queue2 default Queue3 default Queue4 default Queue5 default Queue6 default Queue7 default Queue8 default Network-Port Associations ------------------------------------------------------------------------------- No Matching Entries =============================================================================== *A:SAH01-051>show>qos# Page 220 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 225: Service Ingress Qos Policies

    Service Ingress QoS Policies In This Section This section provides information to configure SAP ingress QoS policies using the command line interface. Topics in this section include: • Overview of service ingress policy on 7210 SAS-D and 7210 SAS-E on page 220 •...
  • Page 226: Overview Of Service Ingress Policy On 7210 Sas-D And 7210 Sas-E

    Overview of service ingress policy on 7210 SAS-D and 7210 SAS-E Overview of service ingress policy on 7210 SAS-D and 7210 SAS-E There is one default service ingress policy. The default policy has two classification resources and one meter (the num-qos-classifiers set to value "2"). Queuing is not supported. Each policy can have up to 32 ingress meters.
  • Page 227: Overview Of Service Ingress Policy On 7210 Sas-K

    Service Ingress QoS Policies Overview of service ingress policy on 7210 SAS-K There is one default service ingress policy. The default policy allocates a single queue and maps all traffic to the 'be' (best-effort) forwarding class. The default policies can be copied and modified but they cannot be deleted.
  • Page 228 Overview of service ingress policy on 7210 SAS-K • Allow configuration of WRED slopes (per queue) – high-slope and low-slope. Depending on the queue mode and the profile assigned to the packet on SAP ingress classification, one of the configured WRED slopes is used to evaluate if a buffer can be allocated to the packet.
  • Page 229: Default Sap Ingress Policy On 7210 Sas-D And 7210 Sas-E

    Service Ingress QoS Policies Default SAP Ingress Policy on 7210 SAS-D and 7210 SAS-E The default policy 1, maps all traffic to default forwarding class 'be' and maps FC 'be' to meter 1. Meter 1 is configured with cir 0 and pir max *A:7210-SAS>config>qos>sap-ingress# info detail ---------------------------------------------- description "Default SAP ingress QoS policy."...
  • Page 230: Default Sap Ingress Policy For 7210 Sas-K

    Overview of service ingress policy on 7210 SAS-K Default SAP Ingress Policy for 7210 SAS-K The default policy 1, maps all traffic to default forwarding class 'be' and maps FC 'be' to queue 1. Queue 1 is configured with cir 0 and pir max. A:SAH01-071>config>qos>sap-ingress# info detail ---------------------------------------------- policy-name "default"...
  • Page 231 Service Ingress QoS Policies no use-dei exit default-fc "be" no dot1p-classification no dscp-classification 7210 SAS D, E, K OS Quality of Service Guide Page 225...
  • Page 232: Sap Ingress Policy Defaults For 7210 Sas-D, E

    Overview of service ingress policy on 7210 SAS-K SAP Ingress Policy Defaults for 7210 SAS-D, E Table 40: SAP Ingress Policy Defaults Field Default description “Default SAP ingress QoS policy.” scope template num-qos-classifiers meter mode trtcm1 adaptation-rule cir closest pir closest rate pir = max, cir= 0 32kb...
  • Page 233: Sap Ingress Policy Defaults For 7210 Sas-K

    Service Ingress QoS Policies SAP Ingress Policy Defaults for 7210 SAS-K Table 41: SAP Ingress Policy Defaults Field Default description “Default SAP ingress QoS policy.” scope template queue adaptation-rule cir closest pir closest rate pir = max, cir= 0 10KB 60KB priority weight...
  • Page 234 Overview of service ingress policy on 7210 SAS-K for 7210 SAS-D and E Use of the keyword “multipoint” for default meter “11” The system allows sharing of a single meter for both unicast and multipoint traffic. The user can configure any of the available meters for multipoint traffic. The use of 'multipoint’ keyword during meter creation is deprecated, except for use with meter “11”...
  • Page 235 Service Ingress QoS Policies After the change the policy is as displayed in the example below: *7210-SAS>config>qos# sap-ingress 12 *7210-SAS>config>qos>sap-ingress$ info ---------------------------------------------- num-qos-classifiers 4 meter 1 create exit meter 11 multipoint create ---------------------------------------------- *7210-SAS>config>qos>sap-ingress$ Delete the multipoint meter "11" to remove all the FCs associated with the multicast-meter (assuming all the FCs are using the default multicast meter and do not have any other multicast meter explicitly configured).
  • Page 236: Service Ingress Meter Selection Rules For 7210 Sas-D And E

    Overview of service ingress policy on 7210 SAS-K fc be meter 3 unknown-meter 3 exit exit ---------------------------------------------- On execution of the command "configure qos sap-ingress <id> meter 11 multipoint create", FC "be" unknown-unicast traffic type will continue to use meter 3 and broadcast and multicast traffic type will use meter “11”.
  • Page 237 Service Ingress QoS Policies • If a FC is created with an explicit unicast meter and explicit broadcast meter, use these meters for unicast and broadcast traffic respectively and use the unicast meter for all other traffic types. • If a FC is created with an explicit unicast meter and explicit multicast meter, use the unicast meter for unicast traffic and multicast meter for all other traffic types.
  • Page 238 Overview of service ingress policy on 7210 SAS-K • If a FC is created without explicit meters, the default meter “1” is used for unicast traffic and multicast traffic. • If a FC is created with an explicit unicast meter, that meter is used for unicast traffic and for multicast traffic.
  • Page 239: Service Ingress Qos Policy Configuration Considerations For 7210 Sas-D, E

    Service Ingress QoS Policies Service Ingress QoS Policy Configuration Considerations for 7210 SAS-D, E The num-qos-classifiers parameter cannot be modified when the policy is in use (for example, when it is associated with a SAP). Other parameters in the SAP ingress policy can be changed. When changing other parameters (for example, fc meter map or fc classification match criteria entries) for a policy which is in use, the system recomputes the resources required due to accomodate the change.
  • Page 240: Resource Allocation For Service Ingress Qos Policy Classification Rules For 7210 Sas-D And E

    Overview of service ingress policy on 7210 SAS-K user must remove the association and then change the SAP ingress policy to use the new match criteria. Please see the section on "Resource Allocation for Service Ingress QoS policy classification rules for 7210 SAS-D and E on page 241"...
  • Page 241 Service Ingress QoS Policies For example: Assume a SAP Ingress QoS policy is configured to use mac-criteria with 25 entries and uses “configure> system> resource-profile> ingress-internal-tcam> qos-sap-ingress-resource> mac-match-enable 1”, to configure one chunk for use by mac-criteria (allowing a total of 256 entries for use by policies using mac-criteria).
  • Page 242: Resource Allocation For Service Ingress Qos Policy Classification Rules For 7210 Sas-K

    Overview of service ingress policy on 7210 SAS-K only DSCP bits for SAP ingress classification. This typically allows for efficient use of available hardware resources and better scaling. SAP ingress policies that use only Dot1p bits or only IPv4/IPv6 DSCP and Default SAP ingress QoS policies bits can use the resources from chunks currently allocated for use by either IP-criteria or MAC-criteria or IPv6 criteria.
  • Page 243 Service Ingress QoS Policies ingress QoS can be allocated classification for use from this pool. Further on, resources can be allocated for SAP ingress QoS policy classification IPv4, IPv6 and MAC match criteria, based on the operator needs. Users can modify the resource allocated to scale the number of entries available per match criteria or scale the number of SAPs.
  • Page 244 Overview of service ingress policy on 7210 SAS-K The “tools> dump> system-resources” command displays the current usage and availability of the resources. One or more entries per chunk are reserved for system use. Page 238 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 245: D And E

    Service Ingress QoS Policies Computation of SAP ingress classification and meter resources used per SAP ingress policy for 7210 SAS-D and E This section provides information on the resource consumption per SAP ingress policy. Resources required by SAP ingress policy is allocated from the ingress-internal-tcam resource pool based on the amount of resources allocated for SAP ingress classification.
  • Page 246 Overview of service ingress policy on 7210 SAS-K This requires one classification entry in hardware. This assumes default mulitpoint meter #11 is not created by the user. • If a FC is in use and is created without explicit meters, use default meter #1 for unicast traffic and default meter #11 (assuming meter “11”...
  • Page 247 Service Ingress QoS Policies • If a FC is in use and is created without explicit meters, use default meter #1 for unicast traffic and for multicast traffic. This requires one classification entry in hardware. This assumes default multipoint meter #11 is not created by the user. •...
  • Page 248 Overview of service ingress policy on 7210 SAS-K • E(i) is the number of match-criteria entries that classify packets to FCi. For 7210 platforms, the maximum number of classification entries per policy can be 64 (including default). • C(i) is the number of classification entries that are required by FCi to identify different traffic types.
  • Page 249: Basic Configurations

    Service Ingress QoS Policies Basic Configurations A basic service ingress QoS policy must conform to the following: • Have a unique service ingress QoS policy ID. • Allocates number of classifier and meter resources needed for use (only on 7210 SAS-D and E) •...
  • Page 250: Service Ingress Qos Policy

    Basic Configurations Service Ingress QoS Policy NOTE: Depending on the platform, either a queue (7210 SAS-K) or a meter (7210 SAS-D/E) is available to limit the bandwidth per forwarding class on service ingress. The section below talks about configuration of service ingress policy assuming user is aware of the choices available on different platforms.
  • Page 251 Service Ingress QoS Policies A:ALA-7>config>qos>sap-ingress# 7210 SAS D, E, K OS Quality of Service Guide Page 245...
  • Page 252 Basic Configurations Service Ingress QoS Meter for 7210 SAS-D, E To create service ingress meter parameters, define the following: • A new meter ID value — The system will not dynamically assign a value. • Meter parameters — Ingress meters support the definition of either srTCM (Single Rate Tri-Color Meter) or trTCM (Two Rate Tri-Color Meter), CIR/PIR, CBS/MBS parameters.
  • Page 253 Service Ingress QoS Policies exit meter 12 create rate cir 1500 pir 1500 exit meter 13 create rate cir 2500 pir 2500 exit meter 14 create rate cir 36 pir 100 exit meter 15 create rate cir 36 pir 100 exit meter 16 create cbs 128...
  • Page 254 Basic Configurations SAP Ingress Forwarding Class (FC) for 7210 SAS-D and 7210 SAS-E The following displays a forwarding class configurations: A:ALA-7>config>qos# info #------------------------------------------ fc af create meter 1 broadcast-meter 7 unknown-meter 8 exit fc be create meter 2 unknown-meter 9 exit fc ef create meter 3...
  • Page 255 Service Ingress QoS Policies exit fc "af" create queue 1 multicast-queue 2 exit fc "nc" create queue 2 multicast-queue 1 exit ..---------------------------------------------- config>qos>sap-ingress$ info Service Ingress Dot1p Criteria for 7210 SAS-K The following displays the configuration of Dot1p classification policy used for ingress classification and its association with SAP ingress policy on 7210 SAS-K.
  • Page 256 Basic Configurations #------------------------------------------ echo "QoS Policy Configuration" #------------------------------------------ sap-ingress 100 create ip-criteria entry 10 create description "Entry 10-FC-AF" match dscp af12 exit action fc af exit entry 20 create description "Entry 20-FC-BE" match dscp be exit no action exit exit exit #------------------------------------------ A:ALA-7>config>qos#...
  • Page 257 Service Ingress QoS Policies dot1p 7 7 exit action fc be exit exit exit #------------------------------------------ A:ALA-7>config>qos# 7210 SAS D, E, K OS Quality of Service Guide Page 251...
  • Page 258 Basic Configurations Service Ingress QoS Policies Resource Usage Examples for 7210 SAS-D and 7210 SAS-E Example 1 sap-ingress 10 create description“example-policy-1” num-qos-classifiers 8 meter 1 create exit meter 3 create rate cir 100 pir 100 exit meter 11 multipoint create exit fc "af"...
  • Page 259 Service Ingress QoS Policies Since this FC uses unicast meter, an entry is needed to identify this traffic type explicitly. Another entry is needed to classify broadcast, multicast and unknown-unicast traffic type to the same FC and use the default meter #11. FCl1 = 1 + 0 + 1 + 0 = 2 FCaf = 1 + 0 + 1 + 0 = 2 FCl2 = 0 + 0 + 0 + 0 = 0...
  • Page 260 Basic Configurations meter 1 exit fc l1 create meter 3 exit fc h2 create meter 3 exit mac-criteria dot1p-only entry 1 create match dot1p 7 action fc af exit entry 2 create match dot1p 5 action fc l1 exit entry 3 create match dot1p action fc h2...
  • Page 261 Service Ingress QoS Policies FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 0 + 0 = 1 FCl1 = 1 + 0 + 0 + 0 = 1 FCaf = 1 + 0 + 0 + 0 = 1 FCl2 = 0 + 0 + 0 + 0 = 0...
  • Page 262 Basic Configurations entry 2 create match dot1p 5 7 exit action fc "l1" exit entry 3 create match dot1p 6 7 exit action fc "h2" exit exit default-fc "be" In the example above, assuming the policy is attached to a SAP in a VPLS service, classification entries used per FC are as follows: FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0...
  • Page 263 Service Ingress QoS Policies Example 2a (Default multipoint meter “11” is not used): sap-ingress 10 create description “example-policy-1” num-qos-classifiers meter 1 create rate cir 0 pir max exit meter 3 create rate cir 100 pir 100 exit meter 2 create rate cir 1 pir 20 exit scope template...
  • Page 264 Basic Configurations Since this FC uses unicast meter for unicast, multicast, unknown-unicast traffic and broadcast meter for broadcast traffic, hence two entries are needed. FCl1 = 1 + 0 + 1 + 0 = 2 FCaf = 1 + 0 + 1 + 0 = 2 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 1 + 0 = 2 Using the above equation, to get the total classification entries used = 8 (since three explicit match...
  • Page 265 Service Ingress QoS Policies rate cir 1 pir 20 exit fc "af" create meter 3 broadcast-meter 2 multicast-meter 4 exit fc "h1" create meter 5 broadcast-meter 4 multicast-meter 4 unknown-meter 4 exit fc "h2" create meter 3 broadcast-meter 2 exit fc "l1"...
  • Page 266 Basic Configurations FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 1 + 1 + 0 = 3 Since this FC uses unicast meter and broadcast meter, two entries are required to identify these traffic types explicitly.
  • Page 267 Service Ingress QoS Policies meter 4 create rate cir 10 pir 100 exit meter 5 create rate cir 10 pir 10 exit scope template default-fc fc af create meter broadcast-meter 2 multicast-meter 4 exit fc l1 create meter broadcast-meter 2 exit fc h2 create...
  • Page 268 Basic Configurations Since this FC uses unicast meter and broadcast meter, two entries are needed to identify these traffic types explicitly, multicast and unknown-unicast traffic use the same resource as the unicast traffic. FCl1 = 1 + 0 + 1 + 0 = 2 Since this FC uses unicast meter and broadcast meter, two entries are needed to identify these traffic types explicitly.
  • Page 269 Service Ingress QoS Policies meter 2 create rate cir 1 pir 20 exit meter 3 create rate cir 100 pir 100 exit meter 4 create rate cir 10 pir 100 exit meter 5 create rate cir 10 pir 10 exit meter 6 create rate cir 11 pir 100 exit...
  • Page 270 Basic Configurations dot1p 5 7 exit action fc "l1" exit entry 3 create match dot1p 6 7 exit action fc "h2" exit entry 4 create match dot1p 3 7 exit action fc "h1" exit entry 5 create match dot1p 2 7 exit action fc "ef"...
  • Page 271 Service Ingress QoS Policies Since this FC uses unicast meter and broadcast meter, two entries are required to identify these traffic types explicitly. Another entry is required to classify multicast and unknown-unicast traffic type to the same FC and use the default meter #11. FCl1 = 1 + 1 + 1 + 0 = 3 FCaf = 1 + 1 + 1 + 0 = 3 Since this FC uses unicast, broadcast and multicast meter, three entries are required to identify...
  • Page 272 Basic Configurations meter 6 create rate cir 11 pir 100 exit meter 8 create rate cir 20 pir 100 exit scope template default-fc fc af create meter broadcast-meter 2 multicast-meter 4 exit fc l1 create meter 3 broadcast-meter 2 exit fc h2 create meter 3 broadcast-meter 2...
  • Page 273 Service Ingress QoS Policies match dot1p 7 action fc nc exit exit exit In the example above, assuming the policy is attached to a SAP in a VPLS service, compute the classification entries per FC as: FCnc = 1 + 1 + 1 + 0 = 3 Since this FC uses unicast, broadcast and multicast meter, three entries are needed to identify these traffic types explicitly.
  • Page 274 Basic Configurations FCnc = 1 + 0 + 0 + 0 = 1 FCh1 = 1 + 0 + 0 + 0 = 1 FCef = 1 + 0 + 0 + 0 = 1 FCh2 = 1 + 0 + 0 + 0 = 1 FCl1 = 1 + 0 + 0 + 0 = 1 FCaf = 1 + 0 + 0 + 0 = 1 FCl2 = 0 + 0 + 0 + 0 = 0...
  • Page 275 Service Ingress QoS Policies entry 4 create match dscp cp4 exit action fc "af" exit entry 5 create match dscp cp5 exit action fc "af" exit entry 6 create match dscp cp6 exit action fc "af" exit entry 7 create match dscp cp7 exit...
  • Page 276 Basic Configurations exit entry 14 create match dscp cp15 exit action fc "af" exit entry 15 create match dscp cp15 exit action fc "af" exit exit default-fc "be" In the example above, assuming the policy is attached to a SAP in a VPLS service, the following number of classification entries per FC: FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0...
  • Page 277 Service Ingress QoS Policies FCh2 = 0 + 0 + 0 + 0 = 0 FCl1 = 0 + 0 + 0 + 0 = 0 FCaf = 1 + 0 + 0 + 0 = 1 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 0 + 0 = 1 Using the equation, the total classification entries used by this policy is calculated as follows: (0 * 0)nc + (0 * 0)h1 + (0 * 0)ef + (0 * 0)h2 + (0 * 0)l1 + (15 * 1)af + (0 * 0)l2 + (1 * 1)be =...
  • Page 278: Applying Service Ingress Policies

    Basic Configurations Applying Service Ingress Policies Apply SAP ingress policies to the following service SAPs: • Epipe • VPLS Epipe The following output displays an Epipe service configuration with SAP ingress policy 100 applied to the SAP. A:ALA-7>config>service# info ---------------------------------------------- epipe 6 customer 6 vpn 6 create description "Epipe service to west coast"...
  • Page 279 Service Ingress QoS Policies NOTE: SAP ingress QoS policies is supported only on for access SAPs only on 7210 SAS-D. 7210 SAS-E and 7210 SAS-K does not support IES service on access SAPs. The following output displays a IES service configuration. A:ALA-7>config>service# info ---------------------------------------------- ies 1 customer 1 create...
  • Page 280: Service Management Tasks

    Service Management Tasks Service Management Tasks This section discusses the following service management tasks: • Deleting QoS Policies on page 330 • Copying and Overwriting QoS Policies on page 332 • Remove a Policy from the QoS Configuration on page 333 •...
  • Page 281: Copying And Overwriting Qos Policies

    Service Ingress QoS Policies Copying and Overwriting QoS Policies You can copy an existing service ingress policy, rename it with a new policy ID value, or overwrite an existing policy ID. The option must be specified or an error occurs if the overwrite destination policy ID exists.
  • Page 282: Remove A Policy From The Qos Configuration

    Service Management Tasks Remove a Policy from the QoS Configuration CLI Syntax: config>qos# no sap-ingress policy-id Example config>qos# no sap-ingress 100 Editing QoS Policies You can change QoS existing policies and entries. The changes are applied immediately to all services where this policy is applied. To prevent configuration errors copy the policy to a work area, make the edits, and then write over the original policy.
  • Page 283: Service Sap Qos Policy Command Reference

    Service SAP QoS Policy Command Reference • Service Ingress QoS Policy Commands for 7210 SAS-D and E on page 295 • Service Ingress QoS Policy Command for 7210 SAS-K on page 297 • Operational Commands on page 300 • Show Commands on page 300 Service Ingress QoS Policy Commands for 7210 SAS-D and E config —...
  • Page 284 Service SAP QoS Policy Command Reference — no src-port — renum [old-entry-id new-entry-id] — [no] ipv6-criteria [any | dscp-only] [IPv6 Match Criteria] — [no] entry entry-id [create] — action [fc fc-name] — no action — description description-string — no description —...
  • Page 285 — mode {trtcm1 | trtcm2 | srtcm} (trtcm2 supported only on 7210 SAS-D) — no mode — rate cir-rate-in-kbps [pir pir-rate-in-kbps] — no rate — scope {exclusive | template} — no scope Service Ingress QoS Policy Command for 7210 SAS-K config —...
  • Page 286 Service SAP QoS Policy Command Reference — no action — description description-string — no description — match [next-header next-header] — no match — dscp dscp-name — no dscp — dst-ip {ipv6-address/prefix-length} — no dst-ip — dst-port {eq} dst-port-number} — no dst-port —...
  • Page 287 — no scope 7210 SAS D, E, K OS Quality of Service Guide Page 299...
  • Page 288 Service SAP QoS Policy Command Reference Operational Commands config — qos — copy sap-ingress src-pol dst-pol [overwrite] — copy dot1p-classification src-pol dst-pol [overwrite] — copy dscp-classification src-pol dst-pol [overwrite] Show Commands show — qos — dot1p-classification [policy-id] [detail] — dscp-classification [policy-id] [detail] —...
  • Page 289 Configuration Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>sap-ingress config>qos>sap-ingress>ip-criteria>entry config>qos>sap-ingress>mac-criteria>entry Description This command creates a text description stored in the configuration file for a configuration context. The no form of this command removes any description string from the context. Default No description is associated with the configuration context.
  • Page 290 Generic Commands Operational Commands NOTE: The 7210 platform QoS capabilities varies across platforms. In the description the term queue/ meter is used and based on the platform capabilities both of them or one of them can be used. The description also mentions the capabilities of the node/platform in certain commands, as applicable. copy Syntax copy sap-ingress src-pol dst-pol [overwrite]...
  • Page 291 Operational Commands renum Syntax renum old-entry-id new-entry-id Context config>qos>sap-ingress>ip-criteria config>qos>sap-ingress>ipv6-criteria config>qos>sap-ingress>mac-criteria Description This command renumbers existing QoS policy criteria entries to properly sequence policy entries. This can be required in some cases since the 7210 SAS exits when the first match is found and executes the actions in accordance with the accompanying action command.
  • Page 292 Service Ingress QoS Policy Commands Service Ingress QoS Policy Commands sap-ingress Syntax [no] sap-ingress policy-id [create] Context config>qos Description This command is used to create or edit the ingress policy. The ingress policy defines the Service Level Agreement (SLA) enforcement service packets receive as they ingress a SAP. SLA enforcement is accomplished through the definition of meters/queues (depends on the support available on a platform) that have Forwarding Class (FC), Committed Information Rate (CIR), Peak Information Rate (PIR), Committed Burst Size (CBS), and Maximum Burst Size (MBS) characteristics.
  • Page 293 Operational Commands • On 7210 SAS-K, before using IPv4, IPv6 and MAC match criteria, resources must be allocated using the CLI command config> system> resource-profile>ingress-internal- tcam> qos-sap-ingress-resource. Please read the Service Ingress Qos Policies Chapter above and the 7210 Basic Systems Guide for more information about this CLI command and resource allocation.
  • Page 294 Service Ingress QoS Policy Commands dscp-classification Syntax dscp-classification no dscp-classification Context config>qos>sap-ingress policy-id config>qos>network>ingress Description This command defines a policy to assign the forwarding class to a packet based on the IP DSCP bits. When it is defined in a network QoS policy and associated with an access-uplink port, a packet received on the access-uplink port is used to match with the IP DSCP values defined in this policy.
  • Page 295 Operational Commands default-fc Syntax default-fc fc [profile {in|out|use-dei}] Context config>qos>sap-ingress Description This command configures the default forwarding class for the policy. In the event that an ingress packet does not match a higher priority (more explicit) classification command, the default forwarding class will be associated with the packet.
  • Page 296 Service Ingress QoS Policy Commands When DEI based classification is enabled, it overrules the profile values specified in the classification entry used to assign the FC. The no form of the command disables use of DEI bit for classification of packets. Default no use-dei Syntax...
  • Page 297 Operational Commands Default Parameters queue-id — specifies the queue-id for the queue. Values [1..8] ip-mac-match Syntax [no] ip-mac-match {ip-first | mac-first} Context config>qos>sap-ingress Description Platforms supported: 7210 SAS-D only. This command must be executed if user intends to match on both IP and MAC criteria in a SAP ingress policy.
  • Page 298 Service Ingress QoS Policy Commands removed from a SAP ingress policy, the IP criteria is removed from all services where that policy is applied. Default dscp-only Parameters any — -Specifies that entries can use any of the fields available under ip-criteria (Example - IP source, IP destination, IP protocol fields can be used) for matching dscp-only —...
  • Page 299 Operational Commands mac-criteria Syntax [no] mac-criteria [any|dot1p-only] policy id Context config>qos>sap-ingress Description Platforms supported: 7210 SAS-D and 7210 SAS-E The mac-criteria based SAP ingress policies are used to select the appropriate ingress meters and corresponding forwarding class for matched traffic. User can specify either 'any' or dot1p-only' as the sub-criteria.
  • Page 300 Service Ingress QoS Policy Commands The no form of this command deletes all the entries specified under this node. Once IP criteria entries are removed from a SAP ingress policy, the IP criteria is removed from all services where that policy is applied. ipv6-criteria Syntax [no] ipv6-criteria...
  • Page 301 Operational Commands num-qos-classifiers Syntax num-qos-classifiers [num-resources] [ipv6 | no-ipv6] Context config>qos>sap-ingress>num-qos-classifiers Description Platforms Supported:7210 SAS-D and 7210 SAS-E. This command configures the number of classifiers the SAP ingress Qos policy can use. This parameter cannot be modified when it is associated with a SAP. The num-resources parameter also determines the maximum number of meters that are available to this policy.
  • Page 302 Service Ingress QoS Policy Forwarding Class Commands Service Ingress QoS Policy Forwarding Class Commands broadcast-meter Syntax broadcast-meter meter-id no broadcast-meter Context config>qos>sap-ingress>fc Description This command overrides the default broadcast forwarding type meter mapping for fc fc-name. The specified meter-id must exist within the policy as a multipoint meter before the mapping can be made. Once the forwarding class mapping is executed, all broadcast traffic on a SAP using this policy will be forwarded using the meter-id.
  • Page 303 Operational Commands multicast-meter Syntax multicast-meter meter-id no multicast-meter Context config>qos>sap-ingress>fc config>qos>sap-ingress>fc config>qos>sap-egress>fc config>qos>network>fc config>qos>network-queue>fc Context This command overrides the default multicast forwarding type meter mapping for fc fc-name. The specified meter -id must exist within the policy as a multipoint meter before the mapping can be made. Once the forwarding class mapping is executed, all multicast traffic on a SAP using this policy is forwarded using the meter-id.
  • Page 304 Service Ingress QoS Policy Forwarding Class Commands unknown-meter Syntax unknown-meter meter-id no unknown-meter Context config>qos>sap-ingress>fc Description This command overrides the default unknown unicast forwarding type meter mapping for fc fc-name. The specified meter-id must exist within the policy as a multipoint meter before the mapping can be made. Once the forwarding class mapping is executed, all unknown traffic on a SAP using this policy is forwarded using the meter-id.
  • Page 305 Operational Commands Service Ingress QoS Policy Entry Commands action Syntax action [fc fc-name] profile {in|out | use-dei} no action Context config>qos>sap-ingress>ip-criteria>entry config>qos>sap-ingress>mac-criteria>entry Description This mandatory command associates the forwarding class with specific IP or MAC criteria entry ID. The action command supports setting the forwarding class parameter. Packets that meet all match criteria within the entry have their forwarding class overridden based on the parameters included in the action parameters.
  • Page 306 Service Ingress QoS Policy Entry Commands entry Syntax [no] entry entry-id [create] Context config>qos>sap-ingress>ip-criteria config>qos>sap-ingress>mac-criteria Description This command is used to create or edit an IP or MAC criteria entry for the policy. Multiple entries can be created using unique entry-id numbers. The list of flow criteria is evaluated in a top down fashion with the lowest entry ID at the top and the highest entry ID at the bottom.
  • Page 307 Operational Commands match Syntax [no] match [protocol protocol-id] Context config>qos>sap-ingress>ip-criteria>entry Description This command creates a context to configure match criteria for SAP QoS policy match criteria. When the match criteria have been satisfied the action associated with the match criteria is executed. Only a single match criteria (either MAC or IP) is allowed at any point of time.
  • Page 308 Service Ingress QoS Policy Entry Commands the final action. The order of precedence is as follows: 1. 802.1p bits 2. DSCP 3. IP Quintuple or MAC headers The no form of this command removes the match criteria for the entry-id. Parameters next-header next-header —...
  • Page 309 Operational Commands IP QoS Policy Match Commands dscp Syntax dscp dscp-value|dscp-name [dscp-mask] no dscp Context config>qos>sap-ingress>ip-criteria>entry>match config>qos>sap-ingress>ipv6-criteria>entry>match Description This command configures a DiffServ Code Point (DSCP) code point to be used for classification of packets from the specified FC. The no form of this command removes the DSCP match criterion. NOTES: •...
  • Page 310 IP QoS Policy Match Commands dst-ip Syntax dst-ip {ip-address/mask | ip-address netmask} no dst-ip Context config>qos>sap-ingress>ip-criteria>entry>match config>qos>sap-ingress>ipv6-criteria>entry>match Description This command configures a destination address range to be used as a SAP QoS policy match criterion. To match on the destination address, specify the address and its associated mask, e.g., 10.1.0.0/16. The conventional notation of 10.1.0.0 255.255.0.0 can also be used.
  • Page 311 Operational Commands fragment Syntax fragment {true | false} no fragment Context config>qos>sap-ingress>ip-criteria>entry>match Description Platforms Supported:7210 SAS-K. This command configures fragmented or non-fragmented IP packets as a SAP QoS policy match criterion. The no form of this command removes the match criterion. Default fragment false Parameters...
  • Page 312 IP QoS Policy Match Commands precedence bits value that will match the IP precedence rule. Values 0 — 7 mask — The mask to use for the match. src-ip Syntax src-ip {ip-address/mask | ip-address netmask} no src-ip Context config>qos>sap-ingress>ip-criteria>entry>match config>qos>sap-egress>ip-criteria>entry>match config>qos>sap-ingress>ipv6-criteria>entry>match Description This command configures a source IP or IPv6 address range to be used as an SAP QoS policy match...
  • Page 313 Operational Commands src-port Syntax src-port {eq} src-port-number src-port range start end no src-port Context config>qos>sap-ingress>ip-criteria>entry>match Description This command configures a source TCP or UDP port number or port range for a SAP QoS policy match criterion. The no form of this command removes the source port match criterion. Default No src-port match criterion.
  • Page 314 Service Ingress MAC QoS Policy Match Commands Service Ingress MAC QoS Policy Match Commands dot1p Syntax dot1p dot1p-value [dot1p-mask] no dot1p Context config>qos>sap-ingress>mac-criteria>entry Description Platforms Supported:7210 SAS-D and 7210 SAS-E. The IEEE 802.1p value to be used as the match criterion. Use the no form of this command to remove the dot1p value as the match criterion.
  • Page 315 Operational Commands Parameters ieee-address — The MAC address to be used as a match criterion. Values HH:HH:HH:HH:HH:HH or HH-HH-HH-HH-HH-HH where H is a hexadecimal digit ieee-address-mask — A 48-bit mask to match a range of MAC address values. This 48-bit mask can be configured using the following formats: Format Style Format Syntax Example...
  • Page 316 Service Ingress MAC QoS Policy Match Commands inner-dot1p Syntax inner-dot1p dot1p-value [dot1p-mask] no inner-dot1p Context config>qos>sap-ingress>mac-criteria>entry Description Platforms Supported: 7210 SAS-K. Configures the Dot1p value to be used as a service ingress QoS policy match criterion to match against the Dot1p value in the inner tag (the one that follows the outermost tag in the packet) of the received packet.
  • Page 317 Operational Commands outer-dot1p Syntax outer-dot1p dot1p-value [dot1p-mask] no outer-dot1p Context config>qos>sap-ingress>mac-criteria>entry Description Platforms Supported: 7210 SAS-K. Configures the Dot1p value to be used as a service ingress QoS policy match criterion to match against the Dot1p value in the outermost tag of the received packet. The no form of this command removes the previously entered dot1p value as the match criteria.
  • Page 318 Service Ingress MAC QoS Policy Match Commands src-mac Syntax src-mac ieee-address [ieee-address-mask] no src-mac Context config>qos>sap-ingress>mac-criteria>entry Description This command configures a source MAC address or range to be used as a service ingress QoS policy match criterion. The no form of this command removes the source mac as the match criteria. Default none Parameters...
  • Page 319 Operational Commands Service Meter QoS Policy Commands meter Syntax meter meter-id [multipoint] [create] no meter meter-id Context config>qos>sap-ingress Description This command creates the context to configure an ingress service access point (SAP) QoS policy meter. This command allows the creation of multipoint meters. Only multipoint meters can receive ingress packets that need flooding to multiple destinations.
  • Page 320 Service Meter QoS Policy Commands the meter is provisioned in hardware. For the CIR and PIR parameters, individually the system attempts to find the best operational rate depending on the defined constraint. The no form of the command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy.
  • Page 321 Operational Commands Syntax cbs size [kbits|bytes|kbytes] no cbs Context config>qos>sap-ingress>meter Description Platforms Supported: 7210 SAS-D. This command provides a mechanism to override the default CBS for the meter. The committed burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR.
  • Page 322 Service Meter QoS Policy Commands In color-aware mode, following behavior is available: • If the packet is pre-colored as in-profile (or also called as Green colored packets) then depending on the burst size of the packet meter can either mark it in-profile or out-profile. •...
  • Page 323 Operational Commands Syntax mbs size [kbits|bytes|kbytes] no mbs Context config>qos>sap-ingress>meter Description Platforms Supported: 7210 SAS-D. This command provides a mechanism to override the default MBS for the meter. The maximum burst size parameter specifies the maximum burst size that can be transmitted by the source while still complying with the CIR.
  • Page 324 Service Meter QoS Policy Commands Parameters trtcm1 — Implements the policing algorithm defined in RFC2698. Meters the packet stream and marks its packets either green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is marked either yellow or green depending on whether it exceeds or doesn't exceed the CIR.
  • Page 325 Operational Commands The actual CIR rate is dependent on the meter’s adaptation-rule parameters and the hardware. Values 0 — 20000000, max (for 7210 SAS-E) Values 0 — 4000000, max (for 7210 SAS-D) pir pir-rate-in-kbps — Defines the administrative PIR rate, in kilobits, for the meter. When this command is executed, a valid PIR setting must be explicitly defined.
  • Page 326 Service Meter QoS Policy Commands Show Commands sap-ingress Syntax sap-ingress [policy-id] [detail | association | match-criteria] Context show>qos Description This command displays SAP ingress QoS policy information. Parameters policy-id — Displays information about the specific policy ID. Default all SAP ingress policies Values 1 —...
  • Page 327 Show Commands Label Description (Continued) Mode For 7210 SAS-E: Specifies the configured mode of the meter (trTcm1 or srTcm). For 7210 SAS-D: Specifies the configured mode of the meter (trTcm1,trTcm2 or srTcm). CIR Admin Specifies the administrative Committed Information Rate (CIR) parameters for the meters.
  • Page 328 Service Meter QoS Policy Commands Label Description (Continued) UnknownM Specifies the default unknown unicast forwarding type meters mapping. Match Criteria Specifies an IP or MAC criteria entry for the policy. Entry DSCP Specifies a DiffServ Code Point (DSCP) name used for an ingress SAP QoS policy match.
  • Page 329 Show Commands Policy-id Scope : Template Default FC : be Criteria-type : None Accounting : packet-based Classifiers Allowed : 16 Meters Allowed Classifiers Reqrd (VPLS) Meters Reqrd (VPLS) Classifiers Reqrd (EPIPE) : 1 Meters Reqrd (EPIPE) : 1 Description : Default SAP ingress QoS policy. ------------------------------------------------------------------------------- Meter Mode CIR Admin...
  • Page 330 Service Meter QoS Policy Commands CIR Oper PIR Oper CBS Oper MBS Oper ------------------------------------------------------------------------------- TrTcm1 closest closest 7 KBits 10 KBits TrTcm1 closest closest 8 KBits 11 KBits ------------------------------------------------------------------------------- UCastM MCastM BCastM UnknownM ------------------------------------------------------------------------------- No FC-Map Entries Found. ------------------------------------------------------------------------------- Match Criteria ------------------------------------------------------------------------------- No Matching Criteria.
  • Page 331 Show Commands ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId Priority Weight ------------------------------------------------------------------------------- Queue1 ------------------------------------------------------------------------------- High Slope Non Ring ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down ------------------------------------------------------------------------------- Low Slope Non Ring ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down ------------------------------------------------------------------------------- High Slope Ring ------------------------------------------------------------------------------- -------------------------------------------------------------------------------...
  • Page 332 Service Meter QoS Policy Commands Fragment : Off : h2 Profile : Out Entry Description : (Not Specified) Source IP : 10.2.3.5/32 Source Port : eq 14210 Dest. IP : 198.3.4.5/32 Dest. Port : eq 45803 Protocol : tcp DSCP : cp33 Fragment : Off...
  • Page 333 Show Commands Classifiers Reqrd (EPIPE) : 2 Meters Reqrd (EPIPE) : 1 Description : (Not Specified) ------------------------------------------------------------------------------- Meter Mode CIR Admin CIR Rule PIR Admin PIR Rule CBS Admin MBS Admin Color Mode CIR Oper PIR Oper CBS Oper MBS Oper ------------------------------------------------------------------------------- TrTcm1 closest...
  • Page 334 Service Meter QoS Policy Commands Accounting : packet-based Classifiers Allowed Meters Allowed Classifiers Reqrd (VPLS) Meters Reqrd (VPLS) Classifiers Reqrd (L3 Mc) : 2 Meters Reqrd (L3 Mc) : 1 Classifiers Reqrd (EPIPE) : 2 Meters Reqrd (EPIPE) : 1 Description : (Not Specified) -------------------------------------------------------------------------------...
  • Page 335 Show Commands detail — Displays detailed policy information. Sample for 7210 SAS-K: *A:SAH01-071>config>qos# show qos dscp-classification 6335 detail =============================================================================== DSCP Classification Maps =============================================================================== ------------------------------------------------------------------------------- Dscp Class Id : 6335 Description : (Not Specified) ------------------------------------------------------------------------------- Dscp Bit Map Forwarding Class Profile ------------------------------------------------------------------------------- cp15 cp23...
  • Page 336 Service Meter QoS Policy Commands dot1p-classification Syntax dot1p-classification [policy-id] [detail] Context show>qos Description This command displays dot1p-classification QoS policy information. Parameters policy-id — Displays information about the specific policy ID. detail — Displays detailed policy information. Label Description Dot1P Class Id The ID that uniquely identifies the policy.
  • Page 337 Show Commands ------------------------------------------------------------------------------- Network Policy Associations ------------------------------------------------------------------------------- No Network Policy Associations found. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- SAP Ingress Associations ------------------------------------------------------------------------------- SAP Ingress Id : 10 ------------------------------------------------------------------------------- =============================================================================== 7210 SAS D, E, K OS Quality of Service Guide Page 347...
  • Page 338 Service Meter QoS Policy Commands Page 348 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 339: Access Egress Qos Policies

    Access Egress QoS Policies In This Section This section provides information to configure Access Egress QoS policies using the command line interface. Topics in this section include: • Overview on page 342 • Basic Configurations on page 346 • Create Access Egress QoS Policies on page 347 •...
  • Page 340: Overview

    Overview Overview NOTE: Access egress policies are not supported on 7210 SAS-K. Instead 7210 SAS-K support service egress policies which allows for per SAP egress QoS differentiation using SAP based egress queues and shapers. An access egress policy defines the queuing for the traffic egressing on the access ports. Access- egress queue policies are used at the Ethernet port and define the bandwidth distribution for the various FC/queue traffic egressing on the Ethernet port.
  • Page 341: Modifying Access Egress Qos Queues

    Access Egress QoS Policies Modifying Access Egress QoS Queues To modify access egress queue parameters specify the following: • Queue ID value. 8 Queues are identified and are mapped as defined in Table 31, Forwarding Class to Queue-ID Map, on page •...
  • Page 342: Applying Access Egress Qos Policies

    Overview Applying Access Egress QoS Policies Apply access egress policies to the following entities: • Ethernet ports A policy can be applied to the ports that are in access mode. Ethernet Ports Use the following CLI syntax to apply a access-egress policy to an Ethernet port: CLI Syntax: config>port# ethernet access egress qos access-egress-policy-id...
  • Page 343: Default Access Egress Qos Policy Values

    Access Egress QoS Policies Default Access Egress QoS Policy Values The following displays default policy parameters: *A:card-1>config>qos>access-egress# info detail ---------------------------------------------- description "Default Access egress QoS policy." no remarking scope template queue 1 adaptation-rule cir closest pir closest rate cir 0 pir max exit queue 2 adaptation-rule cir closest pir closest...
  • Page 344 Overview Table 41: Access Egress Default Policy Details (Continued) Field Default adaptation-rule adaptation-rule cir closest pir closest rate cir 0 pir max default = 3200 bytes queue 2 adaptation-rule adaptation-rule cir closest pir closest rate 0cir 0 pir max default = 3200 bytes queue 3 adaptation-rule adaptation-rule cir closest pir closest...
  • Page 345 Access Egress QoS Policies Table 41: Access Egress Default Policy Details (Continued) Field Default adaptation-rule cir closest pir closest adaptation-rule cir 0 pir max rate default = 3200 bytes yes (for 7210 SAS-E), no (for 7210 SAS-D) remarking dot1p-in-profile 2 fc af: dot1p-out-profile 2 dot1p-in-profile 0...
  • Page 346 Overview adaptation-rule cir closest pir closest rate cir 0 pir max exit queue 3 adaptation-rule cir closest pir closest rate 0 pir max exit queue 4 adaptation-rule cir closest pir closest rate cir 0 pir max exit queue 5 adaptation-rule cir closest pir closest rate cir 0 pir max exit queue 6...
  • Page 347: Deleting Qos Policies

    Access Egress QoS Policies Deleting QoS Policies Every access Ethernet port is associated, by default, with the default access egress policy (policy- id 1). You can replace the default policy with a customer-configured policy, but you cannot entirely remove the policy from the port configuration. When you remove a non-default access egress policy, the association reverts to the default policy-id 1.
  • Page 348 Overview Page 350 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 349: Access Egress Qos Policy Command Reference

    Access Egress QoS Policy Command Reference Command Hierarchies • Configuration Commands for 7210 SAS-D on page 353 • Configuration Commands for 7210 SAS-E on page 353 • Show Commands on page 356 Configuration Commands for 7210 SAS-D config — qos —...
  • Page 350 Access Egress QoS Policy Command Reference — description description-string — no description — fc-name [create] — no fc-name — dot1p-in-profile dot1p-value — no dot1p-in-profile — dot1p-out-profile dot1p-value — no dot1p-out-profile — queue queue-id — adaptation-rule [cir adaptation-rule] [pir adaptation-rule] — no adaptation-rule —...
  • Page 351 Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>access-egress Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 352 scope of the policy is template. There are 8 queues always available per port for which parameters are configurable. Parameters policy-id — The value that uniquely identifies the access-egress policy. Values 1 — 65535 create — The keyword used to create an access-egress policy. The create keyword requirement can be enabled/disabled in the environment>create context.
  • Page 353 If the de-value is specifically mentioned in the command line it means this value is to be used for all the packets of this forwarding class regardless of their in/out of profile status. Specifies the DEI value to use for this forwarding class. Parameters de-value —...
  • Page 354 dot1p-in-profile Syntax dot1p-in-profile dot1p-value no dot1p-in-profile Context config>qos>access-egress>fc Note: This command description is applicable only to 7210 SAS-E. This command explicitly defines the egress IEEE 802.1P (Dot1p) bits marking for fc-name. All packets belonging to a particular FC that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined Dot1p-value.
  • Page 355 mark Dot1p on an egress access port for the in and out of profile packets. If the user has not explicitly configured this FC-Dot1p map the marking of packets is according to FC-Dot1P marking table as listed in Table 23, Default SAP Egress Policy ID 1 Definition, on page 57.
  • Page 356 NOTE: The following rules are applied by software to determine the Dot1p values to when both dot1p command and dot1p-in-profile and dot1p-out-profile command is specified: 1. If de-mark is not configured, then dot1p [in|out]-profile values are considered. Even if `dot1p <val>' command is configured it is ignored and if `dot1p [in|out]-profile' value is not config- ured then default values are considered for that FC.
  • Page 357 NOTE: The following rules are applied by software to determine the Dot1p values to when both dot1p command and dot1p-in-profile and dot1p-out-profile command is specified: 1. If de-mark is not configured, then dot1p [in|out]-profile values are considered. Even if `dot1p <val>' command is configured it is ignored and if `dot1p [in|out]-profile' value is not config- ured then default values are considered for that FC.
  • Page 358 dscp-in-profile Syntax dscp-in-profile dscp-name no dscp-in-profile Context config>qos>access-egress>fc Description Platforms Supported: 7210 SAS-D. This command specifies the in-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.
  • Page 359 remarking Syntax remarking Context config>qos>access-egress Description Platforms Supported: 7210 SAS-E This command enables the system to remark egress packets on access ports (that is, customer facing ports). Remarking cannot be disabled on the access ports on 7210 SAS-E. The no form of the command is not supported. Default remarking (that is, remarking is enabled, it cannot be disabled).
  • Page 360 Page 364 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 361 Access Egress Queue QoS Policy Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>access-egress>queue Description This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
  • Page 362 rate Syntax rate cir cir-rate [pir pir-rate] no rate Context config>qos>access-egress>queue Description This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the port. Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate.
  • Page 363 scope Syntax scope {exclusive | template} no scope Context config>qos>access-egress Description This command configures the scope as exclusive or template. The policy’s scope cannot be changed if the policy is applied to multiple ports. The no form of this command sets the scope of the policy to the default of template. Default template Parameters...
  • Page 364 Label Description (Continued) True — Remarking is enabled for all the Remark Dot1q-tagged packets that egress the ports on which the sap- egress QoS policy is applied and remarking is enabled. False — Remarking is disabled for the policy. Displays the policy id of the remarking policy. Remark Pol Id Exclusive —...
  • Page 365 Label Description (Continued) PIR Adpt Rule min — The operational PIR for the queue will be equal to or greater than the administrative rate specified using the rate com- mand. max — The operational PIR for the queue will be equal to or less than the administrative rate specified using the rate com- mand.
  • Page 366 =============================================================================== Access Egress Policies =============================================================================== Policy-Id Scope Description ------------------------------------------------------------------------------- Template Default Access egress QoS policy. =============================================================================== A:Dut-A>show>qos# A:Dut-A>show>qos# access-egress 1 detail =============================================================================== QoS Access Egress =============================================================================== ------------------------------------------------------------------------------- Policy-id Scope : Template Remark : False Remark Pol Id: 2 Description : Default Access egress QoS policy. ------------------------------------------------------------------------------- Queue Rates and Rules -------------------------------------------------------------------------------...
  • Page 367 Queue8 Down ------------------------------------------------------------------------------- Low Slope ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Burst Sizes and Time Average Factor ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId Time Average Factor Queue-Mgmt ------------------------------------------------------------------------------- Queue1...
  • Page 368 Page 372 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 369: Service Egress Policies

    Service Egress Policies In This Section This section provides information to configure Service egress QoS policies using the command line interface. Note: Service egress policies are supported only on 7210 SAS-K. It is not supported on 7210 SAS-D and 7210 SAS-E. Topics in this section include: •...
  • Page 370: Overview

    Overview Overview The Service Egress policy defines the Service Level Agreement (SLA) for service packets as they egress on the access SAP. Service Egress QoS policies allow the definition of queue parameters along with remark policy. With the default service egress policy, the system allocates 1 (one) queue. All the 8 FCs are mapped to use the same queue.
  • Page 371: Configuration Guidelines For Sap Egress Policy

    Service Egress Policies → Dot1p and/or IP DSCP marking must be supported on access SAP egress; Provide support for configuration of per FC Dot1p and/or IP DSCP marking, with the capability to assign different Dot1p and/or IP DSCP values for in-profile and out-of- profile packets.
  • Page 372 Overview • FC to queue map can be defined, this allows user to assign the packets classified into a particular FC to any one of the queues configured for the SAP. • Both unicast traffic and BUM traffic share a single queue per FC. In other words, unlike service ingress policy, it is not possible to assign different queues for BUM traffic and unicast traffic.
  • Page 373: Basic Configurations

    Service Egress Policies Basic Configurations A basic service egress QoS policy must conform to the following: • Have a unique service egress QoS policy ID. • Have a QoS policy scope of template or exclusive. • Have at least one forwarding class queue. Create a SAP Egress Policy To create a new SAP Egress policy, define the following: •...
  • Page 374: Editing Qos Policies

    Overview cbs 10 slope-policy "default" priority 1 weight 1 exit fc af create queue 1 exit fc be create queue 1 exit fc ef create queue 1 exit fc h1 create queue 1 exit fc h2 create queue 1 exit fc l1 create queue 1 exit...
  • Page 375: Service Egress Policy Command Reference

    Service Egress Policy Command Reference Command Hierarchies • Configuration Commands for 7210 SAS-K on page 393 • Copy Commands on page 395 • Show Commands on page 395 Configuration Commands for 7210 SAS-K config — qos — sap-egress policy-id create —...
  • Page 376 Service Egress Policy Command Reference Show Commands show — qos — sap-egress [policy-id] [detail | association] Page 394 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 377 Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>sap-egress Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 378 Access and SAP Egress Queue QoS Policy Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>sap-egress>queue config>qos>sap-ingress>queue Description This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
  • Page 379 Syntax [no] cbs size-in-kbytes Context config>qos>sap-ingress>queue config>qos>sap-egress>queue Description Platforms Supported: 7210 SAS-K. This command specifies the CBS value (Minimum depth of the queue in kilo bytes). The no form of the command sets this to the default value. Default 32Kbits Parameters Specifies the minimum depth of the queue in kilo bytes.
  • Page 380 Defines the queue priority. The queue priority is used by the scheduler to determine the order of service in both the within-cir loop and within-pir loop. Higher priority queues are serviced before lower priority queues. The no form of the command sets this to the default value. Default Parameters Specifies the priority of the queue.
  • Page 381 queue Syntax queue queue-id create Context config>qos>sap-egress Description This command creates the context to modify Queue parameters associated with a particular queue. On 7210 SAS-K, the queue-ID to FC map is user defined. The no form of this command is not supported Default none Parameters...
  • Page 382 When the policy is created, by default there will be only one queue that is created. User can create up to 8 queues [1..8] and associate it to different FCs on the saps to which this sap-egress policy is attached. SAP egress policy allows the user to define the queue parameters for the eight queues. Default Parameters policy-id —...
  • Page 383 This command enables the system to remark egress packets sent out of service egress (also known as, access SAP egress). When remarking is enabled, the remark policy configured in the QoS policy context is used to determine the FC to QoS bit mapping. For example, when remarking is enabled in the sap-egress QoS policy, the remark policy associated with sap-egress QoS policy is used to determine the FC to Dot1p mapping to use for marking packets sent out of access SAPs.
  • Page 384 Page 402 7210 SAS E OS Quality of Service Guide...
  • Page 385 adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>sap-egress>queue Description This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
  • Page 386 This command creates the context to modify Queue parameters associated with a particular queue. The queue is identifiable by queue-id and FCs are mapped into the queues. The no form of this command deletes the queue. Default none Parameters queue-id — Specifies the id of the queue. Specifies the queue-id associated with a FC. Values 1 —...
  • Page 387 The no form of this command returns all queues created with the queue-id by association with the QoS policy to the default PIR and CIR parameters (max, 0). Default rate 0 pir max— The max default specifies the amount of bandwidth in kilobits per second (thousand bits per second).
  • Page 388 Operational Commands copy Syntax copy sap-egress <src-pol> <dst-pol> [overwrite] Context config>qos Description This command copies the existing SAP egress QoS policy entries to another SAP egress QoS policy. The copy command is a configuration level maintenance tool used to create new policies using existing policies.
  • Page 389 Show Commands sap-egress Syntax sap-egress [policy-id] [association | detail] Context show>qos Description This command displays sap egress QoS policy information. Parameters policy-id — Displays the policy id of the sap-egress policy. association — Displays associations related to the specified sap-egress policy. detail —...
  • Page 390 Sample Output Page 408 7210 SAS E OS Quality of Service Guide...
  • Page 391: Schedulers On 7210 Sas-K

    Schedulers on 7210 SAS-K In This Section This section provides information about the scheduler support available in the 7210 SAS-K devices. Topics in this section include: • Overview on page 392 7210 SAS D, E, K OS Quality of Service Guide Page 391...
  • Page 392: Overview

    Overview Overview The 7210 SAS-K devices supports strict Priority and WFQ mode of scheduling or a mix of both. Schedulers are used at SAP ingress, SAP egress, Access Uplink Port ingress and Access-uplink port egress. The scheduler uses 2 loops - the CIR loop and PIR loop, each with 4 priorities. The configured priority of the queue determines the service order of the queue in the CIR loop and the PIR loop.
  • Page 393: Figure 6: Scheduler In 7210 Sas-K

    Schedulers on 7210 SAS-K Figure 6: Scheduler in 7210 SAS-K the queues at the top belong to SAP #1 and the queues at the bottom belong to SAP #2 and that all queues have the same weight. Then the scheduling order is (assuming unlimited bandwidth is): •...
  • Page 394 Overview • Select the next highest priority queues (priority of 2), SAP #2 -> Queue#2 and schedule it until CIR is met. • No more queues left to be serviced in the CIR loop; All queues CIR is met. NOTE: SAP#1-> Queue#1 and SAP#2->Queue#1 are not serviced in CIR loop as they are configured with CIR=0;...
  • Page 395: Qos Port Scheduler Policies

    QoS Port Scheduler Policies In This Section This section provides information to configure port scheduler policies using the command line interface. Port scheduler policies are available only on 7210 SAS- D and 7210 SAS-E. Note: Port Scheduler policies are not supported on 7210 SAS-K. Topics in this section include: •...
  • Page 396: Overview

    Overview Overview Configuring Port Scheduler Policies The port-scheduler-policy command creates a port scheduler template which may be assigned to an egress port. Only one port scheduler policy is allowed per port. There is a “default” port- scheduler policy (which services the queues of the port in a Strict order) associated with each port. To change the behavior, users can associate the port with another port-scheduler policy.
  • Page 397: Basic Configurations

    QoS Port Scheduler Policies Basic Configurations A basic QoS port scheduler policy must conform to the following: • Each QoS port scheduler policy must have a unique policy name. 7210 SAS D, E, K OS Quality of Service Guide Page 451...
  • Page 398: Creating A Qos Port Scheduler Policy

    Overview Creating a QoS Port Scheduler Policy To create a port scheduler policy, define the following: • A port scheduler policy name. • Include a description. The description provides a brief overview of policy features. Use the following CLI syntax to create a QoS port scheduler policy. Note that the create keyword is included in the command syntax upon creation of a policy.
  • Page 399: Copying And Overwriting Port Scheduler Policies

    QoS Port Scheduler Policies Service Management Tasks This section discusses the following service management tasks: • Copying and Overwriting Port Scheduler Policies on page 454 • Editing QoS Policies on page 457 Copying and Overwriting Port Scheduler Policies You can copy an existing QoS policy, rename it with a new QoS policy value, or overwrite an existing policy.
  • Page 400: Service Management Tasks

    Service Management Tasks Queue 4 Weight: strict Queue 5 Weight: strict Queue 6 Weight: strict Queue 7 Weight: strict Queue 8 Weight: strict =============================================================== *A:card-1>config# *A:card-1>config# show qos port-scheduler-policy psp1 =============================================================== QoS Port Scheduler Policy =============================================================== Policy-Name : psp1 Accounting : packet-based Mode : WRR...
  • Page 401: Editing Qos Policies

    QoS Port Scheduler Policies Editing QoS Policies You can edit a port-scheduler policy, the modifications are done and it affects the port where it is applied. The “default” port-scheduler policy cannot be modified. To prevent configuration errors use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.
  • Page 402 Service Management Tasks Page 456 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 403: Qos Port Scheduler Policy Command Reference

    QoS Port Scheduler Policy Command Reference Command Hierarchies • Port Scheduler Policy Configuration Commands on page 457 • Operational Commands on page 457 • Show Commands on page 457 Port Scheduler Policy Configuration Commands config — qos — [no] port-scheduler-policy port-scheduler-name [create] —...
  • Page 404 QoS Port Scheduler Policy Command Reference Page 458 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 405 Configuration Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>port-scheduler-policy Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 406 Generic Commands Operational Commands copy Syntax copy port-scheduler-policy src-name dst-name [overwrite] Context config>qos Description This command copies existing port scheduler QoS policy entries for a port scheduler QoS policy to another port scheduler QoS policy. The copy command is a configuration level maintenance tool used to create new policies using existing policies.
  • Page 407 Port Scheduler Policy Commands Port Scheduler Policy Commands port-scheduler-policy Syntax no] port-scheduler-policy port-scheduler-name [create] Context config>qos Description The default scheduling done for a port is strict scheduling.When a port-scheduler policy is applied to a port, it overrides the default scheduling and determines the type of scheduling (Strict, RR, WRR, WDRR, WRR/WDRR + Strict) to be done between the 8 CoS queues of that particular port.
  • Page 408 Generic Commands queue Syntax queue queue-id [strict |weight weight] no queue queue-id Context config>qos>port-sched-plcy Description This command configures a port scheduler queue. The queue and its weights can be configured only for WRR/WDRR modes. The weight specified in case of WRR corresponds to the number of packets that needs to be sent out in a cycle for that particular queue.
  • Page 409 Show Commands Show Commands port-scheduler-policy Syntax port-scheduler-policy [port-scheduler-policy-name] [association] Context show>qos Description This command displays port-scheduler policy information Parameters port-scheduler-policy-name — Displays information for the specified existing port scheduler policy. association — Displays associations related to the specified port scheduler policy. Show QoS Port Scheduler Output —...
  • Page 410 Generic Commands =============================================================================== Policy-Name : psp Mode : WRR Accounting : packet-based ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- - Port : 1/1/1 =============================================================================== *A:card-1>config# *A:card-1>config# show qos port-scheduler-policy psp =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : psp Mode : WRR Accounting : packet-based Last changed : 01/01/2000 05:14:06 Queue 1:...
  • Page 411 Show Commands *A:SAS-D>show>qos# port-scheduler-policy abc association =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : abc Description : (Not Specified) Accounting : packet-based Mode : STRICT ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- No Association Found. =============================================================================== *A:SAS-D>show>qos# 7210 SAS D, E, K OS Quality of Service Guide Page 465...
  • Page 412 Generic Commands Page 466 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 413: Slope Qos Policies

    Slope QoS Policies Configuring QoS Policies In This Section This section provides information to configure slope QoS policies using the command line interface. Topics in this section include: • Overview of Buffer Pools on 7210 SAS-E and 7210 SAS-D on page 2 →...
  • Page 414: Overview Of Buffer Pools On 7210 Sas-E And 7210 Sas-D

    Overview of Buffer Pools on 7210 SAS-E and 7210 SAS-D Overview of Buffer Pools on 7210 SAS-E and 7210 SAS-D Default buffer pool exists (logically) at each port. Buffer pools cannot be created or deleted in the 7210 SAS. The egress buffer pools are distributed as access uplink egress buffer pool for access- uplink ports and access egress buffer pool for access ports.
  • Page 415: Table 1: Slope Behavior Table (Applicable To 7210 Sas-D)

    Slope QoS Policies Table 1: Slope behavior table (applicable to 7210 SAS-D) Slopes TCP-non-TCP slope option High-Low slope option (Uses 3 WRED slopes per (Uses 2 WRED slopes per queue) queue) SAP Ingress TCP/IP traffic High-priority TCP slope or High-priority or low-priority (Number of VLAN tags <=2) low-priority TCP slope, based slope, based on packet profile...
  • Page 416: Overview Of Buffer Pools And Slope Policies On 7210 Sas-K

    Overview of Buffer pools and Slope policies on 7210 SAS-K Overview of Buffer pools and Slope policies on 7210 SAS- For an overview of buffer pools supported on 7210 SAS-K, see Buffer Pools on page Slope policies are applied to service ingress queues, service egress queues, access uplink port ingress and access uplink port egress queues.
  • Page 417: Basic Configurations

    Slope QoS Policies Basic Configurations A basic slope QoS policy must conform to the following: • Each slope policy must have a unique policy ID. • High slope, low slope and non-TCP slope are shut down (default). • Default values can be modified but parameters cannot be deleted. Create a Slope QoS Policy for 7210 SAS-E Configuring and applying slope policies is optional.
  • Page 418: Create A Slope Qos Policy For 7210 Sas-D

    Basic Configurations non-tcp-slope no shutdown exit ---------------------------------------------- A:ALA-7>config>qos>slope-policy# Create a Slope QoS Policy for 7210 SAS-D Configuring and applying slope policies is optional. If no slope policy is explicitly applied to a port, a default slope policy is applied. To create a new slope policy for 7210 SAS-D devices, define the following: •...
  • Page 419: Create A Slope Qos Policy For 7210 Sas-K

    Slope QoS Policies time-average-factor taf The following displays the slope policy configuration for 7210 SAS-D: A:ALA-7>config>qo>slope-policy# info ---------------------------------------------- description "slope policy SlopePolicy1" high-slope no shutdown exit low-slope no shutdown exit non-tcp-slope no shutdown exit ---------------------------------------------- A:ALA-7>config>qos>slope-policy# Create a Slope QoS Policy for 7210 SAS-K Configuring and applying slope policies is optional.
  • Page 420 Basic Configurations high-slope-ring shutdown start-avg percent max-avg percent max-prob percent exit low-slope-ring shutdown start-avg percent max-avg percent max-prob percent exit The following displays the slope policy configuration for 7210 SAS-K: *A:SAH01-051>config>qos>slope-policy$ info detail ---------------------------------------------- no description high-slope shutdown start-avg 70 max-avg 90 max-prob 80 exit...
  • Page 421: Table 2: Slope Policy Defaults For 7210 Sas-E

    Slope QoS Policies Applying Slope Policies Based on the 7210 SAS platform capabilities, the slope policies are associated with different entities: • On 7210 SAS-E and 7210 SAS-D, slope policies are associated with the queues configured on access port or access-uplink port. •...
  • Page 422: Table 3: Slope Policy Defaults For 7210 Sas-D

    Applying Slope Policies Description Default Slope Policy low (RED) slope Administrative state shutdown start-threshold 50% utilization queue 1 — 8 drop-rate 0 (100% drop rate) Default Slope Policy Values for 7210 SAS-D The default access egress and access uplink egress policies are identified as policy-id “default”. The default policies cannot be edited or deleted.
  • Page 423 Slope QoS Policies A:ALA>config>qos# slope-policy default A:ALA>config>qos>slope-policy# info detail ---------------------------------------------- description "Default slope policy." queue "1" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7...
  • Page 424 Applying Slope Policies non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "4" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7...
  • Page 425 Slope QoS Policies start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "7" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown...
  • Page 426: Default Slope Policy Values For 7210 Sas-K

    Applying Slope Policies Default Slope Policy Values for 7210 SAS-K Table 4: Default Slope Policy for 7210 SAS-K Description Default Slope Policy high-slope Administrative state shutdown start-avg 70% utilization max-avg 90% utilization max-prob low slope Administrative state shutdown start-threshold 50% utilization max-avg 75% utilization max-prob...
  • Page 427 Slope QoS Policies start-threshold 75 queue 1 drop-rate 1 queue 2 drop-rate 1 queue 3 drop-rate 1 queue 4 drop-rate 1 queue 5 drop-rate 1 queue 6 drop-rate 1 queue 7 drop-rate 1 queue 8 drop-rate 1 exit low-slope shutdown start-threshold 50 queue 1 drop-rate 0 queue 2 drop-rate 0...
  • Page 428: Deleting Qos Policies

    Deleting QoS Policies Deleting QoS Policies A slope policy is associated by default with access and access uplink egress pools. A default policy may be replaced with a non-default policy, but a policy cannot be entirely removed from the configuration. When a non-default policy is removed, the policy association reverts to the default slope policy policy-id default.
  • Page 429: Copying And Overwriting Qos Policies

    Slope QoS Policies Copying and Overwriting QoS Policies You can copy an existing slope policy, rename it with a new policy ID value, or overwrite an existing policy ID. The overwrite option must be specified or an error occurs if the destination policy ID exists.
  • Page 430 Copying and Overwriting QoS Policies queue 8 drop-rate 1 exit low-slope shutdown start-threshold 50 queue 1 drop-rate 0 queue 2 drop-rate 0 queue 3 drop-rate 0 queue 4 drop-rate 0 queue 5 drop-rate 0 queue 6 drop-rate 0 queue 7 drop-rate 0 queue 8 drop-rate 0 exit ----------------------------------------------...
  • Page 431 Slope QoS Policies exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "3" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit...
  • Page 432 Copying and Overwriting QoS Policies shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "6" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit...
  • Page 433 Slope QoS Policies max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit ---------------------------------------------- A:ALA-7210M>config>qos# The following output displays the copied policies for (7210 SAS-K devices): *A:SAH01-051>config>qos>slope-policy# info detail ---------------------------------------------- description "Default slope policy."...
  • Page 434 Copying and Overwriting QoS Policies Page 22 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 435 Slope QoS Policies Editing QoS Policies You can change existing policies and entries in the CLI or NMS. The changes are applied immediately to all services where this policy is applied. To prevent configuration errors copy the policy to a work area, make the edits, and then write over the original policy. 7210 SAS D, E, K OS Quality of Service Guide Page 23...
  • Page 436 Editing QoS Policies Page 24 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 437 Slope QoS Policy Command Reference Command Hierarchies • Configuration Commands (for 7210 SAS-E devices) on page 495 • Configuration Commands (for 7210 SAS-D devices) on page 495 • Configuration commands for 7210 SAS-K device on page 496 • WRED Commands (supported only on 7210 SAS-D) on page 498 •...
  • Page 438 Slope QoS Policy Command Reference — [no] shutdown — start-avg percent — no start-avg — [no] low-slope — max-avg percent — no max-avg — max-prob percent — no max-prob — [no] shutdown — start-avg percent — no start-avg — [no] shutdown —...
  • Page 439 — no start-avg — [no] shutdown — [no] low-slope-ring — max-avg percent — no max-avg — max-prob percent — no max-prob — [no] shutdown — start-avg percent — no start-avg 7210 SAS D, E, K OS Quality of Service Guide Page 497...
  • Page 440 Slope QoS Policy Command Reference WRED Commands (supported only on 7210 SAS-D) config — system — qos — no use-wred-slopes — use-wred-slopes slope-type Operational Commands config — qos — copy slope-policy src-name dst-name [overwrite] Show Commands show — qos — slope-policy [slope-policy-name] [detail] Page 498...
  • Page 441 Configuration Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>slope-policy Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 442 Generic Commands Operational Commands copy Syntax copy slope-policy src-name dst-name [overwrite] Context config>qos Description This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id. The copy command is a configuration level maintenance tool used to create new policies using existing policies.
  • Page 443 Operational Commands Slope Policy QoS Commands slope-policy Syntax [no] slope-policy name [create] Context config>qos Description This command enables the context to configure a QoS slope policy. Default slope-policy “default” Parameters name — The name of the slope policy. Values Valid names consist of any string up to 32 characters long composed of printable, 7-bit ASCII characters.
  • Page 444 Slope Policy QoS Policy Commands (for 7210 SAS-E devices) Slope Policy QoS Policy Commands (for 7210 SAS-E devices) high-slope Syntax [no] high-slope Context config>qos>slope-policy Description The high-slope context contains the commands and parameters for defining the high priority Random Early Detection (RED) slope graph. Each buffer pool supports a high priority RED slope for managing access to the shared portion of the buffer pool for high priority or in-profile packets.
  • Page 445 Operational Commands start-threshold Syntax start-threshold percent no start-threshold Context config>qos>slope-policy>high-slope config>qos>slope-policy>low-slope Description This command sets the low priority or high priority Random Early Detection (RED) slope position for the shared buffer instantaneous utilization value where the packet discard probability comes into affect.
  • Page 446 Slope Policy QoS Policy Commands (for 7210 SAS-E devices) Specifies the drop rate to be configured. drop-rate num — Values 0 — 7 Page 502 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 447 Operational Commands RED Slope Commands(for 7210 SAS-E devices) shutdown Syntax [no] shutdown Context config>qos>slope-policy>high-slope config>qos>slope-policy>low-slope Description This command enables or disables the administrative status of the Random Early Detection slope. By default, all slopes are shutdown and have to be explicitly enabled (no shutdown). The no form of this command administratively enables the RED slope.
  • Page 448 RED Slope Commands(for 7210 SAS-E devices) queue Syntax queue queue drop-rate drop-rate no queue queue-id queue Context config>qos>slope-policy>high-slope config>qos>slope-policy>low-slope Description The drop-rate num parameter is expressed as a scalar number, and mapping to the percent of packets dropped in congestion conditions is specified in Table 41, Drop Rate Value to Percent Mapping Values, on page 103.
  • Page 449 Operational Commands Slope Policy QoS Policy Commands queue Syntax queue queue-id Context config>qos>slope-policy Description This command sets the context to configure the high-priority, low-priority, and non-tcp slope parameters per queue. Parameters Specifies the ID of the queue for which the drop-rate is to be configured. queue-id —...
  • Page 450 Slope Policy QoS Policy Commands The low-slope parameters can be changed at any time and the affected buffer pool low priority RED slopes must be adjusted appropriately. The no form of this command restores the low slope configuration commands to the default values.
  • Page 451 Operational Commands shared buffer instantaneous utilization, zero using it exclusively. A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value. Values 0 — 15 high-slope-ring Syntax [no] high-slope-ring Context config>qos>slope-policy Description Platforms Supported: 7210 SAS-K.
  • Page 452 Slope Policy QoS Policy Commands (for 7210 SAS-D and SAS-K devices) Slope Policy QoS Policy Commands (for 7210 SAS-D and SAS-K devices) RED S LOPE OMMANDS max-avg Syntax max-avg percent no max-avg Context config>qos>slope-policy>queue>high-slope config>qos>slope-policy>queue>low-slope config>qos>slope-policy>queue>high-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>low-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>non-tcp-slope (supported only on 7210 SAS-D devices) Description...
  • Page 453 Operational Commands max-prob Syntax max-prob percent no max-prob Context config>qos>slope-policy>queue>high-slope config>qos>slope-policy>queue>low-slope config>qos>slope-policy>queue>high-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>low-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>non-tcp-slope (supported only on 7210 SAS-D devices) Description Sets the low priority or high priority Random Early Detection (RED) slope position for the maximum non-one packet discard probability value before the packet discard probability rises directly to one.
  • Page 454 Slope Policy QoS Policy Commands (for 7210 SAS-D and SAS-K devices) start-avg Syntax start-avg percent no start-avg Context config>qos>slope-policy>queue>high-slope config>qos>slope-policy>queue>low-slope config>qos>slope-policy>queue>high-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>low-slope-ring (supported only on 7210 SAS-K devices) config>qos>slope-policy>queue>non-tcp-slope (supported only on 7210 SAS-D devices) Description This command sets the low priority or high priority Random Early Detection (RED) slope position for the shared buffer average utilization value where the packet discard probability starts to...
  • Page 455 Operational Commands WRED command use-wred-slopes Syntax no use-wred-slopes use-wred-slopes slope-type Context config>system>qos Description The user is provided with an option to use 2 WRED slopes per queue or use 3 WRED slopes per queue. It is a global option which affects all the queues in the system. In other words, user can choose to use either 2 WRED slopes for all queues in the system or 3 WRED slopes for all queues in the system.
  • Page 456 WRED command low-slope. The non-TCP WRED slope uses the values configured under config> qos> slope-policy> non-tcp-slope. Page 512 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 457 Show Commands Show Commands slope-policy Syntax slope-policy [slope-policy-name] [detail] Context show>qos Description This command displays slope policy information. The name of the slope policy. Parameters slope-policy-name — Displays detailed information about the slope policy. detail — Output Slope QoS Policy Output Fields (for 7210 SAS-E) — The following table describes slope QoS policy output fields.
  • Page 458 WRED command Sample Output *A:>config# show qos slope-policy 1 =============================================================================== QoS Slope Policy =============================================================================== Policy ------------------------------------------------------------------------------- Utilization State Start-Threshold ------------------------------------------------------------------------------- High-Slope Down Low-Slope Down ------------------------------------------------------------------------------- Queue High Slope Drop Rate(%) Low Slope Drop Rate(%) ------------------------------------------------------------------------------- Queue 1 6.250000 100.000000 Queue 2 6.250000 100.000000 Queue 3...
  • Page 459 Show Commands Sample for 7210 SAS-K *A:SAH01-051>show>qos# slope-policy "default" =============================================================================== QoS Slope Policy =============================================================================== Policy : default Description : Default slope policy. ------------------------------------------------------------------------------- High Slope Parameters ------------------------------------------------------------------------------- Start Avg : 70 Admin State : Disabled Max Avg : 90 Max Prob. : 80 ------------------------------------------------------------------------------- Low Slope Parameters...
  • Page 460 WRED command Table 54: Show QoS Slope Policy Output Fields (Continued) Label Description Specifies the low priority or high priority RED slope position for the Start Avg shared buffer average utilization value where the packet discard probability starts to increase above zero. Specifies the percentage of the shared buffer space for the buffer pool Max Avg at which point the drop probability becomes 1, expressed as a decimal...
  • Page 461 Show Commands Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Non Tcp Slope ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- QueueId State Start-Avg(%) Max-Avg(%) Max-Prob(%) ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Time Avg Factor -------------------------------------------------------------------------------...
  • Page 462 WRED command =============================================================================== QoS Slope Policy =============================================================================== =============================================================================== *A:SAH01-051>show>qos# Sample for 7210 SAS-K *A:SAH01-051>show>qos# slope-policy detail =============================================================================== QoS Slope Policy =============================================================================== Policy : default Description : Default slope policy. ------------------------------------------------------------------------------- High Slope Parameters ------------------------------------------------------------------------------- Start Avg : 70 Admin State : Disabled Max Avg : 90...
  • Page 463 Show Commands ------------------------------------------------------------------------------- SAP Ingress ------------------------------------------------------------------------------- SAP Ingress Policy Id Queue Ids ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- SAP Egress ------------------------------------------------------------------------------- SAP Egress Policy Id Queue Ids ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Network Ingress ------------------------------------------------------------------------------ Network Ingress Policy Id Queue Ids : 1, 2, 3, 4, 5, 6, 7, 8 ------------------------------------------------------------------------------ Network Queues ------------------------------------------------------------------------------...
  • Page 464 WRED command Page 520 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 465: Remark Policies For 7210 Sas-K Devices

    Remark Policies for 7210 SAS- K devices In This Section This section provides information to configure remark policies using the command line interface. This section is applicable only to 7210 SAS-K devices. Topics in this section include: • Overview on page 448 •...
  • Page 466: Overview

    Overview Overview The remark policies are used to configure the marking behavior for the system at the egress of access SAP or access uplink port. These policies allow the user to define the forwarding class to egress marking values and allow them to use the available hardware resources efficiently. Based on the packet encapsulation used, the remark policy allows the user to define and associate appropriate policies to service egress, and network QoS policies applied to access-uplink port.
  • Page 467 Remark Policies for 7210 SAS-K devices Table 48: Summary of remark policy and attachment points for 7210 SAS-K Remark Policy Qos Policy Attachment Point Packet Header Bits Marked Type dscp service egress policy Access SAP egress • IP DSCP bits in the IP header (if present) for ser- vice packets sent out of an Access SAP.
  • Page 468: Configuration Guideline For 7210 Sas-K

    Overview Configuration Guideline for 7210 SAS-K • The 7210 SAS-K implements the marking policy only if the node adds ones or two tags or if it replaces existing one or two tags. It does not touch the VLAN tag which represents customer payload (for example, 7210 SAS-K does not implement marking for packets when forwarding traffic out of dot1q range SAP or a NULL SAP).
  • Page 469: Basic Configurations

    Remark Policies for 7210 SAS-K devices Basic Configurations A basic remark policy must confirm to the following: • Each remark policy must have a unique policy ID. • The remark policy type must be specified. • The forwarding class to egress marking values must be specified. Creating a Remark Policy To create a new remark policy, define the following: •...
  • Page 470 Overview dot1p-inner in-profile 4 out-profile 4 dot1p-outer in-profile 6 out-profile 3 exit fc l1 de-mark-outer force 1 dot1p-inner in-profile 2 out-profile 6 dot1p-outer 4 exit fc l2 de-mark-outer dot1p-inner 7 dot1p-outer 3 exit fc nc no de-mark-outer dot1p-inner in-profile 2 out-profile 4 dot1p-outer in-profile 5 out-profile 6 exit *A:7210SAS>config>qos>remark#...
  • Page 471: Remark Policy Command Reference

    Remark Policy Command Reference Command Hierarchies • Configuration Commands for 7210 SAS-K on page 453 • Show Commands on page 454 • Operational Commands on page 454 Configuration Commands for 7210 SAS-K config — qos — no remark policy-id — remark policy-id [create] [remark-type {dot1p | dscp | dot1p-dscp}] —...
  • Page 472 Remark Policy Command Reference Page 454 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 473 Configuration Commands Generic Commands description Syntax [no] description description-string Context config>qos>remark Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 474 Operational Commands copy Syntax copy remark src-pol dst-pol [overwrite] Context config>qos Description This command copies existing remark policy entries to another remark policy. The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.
  • Page 475 Remark Policy QoS Commands remark Syntax no remark policy-id remark policy-id [create] [remark-type remarking type] Context config>qos Description Platforms Supported: 7210 SAS-K. This command creates a new remark policy of the specified type. The following types of remark policies are available: •...
  • Page 476 Syntax [no] fc fc-name Context config>qos>remark Description This command specifies the forwarding class name and provides the context to configure the marking value for the FC. Based on the type of remark policy created, the FC command allows the user to specify the appropriate marking values. The fc command overrides the default parameters for the forwarding class to the values defined.
  • Page 477 Remark Policy Forwarding Class Commands de-mark-outer Syntax [no] de-mark-outer [force de-value] Context config>qos> remark-policy> fc Description This command is used to explicitly define the marking of the DEI bit of the outermost tag for fc fc- name according to the in and out of profile status of the packet. If no de-value is present, the default values are used for the marking of the DE bit: for example, 0 for in-profile packets, 1 for out-of-profile ones –...
  • Page 478 This command has no effect for egress packets sent out of all other non-QinQ SAPs for example: Dot1q SAP, NULL SAP, etc. Additionally, if the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, this command has no effect. In other words, this command takes effect, only when the node adds 2 tags to the packet on the egress.
  • Page 479 dot1p-outer Syntax no dot1p-outer dot1p-outer dot1p-value Context config> qos> remark> fc> Description Platforms Supported: 7210 SAS-K. This command explicitly defines the egress IEEE 802.1P (dot1p) bits marking for fc-name. When the marking is set, all packets of fc-name that have either an IEEE 802.1Q or IEEE 802.1P encapsulation use the explicitly defined dot1p-value.
  • Page 480 dscp-out-profile Syntax dscp-out-profile dscp-name no dscp-out-profile Context config> qos> remark> fc Description Platforms Supported: 7210 SAS-K. This command specifies the out-of-profile DSCP name for the forwarding class. When marking is set, the corresponding DSCP value is used to mark all IP packets with out-of-profile status, on the egress of this forwarding class queue.
  • Page 481 When this command is used the DEI Bit is left unchanged by the egress processing if a tag exists. If a new tag is added, the DEI bit is set to 0. This variant of the command is mutually exclusive to the use of dot1p-outer command. In other words, user has a choice to use either this command or the dot1p-outer command but not both together.
  • Page 482 Show Commands remark-policy Syntax remark-policy [<policy-id>] [association|detail] Context show>qos Description This command displays remark policy information. Parameters The ID of the remark policy. policy-id — Displays detailed information about the remark policy. detail — Output Remark Policy Output Fields — The following table describes remark policy output fields. Label Description The ID that uniquely identifies the policy.
  • Page 483 Associations ------------------------------------------------------------------------------- SAP Egress ------------------------------------------------------------------------------- No SAP Egress Associations found. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Network ------------------------------------------------------------------------------- No Network Policy Associations found. ------------------------------------------------------------------------------- *A:SAH01-051>show>qos# 7210 SAS D, E, K OS Quality of Service Guide Page 465...
  • Page 484 Page 466 7210 SAS D, E, K OS Quality of Service Guide...
  • Page 485: Standards And Protocol Support

    Standards and Protocol Support Standards Compliance Efficient Handling of in-Profile RFC 1215 A Convention for Defining Traffic [Only for 7210 SAS-D] Traps for use with the SNMP IEEE 802.1ab-REV/D3 Station and RFC 1907 SNMPv2-MIB Media Access Control Connectivity IPv6 (only 7210 SAS-D and 7210 SAS- RFC 2011 IP-MIB Discovery RFC 2012 TCP-MIB...
  • Page 486 Standards and Protocols synchronous Ethernet equipment slave clock (EEC), issued 08/2007. draft-ietf-secsh-architecture.txt SSH Protocol Architecture ITU-T G.8264 Telecommunication Standardization Section of ITU, draft-ietf-secsh-userauth.txt SSH Distribution of timing information Authentication Protocol through packet networks, issued 10/ draft-ietf-secsh-transport.txt SSH 2008. Transport Layer Protocol IEEE Std 1588™-2008, IEEE Standard draft-ietf-secsh-connection.txt SSH for a Precision Clock...
  • Page 487: Index

    NDEX basic overview policies access egress overview configuring applying policies command reference 349, 375 default values modifying frame-based accounting overview configuring enable network policies configuring basic command reference default policy values overview network queue policies configuring applying to network ingress port basic overview port scheduler policies...
  • Page 488 Page 76 7210 SAS D, E, K OS Quality of Service...

This manual is also suitable for:

7210 sas k7210 sas d7210 sas e

Table of Contents