Alcatel-Lucent 7210 SAS M OS Quality Of Service Manual
Alcatel-Lucent 7210 SAS M OS Quality Of Service Manual

Alcatel-Lucent 7210 SAS M OS Quality Of Service Manual

Hide thumbs Also See for 7210 SAS M OS:
Table of Contents

Advertisement

7210 SAS M OS
Quality of Service Guide
Software Version: 7210 SAS M OS 5.0 Rev. 01
October 2012
Part Number: 93-0413-01-01
93-0413-01-01

Advertisement

Table of Contents
loading

Summary of Contents for Alcatel-Lucent 7210 SAS M OS

  • Page 1 7210 SAS M OS Quality of Service Guide Software Version: 7210 SAS M OS 5.0 Rev. 01 October 2012 Part Number: 93-0413-01-01 93-0413-01-01...
  • Page 2 This document is protected by copyright. Except as specifically permitted herein, no portion of the provided information can be reproduced in any form, or by any means, without prior written permission from Alcatel-Lucent. Alcatel, Lucent, Alcatel-Lucent and the Alcatel-Lucent logo are trademarks of Alcatel-Lucent. All other trademarks are the property of their respective owners.
  • Page 3: Table Of Contents

    Getting Started Alcatel-Lucent 7210 SAS-Series Services Configuration Process .......17 QoS Policies QoS Overview.
  • Page 4 Service Ingress Meter Selection Rules ..........233 Page 4 7210 SAS M OS Quality of Service Guide...
  • Page 5 Slope QoS Policy Command Reference..........405 7210 SAS M OS Quality of Service Guide...
  • Page 6 ................427 Page 6 7210 SAS M OS Quality of Service Guide...
  • Page 7 DSCP and Dot1p Marking ........... . .115 7210 SAS M OS Quality of Service Guide...
  • Page 8 Show QoS Slope Policy Output Fields ......... . . 418 Page 8 7210 SAS M OS Quality of Service Guide...
  • Page 9 Port Level Egress Rate-Limiting Frame Based Accounting Network QoS Policies Network Queue QoS Policies Service Ingress QoS Policies Access Egress QoS Policies QoS Port Scheduler Policies SlopeQueue Management QoS Policies 7210 SAS M OS Quality of Service Guide Page 9...
  • Page 10 List of Figures Page 10 7210 SAS M OS Quality of Service Guide...
  • Page 11: Preface

    SAS-Series routers. It is assumed that the network administrators have an understanding of networking principles and configurations. Protocols, standards, and services described in this manual include the following: • CLI concepts • Quality of Service (QoS) policies and profiles 7210 SAS M OS Quality of Service Guide Page 11...
  • Page 12: List Of Technical Publications

    Label Distribution Protocol (LDP). • 7210-SAS M, X OS OS Routing Protocols Guide This guide provides an overview of routing concepts and provides configuration examples for OSPF, IS-IS, and route policies. Page 12 7210 SAS M OS Quality of Service Guide...
  • Page 13: 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 14 Preface Page 14 7210 SAS M OS Quality of Service Guide...
  • Page 15: Getting Started

    This guide provides information to configure QoS policies in both network mode and access- uplink mode. Unless otherwise noted, many of the qos policies are applicable to both network mode and access-uplink mode. 7210 SAS M OS Quality of Service Guide Page 15...
  • Page 16: Alcatel-Lucent 7210 Sas-Series Services Configuration Process

    QoS Port Scheduler Policies on page 371 • Slope SlopeQueue Management QoS Policies on page 389 Reference • List of IEEE, IETF, and Standards and Protocol Support on page 423 other proprietary entities Page 16 7210 SAS M OS Quality of Service Guide...
  • Page 17 7210 SAS M OS Quality of Service Guide Page 17...
  • Page 18 Alcatel-Lucent 7210 SAS-Series Services Configuration Process Page 18 7210 SAS M OS Quality of Service Guide...
  • Page 19: Qos Policies

    Queue Parameters on page 45 • Queue ManagementSlope Policies on page 66 • Port Scheduler Policies on page 76 • QoS Policy Entities on page 83 • Configuration Notes on page 84 7210 SAS M OS Quality of Service Guide Page 19...
  • Page 20: Qos Overview

    The 7210 SAS M has extensive and flexible capabilities to classify, police, shape, and mark traffic. 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: Qos Policies

    The FCs are mapped onto the queues. There are 8 queues at the port level. FC-to-queue mapping is static and is not configurable. The number of queues are static 7210 SAS M OS Quality of Service Guide Page 21...
  • Page 22 A network QoS policy defines both ingress and egress behavior. One network queue policy can be applied to the network port or a access-uplink port. If no QoS policy is explicitly applied to a SAP, port or interface, a default QoS policy is applied. Page 22 7210 SAS M OS Quality of Service Guide...
  • Page 23: Table 3: Qos Policy Types And Descriptions

    Access uplink • Used for classification/marking of IP packets. mode ports • At ingress, defines Dot1p to FC mapping and 8 meters. • At egress, defines FC to Dot1p marking. 7210 SAS M OS Quality of Service Guide Page 23...
  • Page 24 • Enables or disables the high-slope, low-slope, Or access- and non-TCP parameters within the egress uplink mode pool. Port scheduler Network mode Port • Defines the parameters for the port scheduler. Or access- uplink mode Page 24 7210 SAS M OS Quality of Service Guide...
  • Page 25: Service And Network Qos Policies

    QoS marking interpretation. The 7210 SAS supports four types of service and network QoS policies: • Service ingress QoS policies • Access egress QoS policies 7210 SAS M OS Quality of Service Guide Page 25...
  • Page 26 QoS Overview • Network QoS policies • Network Queue QoS policies Page 26 7210 SAS M OS Quality of Service Guide...
  • Page 27: Network Qos Policies In Network Mode

    The required elements to be defined in a network QoS policy are: • A unique network QoS policy ID. • Egress forwarding class to EXP value mappings for each forwarding class. • A default ingress forwarding class and in-profile/out-of-profile state. 7210 SAS M OS Quality of Service Guide Page 27...
  • Page 28: Table 4: Default Network Qos Policy(Type = Ip-Interface) Egress Marking

    100 - 4 100 - 4 Low-1 011 - 3 010-2 Assured 011-3 010 - 2 Low-2 001 - 1 001 - 1 Best Effort 000 - 0 000 - 0 Page 28 7210 SAS M OS Quality of Service Guide...
  • Page 29: Table 5: Default Network Qos Policy (Type = Ip-Interface) Exp To Fc Mapping

    DSCP or Dot1p, per policy. → Defines forwarding class to meter mapping. • Egress → Specifies remark policy that defines forwarding class to DSCP or Dot1p (or both) value markings. 7210 SAS M OS Quality of Service Guide Page 29...
  • Page 30: Table 6: Default Network Qos Policy Of Type 'Port' Egress Marking

    Egress Dot1p Marking In-Profile Out-of-Profile In-Profile Out-of-profile Network 111 - 7 111 - 7 Control High-1 110-6 110-6 Expedited 101-5 101-5 High-2 af41 af41 100-4 100-4 Low-1 af21 af22 011-3 010-2 Page 30 7210 SAS M OS Quality of Service Guide...
  • Page 31: Table 7: Default Network Qos Policy Of Type Port - Dot1P/Dscp To Fc Mapping

    QoS policy of type port. Color aware policing is supported on network ingress. Table 7: Default Network QoS Policy of Type Port - Dot1p/DSCP to FC Mapping DSCP Value Dot1p Value FC Ingress Profile 7210 SAS M OS Quality of Service Guide Page 31...
  • Page 32: Network Qos Policies For Access-Uplink Mode

    If the profile state is marked in the service core packets, out-of-profile packets are preferentially dropped over in- profile packets at congestion points in the core network. For network egress, traffic remarking in Page 32 7210 SAS M OS Quality of Service Guide...
  • Page 33 QoS policy. Color aware policing is supported on ingress for access-uplink ports. Table 9: Default Network QoS Policy of Type ‘port’ used for Dot1p to FC on Access-uplink Ports Dot1pValue 7210 FC Ingress Profile 7210 SAS M OS Quality of Service Guide Page 33...
  • Page 34: Table 9: Default Network Qos Policy Of Type 'Port' Used For Dot1P To Fc On Access-Uplink Ports

    QoS Overview Table 9: Default Network QoS Policy of Type ‘port’ used for Dot1p to FC on Access-uplink Ports (Continued) Dot1pValue 7210 FC Ingress Profile Page 34 7210 SAS M OS Quality of Service Guide...
  • Page 35: Network Queue Qos Policies

    • PIR = 100% High-2 (h2) • CIR = 100% • CBS = 12.5% Queue 4 • PIR = 100% Low-1 (l1) • CIR = 25% • CBS = 12.5% 7210 SAS M OS Quality of Service Guide Page 35...
  • Page 36: Table 11: Default Network Queue Policy Definition (For 7210 Sas-M Configured In Access Uplink Mode)

    • PIR = 100% High-2 (h2) • CIR = 100% • CBS = 21% Queue 4 • PIR = 100% Low-1 (l1) • CIR = 25% • CBS = 7% Page 36 7210 SAS M OS Quality of Service Guide...
  • Page 37 • PIR = 100% Low-2 (l2) • CIR = 25% • CBS = 7% Queue 1 • PIR = 100% Best-Effort (be) • CIR = 0% • CBS = 7% 7210 SAS M OS Quality of Service Guide Page 37...
  • Page 38: Meter Parameters

    Refer to the interpretation of the administrative CIR in Adaptation Rule for Meters on page The CIR for meter is provisioned on service ingress and network ingress within service ingress QoS policies and network QoS policies, respectively. Page 38 7210 SAS M OS Quality of Service Guide...
  • Page 39: Table 12: Supported Hardware Rates And Burst Step Sizes For Cir And Pir Values

    8000 4096 4194297-8388592 16774-33546 16000 8192 8388593-16777184 33547-67092 32000 16384 16777185-33554368 67093-134184 64000 32768 33554369-67108736 134185-268369 128000 65536 67108737-134217472 268370-536739 256000 131072 134217473-268434944 536739-1073479 512000 262144 268434945-536869888 1073480-2146959 1024000 524288 7210 SAS M OS Quality of Service Guide Page 39...
  • Page 40: Table 13: Administrative Rate Example

    The committed burst size parameter specifies the maximum burst size that can be transmitted by the source at the CIR while still complying with the CIR. If the transmitted burst is lower than the Page 40 7210 SAS M OS Quality of Service Guide...
  • Page 41 If the packet burst is higher than MBS then packets are marked as red are dropped. The operational MBS set by the system is adapted from the user configured value by using the minimum constraint. 7210 SAS M OS Quality of Service Guide Page 41...
  • Page 42 The profile marked by the meter is used to determine the packets eligibility to be enqueued into a buffer at the egress (when a slope policy is configured at the egress). Page 42 7210 SAS M OS Quality of Service Guide...
  • Page 43: Queue Parameters

    QoS policy within which the queue is defined. On 7210 SAS M, the queue ID is not a user configurable entity but the queue ID is statically assigned to the 8 Queues on the port according to FC-QID map table shown in Table 7210 SAS M OS Quality of Service Guide Page 43...
  • Page 44 (for 7210 SAS M in access uplink mode) are defined within network queue policies based on the forwarding class. The CIR for the network queues is specified as a percentage of the network interface bandwidth. Page 44 7210 SAS M OS Quality of Service Guide...
  • Page 45 PIR should the hardware not support the exact CIR and PIR values specified. The interpretation of the administrative PIR is discussed below in Adaptation Rule for Queues on page 48 7210 SAS M OS Quality of Service Guide Page 45...
  • Page 46: Table 14: Supported Hardware Rates And Cir/Pir Values

    Hardware Rate Steps Rate Range (kbps) 8 Kb/sec 0 - 16770 kbps 16kbps 16780 - 33540 kbps 32kbps 33550 - 67090 kbps 64kbps 67100 - 134180 kbps 128kbps 134190 - 268360 kbps Page 46 7210 SAS M OS Quality of Service Guide...
  • Page 47: Table 16: Supported Hardware Rates And Cir/Pir Values For 10-Gig Port

    If the adaptation rule is closest, the operational CIR and PIR values will be 88 Kbps and 152 Kbps, respectively, as those are the closest matches for the administrative values that are even multiples of the 8 Kbps rate step. 7210 SAS M OS Quality of Service Guide Page 47...
  • Page 48: Service Ingress Qos Policies

    Each meter can have unique meter parameters to allow individual policing of the flow mapped to the forwarding class. Figure 4 depicts service traffic being classified into three different forwarding classes. Page 48 7210 SAS M OS Quality of Service Guide...
  • Page 49 The entries are evaluated in numerical order based on the entry ID from the lowest to highest ID value. The first entry that matches all match criteria has its action performed. 7210 SAS M OS Quality of Service Guide Page 49...
  • Page 50: Table 17: Service Ingress Qos Policy Ip Match Criteria In 7210 Sas-M Network Mode

    IPv6 128-bit source and mask, IPv6 PBB services) 128-bit destination and mask, IP protocol/next-header, TCP/UDP source port, TCP/UDP destination port, (available only for SAPs in VPLS, VLL, PBB Epipe I-SAP, PBB VPLS I-SAP) Page 50 7210 SAS M OS Quality of Service Guide...
  • Page 51 Destination MAC address/mask, EtherType Value/Mask (available for VLL, VPLS, and IES services. The MAC match criteria that can be used for an Ethernet frame depends on the frame’s format. Table 7210 SAS M OS Quality of Service Guide Page 51...
  • Page 52 • Forward Class: best-effort (be) • CIR = 0 • PIR = max (4000000 kbps in case of a LAG with four member ports) • MBS, CBS = default (values derived from applicable policy) Page 52 7210 SAS M OS Quality of Service Guide...
  • Page 53 FC per traffic type policing function. Please refer to the Resource Allocation for Service Ingress QoS policies on page 237 to know more about resource usage and allocation to SAP ingress policies. 7210 SAS M OS Quality of Service Guide Page 53...
  • Page 54: Hierarchical Ingress Policing

    There are 8 queues always available per access port and all forwarding classes traffic is mapped into these separate 8 queue as per Table 32, Forwarding Class to Queue-ID Map, on page 82. To define a basic access egress QoS policy, the following are required: Page 54 7210 SAS M OS Quality of Service Guide...
  • Page 55 Access egress QoS policy ID 1 is reserved as the default access ports which do not have another access egress policy explicitly assigned. The characteristics of the default policy are listed in the following table. 7210 SAS M OS Quality of Service Guide Page 55...
  • Page 56 • PIR = max (line rate) • 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 56 7210 SAS M OS Quality of Service Guide...
  • Page 57 Table 25: 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) 7210 SAS M OS Quality of Service Guide Page 57...
  • Page 58: Buffer Pools

    64 bytes to jumbo frames. Page 58 7210 SAS M OS Quality of Service Guide...
  • Page 59 Access, network pools (in network mode) and access uplink pools (in access uplink mode) are created at the port level; creation is dependent on the physical port mode (network , access, or access uplink). 7210 SAS M OS Quality of Service Guide Page 59...
  • Page 60 RED slopes to determine buffer availability on a packet by packet basis. A packet that was either classified as high priority or considered in-profile is handled by the high-priority RED slope. This slope should be configured with RED parameters that prioritize buffer availability over Page 60 7210 SAS M OS Quality of Service Guide...
  • Page 61 If the buffers are from the CBS portion of the queue, the returned buffers do not result in a change in the shared buffer utilization. 7210 SAS M OS Quality of Service Guide Page 61...
  • Page 62 The 7210 SAS M implements a time average factor (TAF) parameter in the buffer policy which determines the contribution of the historical shared buffer utilization and the instantaneous Shared Buffer Utilization (SBU) in calculating the SBAU. The TAF defines a Page 62 7210 SAS M OS Quality of Service Guide...
  • Page 63 1/2 (0.5) 1/4 (0.25) 3/4 (0.75) 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) 7210 SAS M OS Quality of Service Guide Page 63...
  • Page 64 The TAF value applies to all high and low priority RED slopes for ingress and egress buffer pools controlled by the buffer policy. Page 64 7210 SAS M OS Quality of Service Guide...
  • Page 65 (for default policy) High (RED) slope Administrative state Shutdown start-avg 70% utilization max-avg 90% utilization max-prob Low (RED) slope Administrative state Shutdown start-avg 50% utilization max-avg 75% utilization max-prob 7210 SAS M OS Quality of Service Guide Page 65...
  • Page 66 Table 27: Default Slope Policy Definition (for 7210 SAS-M configured in Network mode) (Continued) Parameter Description Setting Non-TCP (RED) slope Administrative State Shutdown start-avg 50% utilization max-avg 75% utilization max-prob Page 66 7210 SAS M OS Quality of Service Guide...
  • Page 67: Cpu Queues

    DoS attacks. The software programs the classification entries to identify these packets and assigns appropriate bandwidth and priority to them. It is not configurable by the user. 7210 SAS M OS Quality of Service Guide Page 67...
  • Page 68: Port Scheduler Policies

    1 Gbps 10 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps 50 Mbps 1 Gbps Page 68 7210 SAS M OS Quality of Service Guide...
  • Page 69 Strict + WRR/WDRR — If the WRR/WDRR weight associated with a particular CoS queue is set to strict, the queue is considered to be in a strict priority mode. This set of 7210 SAS M OS Quality of Service Guide Page 69...
  • Page 70: Cpu Queues

    These packets are rate-limited to prevent DoS attacks. The software programs the classification entries to identify these packets and assigns appropriate bandwdith and priority to them. It is not configurable by the user. Page 70 7210 SAS M OS Quality of Service Guide...
  • Page 71: Egress Port Rate Limiting

    It also allows the user to control the amount of burst sent out. 7210 SAS M OS Quality of Service Guide Page 71...
  • Page 72: Forwarding Classes

    Network QoS Policies in Network Mode on page 29. All forwarding class queues support the concept of in-profile and out-of-profile. Page 72 7210 SAS M OS Quality of Service Guide...
  • Page 73 The stystem defined map is as shown in Table FC-QiD Table 30: Forwarding Class to Queue-ID Map FC-ID FC Name FC Designation Queue-ID Network control High-1 Expedited High-2 Low-1 Assured Low-2 Best-Effort 7210 SAS M OS Quality of Service Guide Page 73...
  • Page 74: Qos Policy Entities

    QoS prioritizes traffic according to the forwarding class and uses congestion management to control access ingress, access egress, and network traffic (network port or access-uplink port) , enqueuing packets according to their priority (color). Page 74 7210 SAS M OS Quality of Service Guide...
  • Page 75: Configuration Notes

    Default policies are created for service ingress, access service egress, network, network- queue, slope, and port scheduler. • Associating a service or access uplink or IP interface or network ports with a QoS policy other than the default policy is optional. 7210 SAS M OS Quality of Service Guide Page 75...
  • Page 76 Configuration Notes Page 76 7210 SAS M OS Quality of Service Guide...
  • Page 77: Port Level Egress Rate-Limiting

    This section provides information to configure port level egress-rate using the command line interface. Topics in this section include: • Overview on page 86 • Basic Configurations on page 88 • Configuration Commands on page 92 7210 SAS M OS Quality of Service Guide Page 85...
  • Page 78: Overview

    When ports are members of a LAG, all the ports use the same value for the egress-rate and the max-burst parameters. • If frame overhead accounting is enabled, then queue scheduler accounts for the Ethernet frame overhead. Page 86 7210 SAS M OS Quality of Service Guide...
  • Page 79: Affect Of Port Level Rate-Limiting On Network Queue Functionality

    • When the egress-rate sub-rate value is set, CBS/MBS of the associated network queues will not change. 7210 SAS M OS Quality of Service Guide Page 87...
  • Page 80: Basic Configurations

    By default there is no egress-rate command set on port. By default egress-rate for a port is maximum (equal to line-rate). The following displays the egress-rate configuration for a port: *A:Dut-1>config>port# info ---------------------------------------------- ethernet egress-rate 120000 max-burst 234 exit no shutdown ---------------------------------------------- *A:Dut-1>config>port# Page 88 7210 SAS M OS Quality of Service Guide...
  • Page 81: Modifying Port Level Egress-Rate Command

    The following displays the egress-rate configuration for a port: *A:Dut-1>config>port# ethernet egress-rate 10000 max-burst default *A:Dut-1>config>port# info ---------------------------------------------- ethernet egress-rate 10000 exit no shutdown ---------------------------------------------- *A:Dut-1>config>port# 7210 SAS M OS Quality of Service Guide Page 89...
  • Page 82: Removing Port Level Egress-Rate Command

    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 ---------------------------------------------- ethernet exit no shutdown ---------------------------------------------- *A:Dut-1>config>port# Default Egress-Rate Values By default no egress-rate is configured for a port. Page 90 7210 SAS M OS Quality of Service Guide...
  • Page 83: Port Level Egress-Rate Command Reference

    Port Level Egress-Rate Command Reference Command Hierarchies Configuration Commands config — port — ethernet max sub-rate [max-burst size-in-kbits] — egress-rate — no egress-rate Show Commands show [port-id] — port 7210 SAS M OS Quality of Service Guide Page 91...
  • Page 84 — Specifies an integer value between 1 and 1000000 kbps and between 1 and 10000000 kbps for Parameters 10G port. max-burst size-in-kbits — Specifies an integer value, in kilo-bits, between 32 and 16384 or default. Page 92 7210 SAS M OS Quality of Service Guide...
  • Page 85: Table 18: S

    Alarm Status Transceiver Data Transceiver Type : SFP Model Number : 3HE00062AAAA01 IPUIAEHDAA6 TX Laser Wavelength: 0 nm Diag Capable : no Connector Code : Unknown Vendor OUI : 00:90:65 7210 SAS M OS Quality of Service Guide Page 93...
  • Page 86 Alignment Errors : Sngl Collisions FCS Errors Mult Collisions SQE Test Errors Late Collisions Excess Collisns Too long Frames Int MAC Tx Errs Symbol Errors Int MAC Rx Errs =============================================================================== *A:MTU-T2>config>port>ethernet# Page 94 7210 SAS M OS Quality of Service Guide...
  • Page 87: Frame Based Accounting

    This section provides information to configure frame-based accounting using the command line interface. Topics in this section include: • Overview on page 96 • Basic Configurations on page 97 • Configuration Commands on page 100 7210 SAS M OS Quality of Service Guide Page 95...
  • Page 88: Overview

    When disabled, the egress-rate command does not account for the Ethernet frame overhead. Accounting and Statistics Accounting logs and statistics do not account for frame overhead. Page 96 7210 SAS M OS Quality of Service Guide...
  • Page 89: Basic Configurations

    The egress-enable command enables frame-based-accounting for egress queue rates, scheduler and port level egress-rate. The following displays the frame-based accounting configuration: *A:Dut-1>config>qos>frame-based-accounting# info detail ---------------------------------------------- no ingress-enable no egress-enable ---------------------------------------------- *A:Dut-1>config>qos>frame-based-accounting# 7210 SAS M OS Quality of Service Guide Page 97...
  • Page 90: Enabling And Disabling Frame-Based Accounting

    The following output displays the disabling of frame-based-accounting: *A:Dut-1>config>qos>frame-based-accounting# no ingress-enable *A:Dut-1>config>qos>frame-based-accounting# no egress-enable *A:Dut-1>config>qos>frame-based-accounting# info detail ---------------------------------------------- no ingress-enable no egress-enable ---------------------------------------------- *A:Dut-1>config>qos>frame-based-accounting# Default Frame-Based-Accounting Values By default frame-based-accounting is disabled for both ingress and egress. Page 98 7210 SAS M OS Quality of Service Guide...
  • Page 91: Frame Based Accounting Command Reference

    — [no] egress-enable — [no] ingress-enable Show Commands show — qos [policy-id] [association|detail] — accesssap-egress [policy-id] [detail] — network [network-queue-policy-name] [detail] — network-queue [port-scheduler-policy-name] [association] — port-scheduler-policy [policy-id] [association|match-criteria|detail] — sap-ingress 7210 SAS M OS Quality of Service Guide Page 99...
  • Page 92: Configuration Commands

    [no] ingress-enable Context config>qos>frame-based-accounting This command enables the frame-based-accounting for sap-ingress and network QoS. Description The no form of the command disables frame-based-accounting for sap-ingress and network QoS. disabled Default Page 100 7210 SAS M OS Quality of Service Guide...
  • Page 93: Show Commands

    This command displays the accounting status of a network qos policy along with other details of Description the policy. When frame-based-accounting is enabled accounting is shown as frame-based otherwise packet-based. policy-id — Displays information about the specific policy ID. Parameters 7210 SAS M OS Quality of Service Guide Page 101...
  • Page 94 Sample Output *A:Dut-1# show qos access-egress 1 =============================================================================== QoS Access Egress =============================================================================== ------------------------------------------------------------------------------- Policy-id Scope : Template Remark : False Accounting : frame-based Description : Default Access egress QoS policy. Page 102 7210 SAS M OS Quality of Service Guide...
  • Page 95 Port-id : 1/1/14 Port-id : 1/1/15 Port-id : 1/1/16 Port-id : 1/1/17 Port-id : 1/1/18 Port-id : 1/1/20 Port-id : 1/1/21 Port-id : 1/1/22 Port-id : 1/1/23 Port-id : 1/1/24 =============================================================================== *A:Dut-1# 7210 SAS M OS Quality of Service Guide Page 103...
  • Page 96 *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 : STRICT Last changed : 08/06/2001 18:36:04 Number Of Queues Page 104 7210 SAS M OS Quality of Service Guide...
  • Page 97 7210 SAS M OS Quality of Service Guide Page 105...
  • Page 98 Show Commands Page 106 7210 SAS M OS Quality of Service Guide...
  • Page 99: Network Qos Policies

    Topics in this section include: • Overview on page 108 • Basic Configurations on page 118 • Default Network Policy Values on page 123 • Service Management Tasks on page 129 7210 SAS M OS Quality of Service Guide Page 107...
  • Page 100: Overview

    Network policy-id 2 exists as the default policy that is applied to all IP interface by default. The network policy-id 2 cannot be modified or deleted. It defines the default LSP EXP-to-FC mapping Page 108 7210 SAS M OS Quality of Service Guide...
  • Page 101 MPLS packets. For the egress, it defines eight forwarding classes which defines LSP EXP values and the packet marking criteria. 7210 SAS M OS Quality of Service Guide Page 109...
  • Page 102: Network Qos Policy In Access Uplink Mode

    For information about the tasks and commands necessary to access the command line interface and to configure and maintain your devices, refer to CLI Usage chapter in the OS Basic System Configuration Guide. Page 110 7210 SAS M OS Quality of Service Guide...
  • Page 103: Normal Qos Operation

    The default QoS mapping always exists on an ingress access uplink port and every received packet will be mapped to this default if another explicitly defined matching entry does not exist. 7210 SAS M OS Quality of Service Guide Page 111...
  • Page 104: Network Qos Policy (Ip-Interface Type) Functionality

    After executing ldp-use-local-fc-enable, the following is possible: • LSPs setup using LDP uses a global mpls-lsp-exp-profile-map policy. By default, the system assigns a default mpls-lsp-exp-profile-map policy. User has an option to change Page 112 7210 SAS M OS Quality of Service Guide...
  • Page 105 Qos policy for all MPLS traffic received on an IP interface irrespective of whether its LDP or RSVP LSP. User cannot execute 'no ldp-use-local-fc-enabled' after executing 'ldp-use-local-fc-enable'. 7210 SAS M OS Quality of Service Guide Page 113...
  • Page 106: Upgrading From Release 3.0 To Release 4.0

    Please take a backup of the existing configuration file before this since once this command is executed and user modifies the existing policies, they cannot use the com- mand 'no ldp-use-local-fc-enable' (release 3.0 behavior) anymore. Page 114 7210 SAS M OS Quality of Service Guide...
  • Page 107: Dscp Marking Cpu Generated Traffic

    Table 33: DSCP and Dot1p Marking DSCP Dot1P Default DSCP DOT1P Protocol IPv4 Marking Marking Values Values OSPF ISIS TLDP RSVP SNMP TELNET TFTP SYSLOG TACACS RADIUS ICMP Req ICMP Res ICMP Unreach 7210 SAS M OS Quality of Service Guide Page 115...
  • Page 108 Dot1P Default DSCP DOT1P Protocol IPv4 Marking Marking Values Values Trace route TACPLUS Note: DSCP and Dot1P values in the table are applicable when remarking is disabled at port level. Page 116 7210 SAS M OS Quality of Service Guide...
  • Page 109: Default Dscp Mapping Table

    0x22 0b100010 af42 0x24 0b100100 af43 0x26 0b100110 default* *The default forwarding class mapping is used for all DSCP names/values for which there is no explicit forwarding class mapping. 7210 SAS M OS Quality of Service Guide Page 117...
  • Page 110: Basic Configurations

    → LSP EXP — Creates a mapping between the EXP bits of the network ingress traffic and the forwarding class. Ingress traffic that matches the specified EXP bits will be assigned to the corresponding forwarding class. Page 118 7210 SAS M OS Quality of Service Guide...
  • Page 111 You can modify egress Dot1p marking map. Otherwise, the default values are applied. → Remarking — When enabled, this command remarks ALL packets that egress on the specified network port. The remarking is based on the forwarding class to Dot1p bit mapping. 7210 SAS M OS Quality of Service Guide Page 119...
  • Page 112 Use the following CLI syntax to create a network QoS policy for 7210 SAS M in access uplink mode: CLI Syntax: config>qos# network policy-id [network-policy-type network-policy-type] description description-string Page 120 7210 SAS M OS Quality of Service Guide...
  • Page 113 CLI Syntax: network port (in network mode) config> port ethernet network qos network-policy-id CLI Syntax: access uplink port (in access-uplink mode) config>port ethernet access uplink 7210 SAS M OS Quality of Service Guide Page 121...
  • Page 114 The following output displays the configuration for router interface ALA-1-2 with network policy 600 applied to the network IP interface. A:ALA-7>config>router# info #------------------------------------------ echo "IP Configuration" #------------------------------------------ interface "ALA-1-2" address 10.10.4.3/24 qos 600 exit ---------------------------------------------- A:ALA-7>config>router# Page 122 7210 SAS M OS Quality of Service Guide...
  • Page 115: Default Network Policy Values

    7210 SAS M OS Quality of Service Guide Page 123...
  • Page 116: Table 35: Default Network Qos Policy Of Type Ip Interface, Lsp Exp To Fc Mapping On Ingress

    The following output displays the parameters for default network policy of type port when in network mode of operation: *A:ALA>config>qos>network# info detail ---------------------------------------------- description "Default network-port QoS policy." Page 124 7210 SAS M OS Quality of Service Guide...
  • Page 117 6 dot1p-out-profile 6 exit fc h2 dscp-in-profile af41 dscp-out-profile af41 dot1p-in-profile 4 dot1p-out-profile 4 exit fc l1 dscp-in-profile af21 dscp-out-profile af22 dot1p-in-profile 3 dot1p-out-profile 2 exit fc l2 dscp-in-profile cs1 7210 SAS M OS Quality of Service Guide Page 125...
  • Page 118 7 fc nc 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 ---------------------------------------------- *A:SAS-M>config>qos>network# Page 126 7210 SAS M OS Quality of Service Guide...
  • Page 119: Service Management Tasks

    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. 7210 SAS M OS Quality of Service Guide Page 127...
  • Page 120: Remove A Policy From The Qos Configuration

    "Default network QoS policy." scope template ingress default-action fc be profile out network 700 create description "Default network QoS policy." scope template ingress default-action fc be profile out --------------------------------------------- A:ALA-12>config>qos# Page 128 7210 SAS M OS Quality of Service Guide...
  • Page 121: Editing Qos Policies

    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. The number of meters (TP) used are: 5 ( Meters 1,2,3,9,12). 7210 SAS M OS Quality of Service Guide Page 129...
  • Page 122: Resource Allocation For Network Qos Policy

    If a FC is in use and is created with an explicit unicast meter and explicit multicast meter, use the unicast meter for unicast traffic and multicast meter for all other kinds of traffic. This requires two classification entries in hardware. Page 130 7210 SAS M OS Quality of Service Guide...
  • Page 123 Determine number of policers or meters to use (for example TP). A maximum of 12 meters per network policy is available. Only those meters that are associated with FCs need to be considered for number of meters. Note, that only FCs in use are considered. 7210 SAS M OS Quality of Service Guide Page 131...
  • Page 124: Network Qos Policies Resource Usage Examples

    The number of meters (TP) used are: 2 (meter 1 and 9). Example 2 network 2 network-policy-type ip-interface create description “network-policy-2” ingress default-action fc be meter 1 create exit meter 2 create exit meter 9 multipoint create Page 132 7210 SAS M OS Quality of Service Guide...
  • Page 125 1 create exit meter 2 create exit meter 9 multipoint create exit meter 12 multipoint create exit fc "af" create meter 2 multicast-meter 12 exit fc "be" create 7210 SAS M OS Quality of Service Guide Page 133...
  • Page 126 (2 * 0)nc + (2 * 0)h1 + (2 * 0)ef + (2 * 0)h2 + (2 * 0)l1 + (2 * 1)af + (2 * 0)l2 + (2 * 1)be = 4 The number of meters (TP) user are: 2 ( Meters 2,12). Page 134 7210 SAS M OS Quality of Service Guide...
  • Page 127 (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: 2 (Meters 1,9). Example 5 network 5 network-policy-type ip-interface create description “network-policy-5” ingress default-action fc be meter 1 create 7210 SAS M OS Quality of Service Guide Page 135...
  • Page 128 (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: 2 ( Meters 1,9 – Note that meters 2 and 12 are not accounted for, since its not associated with any FC). Page 136 7210 SAS M OS Quality of Service Guide...
  • Page 129 6 fc h1 lsp-exp 7 fc nc exit egress fc af exit fc be exit fc ef exit fc h1 exit fc h2 exit fc l1 exit fc l2 exit 7210 SAS M OS Quality of Service Guide Page 137...
  • Page 130 6 fc h1 lsp-exp 7 fc nc exit egress no remarking fc af lsp-exp-in-profile 3 lsp-exp-out-profile 2 exit fc be lsp-exp-in-profile 0 lsp-exp-out-profile 0 exit fc ef lsp-exp-in-profile 5 lsp-exp-out-profile 5 exit Page 138 7210 SAS M OS Quality of Service Guide...
  • Page 131 7 multipoint create exit meter 8 multipoint create exit meter 9 multipoint create exit meter 12 multipoint create exit fc "af" create meter 2 multicast-meter 12 exit fc "ef" create 7210 SAS M OS Quality of Service Guide Page 139...
  • Page 132 (2 * 2)nc + (2 * 0)h1 + (2 * 1)ef + (2 * 0)h2 + (2 * 0)l1 + (2 * 1)af + (2 * 1)l2 + (0 * 0)be = The numbers of meters (TP) used is: 6 (Meters 2, 3, 4, 7, 8, 12). Page 140 7210 SAS M OS Quality of Service Guide...
  • Page 133 Network QoS Policies 7210 SAS M OS Quality of Service Guide Page 141...
  • Page 134 Service Management Tasks Page 142 7210 SAS M OS Quality of Service Guide...
  • Page 135: Network Qos Policy Command Reference

    — no lsp-exp-in-profile — lsp-exp-out-profile lsp-exp-value — no lsp-exp-out-profile — [no] remarking — ingress fc fc-name profile {in | out} — default-action dot1p-priority fc fc-name profile {in | out} — dot1p 7210 SAS M OS Quality of Service Guide Page 143...
  • Page 136 — no adaptation-rule — size-in-kbits — no — size-in-kbits — no {trtcm 1| srtcm} — mode — no mode cir-rate-in-kbps [pir pir-rate-in-kbps] — rate — no rate — [no] mpls-lsp-exp-profile policy-id Page 144 7210 SAS M OS Quality of Service Guide...
  • Page 137 — no mode — rate cir-rate-in-kbps [pir pir-rate-in-kbps] — no rate Operational Commands (for network mode or access-uplink mode of operation) config — qos network src-pol dst-pol [overwrite] — copy 7210 SAS M OS Quality of Service Guide Page 145...
  • Page 138 Network QoS Policy Command Reference Show Commands (for network mode or access-uplink mode of operation) show — qos policy-id [detail] — network [policy-id] [detail] — mpls-lsp-exp-profile Page 146 7210 SAS M OS Quality of Service Guide...
  • Page 139 — A text string describing the entity. Allowed values are any string up to 80 characters Parameters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 147...
  • Page 140 This command configures the network policy scope as exclusive or template. Description The no form of this command sets the scope of the policy to the default of template. template Default Page 148 7210 SAS M OS Quality of Service Guide...
  • Page 141 Default QoS policies are configured with template scopes. An error is generated if you try to modify the template scope parameter to exclusive scope on default policies. 7210 SAS M OS Quality of Service Guide Page 149...
  • Page 142: Network Qos Policy Commands (For 7210 Sas M In Access Uplink Mode)

    LSP EXP or DSCP to FC mapping (as appropriate). You can modify parameters or use the no modifier to remove an object from the configuration. Page 150 7210 SAS M OS Quality of Service Guide...
  • Page 143 ID as the network policy ID. The values that map the lsp-exp bits to a profile value can be modified by the user. The system deletes the policy when the associated network policy is deleted. 7210 SAS M OS Quality of Service Guide Page 151...
  • Page 144 0 — 7 Values profile — Assign the profile value to be assigned to this LSP EXP value. None, the lsp-exp command must define a profile state. Default Values in, out Values Page 152 7210 SAS M OS Quality of Service Guide...
  • Page 145 When ‘ldp-use-local-fc-enable’ is set, by default the system assigns the default policy ID “1”. User can create new policies and specify the new policy instead of the default policy. 7210 SAS M OS Quality of Service Guide Page 153...
  • Page 146 IP interfaces need to share a single network policy. IP interfaces that share the policy will use the same EXP bits to FC mapping. Page 154 7210 SAS M OS Quality of Service Guide...
  • Page 147 Qos policy for all MPLS traffic received on an IP interface irrespective of whether its LDP or RSVP LSP. Note: User cannot execute the command ‘no ldp-use-local-fc-enable’ after executing the command ‘ldp-use-local-fc-enable’. no ldp_fc_local_enable Default 7210 SAS M OS Quality of Service Guide Page 155...
  • Page 148 Dot1p or DSCP to FC mapping (as appropriate). You can modify parameters or use the no modifier to remove an object from the configuration. Page 156 7210 SAS M OS Quality of Service Guide...
  • Page 149 The default network policy policy-id 1 cannot be deleted. System Default Network Policy 1 Default network-policy-id — The policy-id uniquely identifies the policy on the 7210 SAS. Parameters none Default 1— 65535 Values 7210 SAS M OS Quality of Service Guide Page 157...
  • Page 150 On egress, in case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets. The profile can be specified in 3.0 release None Default in, out Values Page 158 7210 SAS M OS Quality of Service Guide...
  • Page 151 In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets. none, the profile name must be specified. Default 7210 SAS M OS Quality of Service Guide Page 159...
  • Page 152 The multipoint keyword can be entered in the command line on a pre-existing multipoint meter to edit meter-id parameters. multipoint or not present Values Not present (the meter is created as non-multipoint) Default Page 160 7210 SAS M OS Quality of Service Guide...
  • Page 153 The no form of the command sets the multicast forwarding type meter-id back to the default meter for the forwarding class. Default meter-id — Specifies the multicast meter. The specified parameter must be an existing, multipoint meter Parameters defined in the config>qos>network>ingress context. 1— 12 Values 7210 SAS M OS Quality of Service Guide Page 161...
  • Page 154 If a second dscp-name that references the same dscp-value is mapped within the policy, an error will occur. The second name will not be accepted until the first name is removed. Page 162 7210 SAS M OS Quality of Service Guide...
  • Page 155: Table 36: Default Dscp Names To Dscp Value Mapping Table

    Table 37: Default Class Selector Code Points to DSCP Value Mapping Table DSCP Name DSCP Value DSCP Value DSCP Value Decimal Hexadecimal Binary 0x38 0b111000 0X30 0b110000 0x28 0b101000 0x20 0b100000 7210 SAS M OS Quality of Service Guide Page 163...
  • Page 156 The no form of this command removes the association of the LSP EXP bit value to the forwarding class. The default-action then applies to that LSP EXP bit pattern. none Default Page 164 7210 SAS M OS Quality of Service Guide...
  • Page 157 The cir parameter requires a qualifier that defines the constraint used when deriving the operational CIR for the meter. When the cir parameter is not specified, the default constraint applies. 7210 SAS M OS Quality of Service Guide Page 165...
  • Page 158 PIR while complying with the PIR. If the transmitted burst is lower than the MBS value then the packets are marked as out-profile by the meter to indicate that the traffic is not complying with CIR, but complying with PIR. Page 166 7210 SAS M OS Quality of Service Guide...
  • Page 159 CBS, yellow if it does exceed the CBS, but not the cir and red otherwise. The srTCM is useful, for example, for ingress policing of a service, where only the length, not the peak rate, of the burst determines service eligibility. 7210 SAS M OS Quality of Service Guide Page 167...
  • Page 160 Fractional values are not allowed and must be given as a positive integer. The actual PIR rate is dependent on the meter’s adaptation-rule parameters and the actual hardware where the meter is provisioned. — 20000000, max Values Page 168 7210 SAS M OS Quality of Service Guide...
  • Page 161 If the fc-name is removed from the network policy that forwarding class reverts to the factory defaults. Undefined forwarding classes default to the configured parameters in the default network policy Default policy-id 1. 7210 SAS M OS Quality of Service Guide Page 169...
  • Page 162 Network Egress QoS Policy Commands fc-name — The case-sensitive, system-defined forwarding class name for which policy entries will be Parameters created. none Default be, l2, af, l1, h2, ef, h1, nc Values Page 170 7210 SAS M OS Quality of Service Guide...
  • Page 163 A maximum of eight dot1p rules are allowed on a single policy. 0 — 7 Values 7210 SAS M OS Quality of Service Guide Page 171...
  • Page 164 The no form of this command reverts to the factory default in-profile dscp-name setting for policy- id 1. dscp-name — System- or user-defined, case-sensitive dscp-name. Parameters none Default Any defined system- or user-defined dscp-name Values Page 172 7210 SAS M OS Quality of Service Guide...
  • Page 165 Policy-id 2: Factory setting Default Policy-id 3 — 65535: Policy-id setting lsp-exp-value — The 3-bit LSP EXP bit value, expressed as a decimal integer. Parameters none Default 0 — 7 Values 7210 SAS M OS Quality of Service Guide Page 173...
  • Page 166 The packets are placed in the appropriate forwarding class based on the LSP EXP to forwarding class mapping. The LSP EXP bits of such packets are not altered as the packets egress this router, unless remarking is enabled. Page 174 7210 SAS M OS Quality of Service Guide...
  • Page 167 The Dot1p mapping is defined in the network policy of type port. The no form of this command reverts to the default behavior. no remarking — Remarking disabled in the Network QoS policy. Default 7210 SAS M OS Quality of Service Guide Page 175...
  • Page 168: Table 38: Show Qos Network Output Fields

    FC Name Specifies the EXP marking for the packets which are Profile Out — out-of-profile, egressing on this queue. In — Specifies the EXP markings for in-profile packets egressing this queue. Page 176 7210 SAS M OS Quality of Service Guide...
  • Page 169 Forward Class : be Profile : Out Attach Mode : l2 Config Mode : l2+mpls Scope : Template Policy Type : port Accounting : packet-based Description : Default network-port QoS policy. 7210 SAS M OS Quality of Service Guide Page 177...
  • Page 170 Out-of-Profile : af22 In-Profile : af21 - Dot1p Mapping Out-of-Profile : 2 In-Profile FC Value FC Name : h2 - DSCP Mapping Out-of-Profile : af41 In-Profile : af41 - Dot1p Mapping Page 178 7210 SAS M OS Quality of Service Guide...
  • Page 171 Port-id : 1/1/18 Port-id : 1/1/20 Port-id : 1/1/21 Port-id : 1/1/22 Port-id : 1/1/23 Port-id : 1/1/24 =============================================================================== *A:ALA# *A:ALA# show qos network 2 detail =============================================================================== QoS Network Policy =============================================================================== 7210 SAS M OS Quality of Service Guide Page 179...
  • Page 172 - LSP EXP Bit Mapping Out-of-Profile : 4 In-Profile FC Value FC Name : ef - LSP EXP Bit Mapping Out-of-Profile : 5 In-Profile FC Value FC Name : h1 Page 180 7210 SAS M OS Quality of Service Guide...
  • Page 173 TrTcm_CA 4000 closest 7000 closest 16384 16384 4000 7000 16000 16000 TrTcm_CA 4000 closest 7000 closest 4000 7000 TrTcm_CA 4000 closest 7000 closest 4000 7000 TrTcm_CA 4000 closest 7000 closest 7210 SAS M OS Quality of Service Guide Page 181...
  • Page 174: Table 39: Show Qos Network Output Fields

    Dot1p bit mapping defined under the egress node of the network QoS policy. A text string that helps identify the policy’s context in the con- Description figuration file. Page 182 7210 SAS M OS Quality of Service Guide...
  • Page 175 : False Forward Class : be Profile : Out Scope : Template Policy Type : port Accounting : packet-based Description : Default network-port QoS policy. ------------------------------------------------------------------------------- DSCP Forwarding Class Profile ------------------------------------------------------------------------------- 7210 SAS M OS Quality of Service Guide Page 183...
  • Page 176 Out-of-Profile : 2 In-Profile FC Value FC Name : l1 - DSCP Mapping Out-of-Profile : af22 In-Profile : af21 - Dot1p Mapping Out-of-Profile : 2 In-Profile FC Value FC Name : h2 Page 184 7210 SAS M OS Quality of Service Guide...
  • Page 177 Port-id : 1/1/15 Port-id : 1/1/16 Port-id : 1/1/17 Port-id : 1/1/18 Port-id : 1/1/19 Port-id : 1/1/20 Port-id : 1/1/21 Port-id : 1/1/22 Port-id : 1/1/23 Port-id : 1/1/24 =============================================================================== *A:SAS-M-A0-2>show>qos# 7210 SAS M OS Quality of Service Guide Page 185...
  • Page 178 Output *A:7210-SAS>show>qos# mpls-lsp-exp-profile-map 1 =============================================================================== QoS MPLS LSP EXP Profile Maps =============================================================================== ------------------------------------------------------------------------------- Profile Map-id Description : Default MPLS LSP EXP Profile Map policy ------------------------------------------------------------------------------- Profile ------------------------------------------------------------------------------- Page 186 7210 SAS M OS Quality of Service Guide...
  • Page 179 QoS MPLS LSP EXP Profile Maps =============================================================================== ------------------------------------------------------------------------------- Profile Map-id Description : Default MPLS LSP EXP Profile Map policy ------------------------------------------------------------------------------- Profile ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Network Policy Associations ------------------------------------------------------------------------------- Network Policy Id ------------------------------------------------------------------------------- =============================================================================== *A:7210-SAS>show>qos# 7210 SAS M OS Quality of Service Guide Page 187...
  • Page 180 Network Egress QoS Policy Forwarding Class Commands Page 188 7210 SAS M OS Quality of Service Guide...
  • Page 181: Network Queue Qos Policies

    Topics in this section include: • Overview on page 194 • Basic Configurations on page 196 • Default Network Queue Policy Values on page 201 • Service Management Tasks on page 206 7210 SAS M OS Quality of Service Guide Page 193...
  • Page 182: Overview

    Default network queue policies are applied to all network ports in network mode and access uplink ports in access uplink mode. You must explicitly create and then associate other network queue QoS policies. Page 194 7210 SAS M OS Quality of Service Guide...
  • Page 183: Basic Configurations

    2 rate cir 25 pir 100 adaptation-rule cir closest pir closest exit queue 3 rate cir 25 pir 100 adaptation-rule cir closest pir closest exit queue 4 7210 SAS M OS Quality of Service Guide Page 195...
  • Page 184 7 rate cir 10 pir 100 adaptation-rule cir closest pir closest exit queue 8 rate cir 10 pir 100 adaptation-rule cir closest pir closest exit ---------------------------------------------- *A:Dut-B>config>qos>network-queue# Page 196 7210 SAS M OS Quality of Service Guide...
  • Page 185: Applying Network Queue Policies

    CLI Syntax: config>port# ethernet access uplink queue-policy policy-name #-------------------------------------------------- echo "Port Configuration" #-------------------------------------------------- port 1/1/1 ethernet mode access uplink access uplink queue-policy "nq1-cbs" exit exit exit no shutdown 7210 SAS M OS Quality of Service Guide Page 197...
  • Page 186 Basic Configurations exit Page 198 7210 SAS M OS Quality of Service Guide...
  • Page 187: Default Network Queue Policy Values

    12.50 closest closest 12.50 closest closest ------------------------------------------------------------------------------- UCastQ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Port-id : 1/1/4 Port-id : 1/1/8 Port-id : 1/1/9 Port-id : 1/1/10 Port-id : 1/1/12 Port-id : 1/1/13 7210 SAS M OS Quality of Service Guide Page 199...
  • Page 188 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# Page 200 7210 SAS M OS Quality of Service Guide...
  • Page 189: Service Management Tasks

    A network-queue policy cannot be deleted until it is removed from all network ports where it is applied. To delete a user-created network queue policy, enter the following commands: CLI Syntax: config>qos# no network-queue policy-name Example config>qos# no network-queue nq1 7210 SAS M OS Quality of Service Guide Page 201...
  • Page 190: Copying And Overwriting Qos Policies

    0 pir 3 exit exit network-queue "nq2-cbs" create queue 1 rate cir 0 pir 32 adaptation-rule cir max exit queue 2 exit queue 3 exit queue 4 exit queue 5 exit Page 202 7210 SAS M OS Quality of Service Guide...
  • Page 191 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 M OS Quality of Service Guide Page 203...
  • Page 192: Editing Qos Policies

    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 204 7210 SAS M OS Quality of Service Guide...
  • Page 193: Network Queue Qos Policy Command Reference

    — description description-string — no description — queue queue-id [cir adaptation-rule] [pir adaptation-rule] — adaptation-rule — no adaptation-rule — adaptation-rule [cir cir-percent] [pir pir-percent] — rate — no rate 7210 SAS M OS Quality of Service Guide Page 211...
  • Page 194 Network Queue QoS Policy Command Reference Operational Commands config — qos network-queue src-name dst-name [overwrite] — copy Show Commands show — qos [network-queue-policy-name] [detail] — network-queue Page 212 7210 SAS M OS Quality of Service Guide...
  • Page 195 — A text string describing the entity. Allowed values are any string up to 80 characters Parameters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 213...
  • Page 196 If overwrite is not specified, a mes- sage is generated saying that the destination policy ID exists. SR>config>qos# copy network-queue nq1 nq2 MINOR: CLI Destination "nq2" exists - use {overwrite}. SR>config>qos# copy network-queue nq1 nq2 overwrite Page 214 7210 SAS M OS Quality of Service Guide...
  • Page 197 ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. create — Mandatory keyword to create a network queue policy. 7210 SAS M OS Quality of Service Guide Page 215...
  • Page 198: Table 32: Forwarding Class To Queue-Id Map

    Parameters value. pir — Defines the constraints enforced when adapting the PIR rate defined within the Values queue queue-id rate command. The pir parameter requires a qualifier that defines the Page 216 7210 SAS M OS Quality of Service Guide...
  • Page 199 — Defines the percentage of the guaranteed rate allowed for the queue. When the rate Parameters command is executed, a valid CIR setting must be explicitly defined. When the rate command has not 7210 SAS M OS Quality of Service Guide Page 217...
  • Page 200 PIR of 100 is assumed. Fractional values are not allowed and must be given as a positive integer. 1— 100 percent Values Default Page 218 7210 SAS M OS Quality of Service Guide...
  • Page 201: Table 42: Network Queue Labels And Descriptions

    Displays the committed burst size. Displays FC to queue mapping. *A:card-1# show qos network-queue nq1 =============================================================================== QoS Network Queue Policy ------------------------------------------------------------------------------- Network Queue Policy (nq1) ------------------------------------------------------------------------------- Policy : nq1 Accounting : packet-based ------------------------------------------------------------------------------- 7210 SAS M OS Quality of Service Guide Page 219...
  • Page 202 UCastQ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Port-id : 1/1/20 =============================================================================== *A:card-1# *A:card-1# show qos network-queue default detail =============================================================================== QoS Network Queue Policy ------------------------------------------------------------------------------- Network Queue Policy (default) ------------------------------------------------------------------------------- Policy : default Page 220 7210 SAS M OS Quality of Service Guide...
  • Page 203: Service Ingress Qos Policies

    Basic Configurations on page 243 • Service Management Tasks on page 295 • Service Ingress Policy Configuration Considerations on page 236 • Allocation of QoS Resources for a SAP Ingress Policy on page 217 7210 SAS M OS Quality of Service Guide Page 227...
  • Page 204: Overview

    For information about the tasks and commands necessary to access the command line interface and to configure and maintain your 7210 SAS devices, refer to the CLI Usage chapter in the 7210 SAS OS Basic System Configuration Guide. Page 228 7210 SAS M OS Quality of Service Guide...
  • Page 205: Default Sap Ingress Policy

    "Default SAP ingress QoS policy." num-qos-classifiers 2 scope template meter 1 create mode trtcm1 adaptation-rule cir closest pir closest rate cir 0 pir max mbs default cbs default exit default-fc "be" ---------------------------------------------- *A:7210-SAS>config>qos>sap-ingress# 7210 SAS M OS Quality of Service Guide Page 229...
  • Page 206: Sap Ingress Policy Defaults

    Table 43: 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 Default Default default-fc Page 230 7210 SAS M OS Quality of Service Guide...
  • Page 207: Use Of Index File By Sap Qos Ingress

    Examples of usage of multipoint meter: Example 1: *7210-SAS>config>qos# sap-ingress 12 create *7210-SAS>config>qos>sap-ingress$ info ---------------------------------------------- num-qos-classifiers 4 meter 1 create 7210 SAS M OS Quality of Service Guide Page 231...
  • Page 208 ---------------------------------------------- configure> qos> sap-ingress 10 create meter 1 create exit meter 3 create exit default-fc be fc be meter 3 multicast-meter 3 exit fc af meter 3 exit exit ---------------------------------------------- Page 232 7210 SAS M OS Quality of Service Guide...
  • Page 209: Service Ingress Meter Selection Rules

    In the default policy, only meter “1” is defined. All FC and all traffic types use meter “1” by default. Meter “11” is not created by default and is not available for use. Sample configuration: *7210-SAS>config>qos# sap-ingress 1 create // Default policy 7210 SAS M OS Quality of Service Guide Page 233...
  • Page 210 If a FC is created with an explicit unicast meter, an explicit broadcast meter, an explicit unknown-unicast meter, and an explicit multicast meter, use these meters for unicast, broadcast, unknown-unicast and multicast traffic types respectively. Page 234 7210 SAS M OS Quality of Service Guide...
  • Page 211 A multipoint meter cannot be used. A multipoint meter configured in a policy is not used when the policy is applied to a SAP in an Epipe service. • All FCs associated with a meter always use the unicast meter. 7210 SAS M OS Quality of Service Guide Page 235...
  • Page 212: Service Ingress Policy Configuration Considerations

    SAP then the ipv6-criteria or mac- criteria cannot be enabled in the same policy. If there is a need to change the criteria, then Page 236 7210 SAS M OS Quality of Service Guide...
  • Page 213: Resource Allocation For Service Ingress Qos Policies

    (1) entry from the chunks in the hardware. For example: Assume a SAP Ingress QoS policy is configured to use mac-criteria with 50 entries and uses “configure> system> resource-profile> ingress-internal-tcam> qos-sap-ingress-resource> 7210 SAS M OS Quality of Service Guide Page 237...
  • Page 214 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 Page 238 7210 SAS M OS Quality of Service Guide...
  • Page 215: Computation Of Resources Used Per Sap Ingress Policy

    Number of meters allocated automatically by system = TQ / 2 (up to a maximum of 32 meters). To calculate the number of SAPs allowed, assume all configured to use ‘TQ’ QoS resources per SAP. 7210 SAS M OS Quality of Service Guide Page 239...
  • Page 216 (that is, multicast and unknown-unicast). This requires two classification entries in hardware. This assumes that the default multipoint meter #11 is not created by the user. Page 240 7210 SAS M OS Quality of Service Guide...
  • Page 217 Taking into account 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=Σ E(i)* C(i) i=nc,h1,ef,h2,l1,af,l2,be 7210 SAS M OS Quality of Service Guide Page 241...
  • Page 218 Total QoS resources required (for example TQ) = max ( (TC), (2 * TP) ). The number obtained is rounded off to next multiple of “2” greater than TQ obtained above. The user configures value TQ using CLI command num-qos-classifiers. Page 242 7210 SAS M OS Quality of Service Guide...
  • Page 219: Basic Configurations

    Configuring and applying QoS policies is optional. If no QoS policy is explicitly applied to a SAP, a default QoS policy is applied. • Service Ingress QoS Policy on page 244 7210 SAS M OS Quality of Service Guide Page 243...
  • Page 220: Service Ingress Qos Policy

    Otherwise, the template scope enables the policy to be applied to multiple SAPs. The following displays an service ingress policy configuration: A:ALA-7>config>qos>sap-ingress# info ---------------------------------------------- sap-ingress 100 create description "Used on VPN sap" ---------------------------------------------- A:ALA-7>config>qos>sap-ingress# Page 244 7210 SAS M OS Quality of Service Guide...
  • Page 221 100 pir 36 exit meter 8 create cbs 256 mbs 512 rate cir 11000 exit meter 9 create rate cir 11000 exit meter 10 create rate cir 1 7210 SAS M OS Quality of Service Guide Page 245...
  • Page 222 36 pir 100 exit meter 15 create rate cir 36 pir 100 exit meter 16 create cbs 128 mbs 256 rate cir 36 pir 100 exit #------------------------------------------ A:ALA-7>config>qos# Page 246 7210 SAS M OS Quality of Service Guide...
  • Page 223 4 multicast-meter 12 exit fc h2 create meter 5 broadcast-meter 13 multicast-meter 14 unknown-meter 15 exit fc nc create meter 6 broadcast-meter 16 multicast-meter 10 unknown-meter 11 exit #------------------------------------------ 7210 SAS M OS Quality of Service Guide Page 247...
  • Page 224 ---------------------------------------------- 7210-SAS>config>qos>sap-ingress# 7210-SAS>config>qos>sap-ingress# info ---------------------------------------------- num-qos-classifiers 4 meter 1 create exit meter 11 multipoint create exit ip-criteria dscp-only entry 30 create match exit action fc "l2" exit exit ---------------------------------------------- 7210-SAS>config>qos>sap-ingress# Page 248 7210 SAS M OS Quality of Service Guide...
  • Page 225 7210-SAS>config>qos>sap-ingress# info ---------------------------------------------- description "test" num-qos-classifiers 16 meter 1 create exit meter 11 multipoint create exit mac-criteria dot1p-only entry 25 create match exit no action exit exit default-fc "h1" ---------------------------------------------- 7210-SAS>config>qos>sap-ingress# 7210 SAS M OS Quality of Service Guide Page 249...
  • Page 226 Basic Configurations Page 250 7210 SAS M OS Quality of Service Guide...
  • Page 227 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 1 + 0 = 2 7210 SAS M OS Quality of Service Guide Page 251...
  • Page 228 Example 1a (Default multipoint meter 11 is not used): sap-ingress 10 create description “example-policy” num-qos-classifiers 4 meter 1 create rate cir 0 pir max exit meter 3 create rate cir 100 pir 100 exit scope template default-fc Page 252 7210 SAS M OS Quality of Service Guide...
  • Page 229 The total number of meters used = 2 (since FCs use meter #1 and meter #3). Hence, in this example, num-qos-classifiers 4 is used (maximum of (4, (2 * 2))). Hence, use of unicast meter for all traffic-types allows for use QoS resources efficiently. 7210 SAS M OS Quality of Service Guide Page 253...
  • Page 230 As can be seen here, using the same policy for Epipe SAP can lead to inefficient use of resources. Hence, it is recommended to create a different policy with the required number of resources (that is, with num-qos-classifiers 4). Page 254 7210 SAS M OS Quality of Service Guide...
  • Page 231 FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 7210 SAS M OS Quality of Service Guide Page 255...
  • Page 232 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 default-fc be Page 256 7210 SAS M OS Quality of Service Guide...
  • Page 233 The number of meters used = 2 (since FCs use only meter #2 and meter #3). Hence, in this example num-qos-classifiers 8 is used (that is, maximum of (8, (2*2))). 7210 SAS M OS Quality of Service Guide Page 257...
  • Page 234 Epipe SAP can lead to inefficient use of resources. Hence, it is recommended to create a different policy with the required number of resources (that is,with num-qos-classifiers 4) Page 258 7210 SAS M OS Quality of Service Guide...
  • Page 235 1 create match dot1p7 action fc af exit entry 2 create match dot1p 5 action fc l1 exit entry 3 create match dot1p6 action fc h2 exit entry 4 create 7210 SAS M OS Quality of Service Guide Page 259...
  • Page 236 FCaf = 1 + 0 + 0 + 0 = 1 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 0 + 0 = 1 Page 260 7210 SAS M OS Quality of Service Guide...
  • Page 237 2 create match dot1p 5 action fc l1 exit entry 3 create match dot1p action fc h2 exit entry 4 create 7210 SAS M OS Quality of Service Guide Page 261...
  • Page 238 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 0 + 0 = 1 FCl1 = 1 + 0 + 0 + 0 = 1 Page 262 7210 SAS M OS Quality of Service Guide...
  • Page 239 Using the above equation, the total classification entries used = 5 and meters used = 3 (since all FCs used only meter #1, meter #3 and meter #5). For epipe service a policy with num-qos- resources set to 6 can be used. 7210 SAS M OS Quality of Service Guide Page 263...
  • Page 240 3 broadcast-meter 2 exit h1 create meter 5 broadcast-meter 4 multicast-meter unknown-meter exit ef create meter 6 broadcast-meter 2 multicast-meter exit nc create meter 6 broadcast-meter 2 Page 264 7210 SAS M OS Quality of Service Guide...
  • Page 241 Unknown-unicast traffic type is classified using the same entry as multicast traffic type and uses the same meter. FCh2 = 1 + 1 + 1 + 0 = 3 7210 SAS M OS Quality of Service Guide Page 265...
  • Page 242 100 pir 100 exit meter 2 create rate cir 1 pir 20 exit meter 4 create rate cir 10 pir 100 exit meter 5 create rate cir 10 pir 10 exit Page 266 7210 SAS M OS Quality of Service Guide...
  • Page 243 5 action fc l1 exit entry create match dot1p action fc h2 exit entry create match dot1p 3 action fc h1 exit entry create match dot1p 2 action fc ef 7210 SAS M OS Quality of Service Guide Page 267...
  • Page 244 FCbe = 1 + 0 + 0 + 0 = 1 Since this FC uses a single meter for all traffic-types only a single meter and single entry is needed. Page 268 7210 SAS M OS Quality of Service Guide...
  • Page 245 As can be seen here, using the same policy for Epipe SAP can lead to inefficient use of resources. Hence, it is recommended to create a different policy with the required number of resources (that is,with num-qos-classifiers 8). 7210 SAS M OS Quality of Service Guide Page 269...
  • Page 246 3 broadcast-meter 2 exit h1 create meter 5 broadcast-meter 4 multicast-meter unknown-meter exit ef create exit nc create meter 6 broadcast-meter 2 multicast-meter 8 exit mac-criteria dot1p-only Page 270 7210 SAS M OS Quality of Service Guide...
  • Page 247 Another entry is needed to classify multicast and unknown-unicast traffic type to the same FC and use the default meter #11. FCl1 = 1 + 1 + 1 + 0 = 3 7210 SAS M OS Quality of Service Guide Page 271...
  • Page 248 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 0 + 0 = 1 Using the above equation, to get the total classification entries used = 7 and meters used = 4. Page 272 7210 SAS M OS Quality of Service Guide...
  • Page 249 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 7210 SAS M OS Quality of Service Guide Page 273...
  • Page 250 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 0 + 0 = 1 Using the above equation, the total classification entries used = 4 and meters used = 2. Page 274 7210 SAS M OS Quality of Service Guide...
  • Page 251 FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0 7210 SAS M OS Quality of Service Guide Page 275...
  • Page 252 FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 0 + 0 + 0 = 1 Using the above equation, the total classification entries used = 2 and meters used = 2. Page 276 7210 SAS M OS Quality of Service Guide...
  • Page 253 FC and use the default meter #11. FCl2 = 0 + 0 + 0 + 0 = 0 FCbe = 1 + 1 + 1 + 0 = 3 7210 SAS M OS Quality of Service Guide Page 277...
  • Page 254 (0 * 0)nc + (0 * 0)h1 + (0 * 0)ef + (0 * 0)h2 + (0 * 0)l1 + (3 * 1)af + (0 * 0)l2 + (1 * 1)be = 4 The number of meters used in this policy = 2. Page 278 7210 SAS M OS Quality of Service Guide...
  • Page 255 7 create match dscp cp7 action fc af exit entry 8 create match dscp cs1 action fc af exit entry 9 create match dscp cp9 7210 SAS M OS Quality of Service Guide Page 279...
  • Page 256 22 create match dscp af23 action fc af exit entry 23 create match dscp cp23 action fc af exit entry 24 create Page 280 7210 SAS M OS Quality of Service Guide...
  • Page 257 36 create match dscp af42 action fc af exit entry 37 create match dscp cp37 action fc af exit entry 38 create match dscp af43 action fc af exit 7210 SAS M OS Quality of Service Guide Page 281...
  • Page 258 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 0 + 0 + 0 + 0 = 0 Page 282 7210 SAS M OS Quality of Service Guide...
  • Page 259 64 is used (i.e. maximum of (51, (2 * 2)) = 51, rounded off to the next multiple of 2 will be 52). Example 9a (Default multipoint meter "11" is not used): sap-ingress 10 create num-qos-classifiers 7210 SAS M OS Quality of Service Guide Page 283...
  • Page 260 8 create match dscp cs1 action fc af exit entry 9 create match dscp cp9 action fc af exit entry 10 create Page 284 7210 SAS M OS Quality of Service Guide...
  • Page 261 22 create match dscp af23 action fc af exit entry 23 create match dscp cp23 action fc af exit entry 24 create match dscp cs3 action fc af exit 7210 SAS M OS Quality of Service Guide Page 285...
  • Page 262 37 create match dscp cp37 action fc af exit entry 38 create match dscp af43 action fc af exit entry 39 create match dscp cp39 action fc af Page 286 7210 SAS M OS Quality of Service Guide...
  • Page 263 FCh2 = 0 + 0 + 0 + 0 = 0 FCl1 = 0 + 0 + 0 + 0 = 0 FCaf = 1 + 0 + 1 + 0 = 3 7210 SAS M OS Quality of Service Guide Page 287...
  • Page 264 Hence for Epipe SAP it is recommended to define another sap-ingress policy with num-qos- classifiers 52 is used (that is, maximum of (51, (2 * 2)) = 51, rounded off to the multiple of 2 will be 52). Page 288 7210 SAS M OS Quality of Service Guide...
  • Page 265 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 0 + 0 + 0 + 0 = 0 7210 SAS M OS Quality of Service Guide Page 289...
  • Page 266 Using the above equation, calculate the total classification entries used = 2 and meters used = 1. As can be seen here, for Epipe SAP with the same amount of resources allocated one can have more FCs if need be. Page 290 7210 SAS M OS Quality of Service Guide...
  • Page 267 Using the above equation, total classification entries used = 1 and meters used = 1. As can be seen here, for Epipe SAP with the same amount of resources allocated one can have more FCs if need be. 7210 SAS M OS Quality of Service Guide Page 291...
  • Page 268: Applying Service Ingress Policies

    The following output displays a VPLS service configuration with SAP ingress policy 100. A:ALA-7>config>service# info ---------------------------------------------- vpls 700 customer 7 vpn 700 create description "test" shutdown exit sap 1/1/9:10 create ingress qos 100 exit exit exit ---------------------------------------------- A:ALA-7>config>service# Page 292 7210 SAS M OS Quality of Service Guide...
  • Page 269 The following output displays a IES service configuration. A:ALA-7>config>service# info ---------------------------------------------- ies 1 customer 1 create interface "to-c1" create address 11.1.0.1/24 sap 1/1/10:100 create ingress qos 100 exit exit exit no shutdown exit ---------------------------------------------- A:ALA-7>config>service# 7210 SAS M OS Quality of Service Guide Page 293...
  • Page 270: Service Management Tasks

    ---------------------------------------------- description "Distributed Epipe service to west coast" no tod-suite dot1ag exit ingress qos 1 no filter exit egress no filter exit no collect-stats no accounting-policy no shutdown ---------------------------------------------- A:ALA-7>config>service>epipe# Page 294 7210 SAS M OS Quality of Service Guide...
  • Page 271: Copying And Overwriting Qos Policies

    200 create description "Used on VPN sap" meter 1 create exit meter 2 multipoint create exit meter 10 create rate cir 11000 exit meter 11 multipoint create exit exit ---------------------------------------------- *A:ALU-7210>config>qos# 7210 SAS M OS Quality of Service Guide Page 295...
  • Page 272: Remove A Policy From The Qos Configuration

    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 296 7210 SAS M OS Quality of Service Guide...
  • Page 273 Service Ingress QoS Policies 7210 SAS M OS Quality of Service Guide Page 297...
  • Page 274 Service Management Tasks Page 298 7210 SAS M OS Quality of Service Guide...
  • Page 275: Service Sap Qos Policy Command Reference

    {eq} dst-port-number — dst-port — no dst-port {true | false} — fragment — no fragment {ip-address/mask | ip-address netmask} — src-ip — no src-ip {eq} src-port-number — src-port — no src-port 7210 SAS M OS Quality of Service Guide Page 299...
  • Page 276 — size-in-kbits — no {trtcm1 | trtcm2 | srtcm} — mode — no mode cir-rate-in-kbps [pir pir-rate-in-kbps] — rate — no rate {exclusive | template} — scope — no scope Page 300 7210 SAS M OS Quality of Service Guide...
  • Page 277 Operational Commands config — qos sap-ingress src-pol dst-pol [overwrite] — copy Show Commands show — qos policy-id [association | match-criteria] — sap-ingress 7210 SAS M OS Quality of Service Guide Page 301...
  • Page 278 Service SAP QoS Policy Command Reference Page 302 7210 SAS M OS Quality of Service Guide...
  • Page 279 — A text string describing the entity. Allowed values are any string up to 80 characters Parameters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 303...
  • Page 280 This requires that entries be sequenced correctly from most to least explicit. none Parameters Default 1 — 64 Values none Default 1 —64 Values Page 304 7210 SAS M OS Quality of Service Guide...
  • Page 281 1. policy-id — The policy-id uniquely identifies the policy. Parameters 1 — 65535 Values create — Keyword used to create a sap ingress policy. 7210 SAS M OS Quality of Service Guide Page 305...
  • Page 282 — Specify the forwarding class name for the queue. The value given for fc must be one of the predefined Parameters forwarding classes in the system. be | l2 | af | l1 | h2 | ef | h1 | nc Values Page 306 7210 SAS M OS Quality of Service Guide...
  • Page 283 IP protocol fields can be used) for matching dscp-only — Specifies that entries can use only the DSCP field. policy-id — -The policy-id that uniquely identifies the policy. 1 — 65535 Values 7210 SAS M OS Quality of Service Guide Page 307...
  • Page 284 7210 SAS OS implementation will exit on the first match found and execute the actions in accordance with the accompanying action command. For this reason entries must be sequenced correctly from most to least Page 308 7210 SAS M OS Quality of Service Guide...
  • Page 285 — keyword which lets the user indicate that they do not intend to use the ipv6-criteria. Resources are then allocated from the chunk alloted to either IPv4 criteria or MAC criteria, depending on what criteria the user uses. 7210 SAS M OS Quality of Service Guide Page 309...
  • Page 286 SAP using this policy is forwarded using the meter-id. The no form of this command sets the unicast (point-to-point) meter-id back to the default meter for the Page 310 7210 SAS M OS Quality of Service Guide...
  • Page 287 The unknown forwarding type usually tracks the multicast forwarding type definition. This command overrides that default behavior. The no form of this command sets the unknown forwarding type meter-id back to the default of tracking the multicast forwarding type meter mapping. 7210 SAS M OS Quality of Service Guide Page 311...
  • Page 288 Service Ingress QoS Policy Forwarding Class Commands meter-id — Specifies an existing multipoint meter defined in the config>qos>sap-ingress context. Parameters 1— 32 Values Default Page 312 7210 SAS M OS Quality of Service Guide...
  • Page 289 An entry is not populated in the list unless the action command is executed for the entry. An entry that is not populated in the list has no effect on egress packets. If the action command is executed without any explicit 7210 SAS M OS Quality of Service Guide Page 313...
  • Page 290 Parameters The protocol type such as TCP / UDP / OSPF is identified by its respective protocol number. Well- known protocol numbers include ICMP(1), TCP(6), UDP(17). 0 — 255 Values Page 314 7210 SAS M OS Quality of Service Guide...
  • Page 291 DHB: 0 — 42, 45 — 49, 52 — 59, 61 — 255 Values none, crtp, crudp, egp, eigrp, encap, ether-ip, gre, icmp, idrp, igmp, igp, keywords: ip, ipv6, ipv6-icmp, ipv6-no-nxt, isis, iso-ip, l2tp, ospf-igp, pim, pnni, ptp, rdp, rsvp, stp, 7210 SAS M OS Quality of Service Guide Page 315...
  • Page 292 Service Ingress QoS Policy Entry Commands tcp, udp, vrrp * — udp/tcp wildcard Page 316 7210 SAS M OS Quality of Service Guide...
  • Page 293 — The IP address of the destination IP or IPv6 interface. This address must be unique within the Parameters subnet and specified in dotted decimal notation. ipv4-prefix: a.b.c.d Values ipv4-prefix-length: 0 -- 32 ipv6-prefix: x:x:x:x:x:x:x:x (eight 16-bit pieces) x:x:x:x:x:x:d.d.d.d x: [0..FFFF]H 7210 SAS M OS Quality of Service Guide Page 317...
  • Page 294 — Configures a match on all non-fragmented IP packets. Non-fragmented IP packets are packets that have the MF bit set to zero and have the Fragment Offset field also set to zero. Page 318 7210 SAS M OS Quality of Service Guide...
  • Page 295 — The subnet mask length, expressed as an integer or in dotted decimal notation. 0 — 32 Values netmask — Specify the subnet mask in dotted decimal notation. a.b.c.d (dotted quad equivalent of mask length) Values 7210 SAS M OS Quality of Service Guide Page 319...
  • Page 296 — The range of TCP or UDP port values to match specified as between the start and end source port values inclusive. 1 — 65535 (decimal hex or binary) Values Page 320 7210 SAS M OS Quality of Service Guide...
  • Page 297 Configures a destination MAC address or range to be used as a Service Ingress QoS policy match criterion. Description The no form of this command removes the destination mac address as the match criterion. none Default 7210 SAS M OS Quality of Service Guide Page 321...
  • Page 298 The no form of this command removes the previously entered etype field as the match criteria. None Default etype-value — The Ethernet type II frame Ethertype value to be used as a match criterion expressed in Parameters hexadecimal. 0x0600 — 0xFFFF Values Page 322 7210 SAS M OS Quality of Service Guide...
  • Page 299 To configure all packets with a source MAC OUI value of 00-03-FA are subject to a match condition, then the entry should be specified as: 003FA000000 0xFFFFFF000000 0xFFFFFFFFFFFF (hex) (exact match) Default 0x00000000000000 — 0xFFFFFFFFFFFF (hex) Values Values 7210 SAS M OS Quality of Service Guide Page 323...
  • Page 300 This command defines the method used by the system to derive the operational CIR and PIR settings when Description the meter is provisioned in hardware. For the CIR and PIR parameters, individually the system attempts to Page 324 7210 SAS M OS Quality of Service Guide...
  • Page 301 For example, if a value of 100 KBits is desired, then enter the value 100. The bucket size is rounded off to the next highest 4096 bytes boundary. — 2146959, default Values 7210 SAS M OS Quality of Service Guide Page 325...
  • Page 302 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. The trTCM1 Page 326 7210 SAS M OS Quality of Service Guide...
  • Page 303 Fractional values are not allowed and must be given as a positive integer. The actual CIR rate is dependent on the meter’s adaptation-rule parameters and the hardware. 0 — 20000000, max Values 7210 SAS M OS Quality of Service Guide Page 327...
  • Page 304 Note: If the meter mode is configured as trtcm2, the system configures the policer’s EIR rate, based on the value of the PIR rate configured by the user. 0 — 20000000, max Values Page 328 7210 SAS M OS Quality of Service Guide...
  • Page 305 MAC — select the appropriate ingress meters and corresponding for- warding class for matched traffic. Displays the meter ID. Meter Mode Specifies the configured mode of the meter (trTcm1 or srTcm). 7210 SAS M OS Quality of Service Guide Page 329...
  • Page 306 Specifies the default broadcast forwarding type meters mapping. BCastM Specifies the default unknown unicast forwarding type meters UnknownM mapping. Match Criteria Specifies an IP or MAC criteria entry for the policy. Page 330 7210 SAS M OS Quality of Service Guide...
  • Page 307 *A:Dut-G# show qos sap-ingress 100 detail =============================================================================== QoS Sap Ingress =============================================================================== ------------------------------------------------------------------------------- Sap Ingress Policy (100) ------------------------------------------------------------------------------- Policy-id : 100 Scope : Template Default FC : be Criteria-type : MAC 7210 SAS M OS Quality of Service Guide Page 331...
  • Page 308 Ethernet-type : Disabled : ef Entry Description : (Not Specified) Src MAC Atm-Vci : Disabled Dst MAC Dot1p : 3/7 Ethernet-type : Disabled : l1 Entry Description : (Not Specified) Page 332 7210 SAS M OS Quality of Service Guide...
  • Page 309 CIR Admin CIR Rule PIR Admin PIR Rule ------------------------------------------------------------------------------- TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest 7210 SAS M OS Quality of Service Guide Page 333...
  • Page 310 : Disabled : h2 Entry Src MAC Dst MAC Dot1p : 3/7 Ethernet-type : Disabled : l1 Entry Src MAC Dst MAC Dot1p : 2/7 Ethernet-type : Disabled : af Page 334 7210 SAS M OS Quality of Service Guide...
  • Page 311 TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest 7210 SAS M OS Quality of Service Guide Page 335...
  • Page 312 Service Meter QoS Policy Commands TrTcm closest closest TrTcm closest closest TrTcm closest closest TrTcm closest closest ------------------------------------------------------------------------------- UCastM MCastM BCastM UnknownM ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Match Criteria ------------------------------------------------------------------------------- Entry Src MAC Dst MAC =============================================================================== *A:qos1# Page 336 7210 SAS M OS Quality of Service Guide...
  • Page 313: Access Egress Qos Policies

    • Overview on page 338 • Basic Configurations on page 339 • Create Access Egress QoS Policies on page 339 • Default Access Egress QoS Policy Values on page 345 7210 SAS M OS Quality of Service Guide Page 337...
  • Page 314: Overview

    Remark - By default, remarking is disabled. If remarking is enabled by default 'use-dot1p' is used and the Dot1p values in the customer packets which are egressing on this access Page 338 7210 SAS M OS Quality of Service Guide...
  • Page 315 Sample configuration with remarking set to "all": *A:7210-SAS-M>config>qos>access-egress# info ---------------------------------------------- description "policy-2" remarking all scope exclusive queue 1 exit queue 2 exit queue 3 exit queue 4 adaptation-rule cir max pir max 7210 SAS M OS Quality of Service Guide Page 339...
  • Page 316 18689 pir 26794 exit queue 4 exit queue 5 exit queue 6 exit queue 7 exit queue 8 exit fc h2 create dot1p-in-profile 3 exit ---------------------------------------------- *A:7210-SAS-M>config>qos>access-egress# Page 340 7210 SAS M OS Quality of Service Guide...
  • Page 317: Modifying Access Egress Qos Queues

    ---------------------------------------------- *A:7210-SAS-M>config>qos>access-egress# Sample configuration with remarking set to "all": *A:7210-SAS-M>config>qos>access-egress# info ---------------------------------------------- description "policy-2" remarking all scope exclusive queue 1 exit queue 2 exit queue 3 exit 7210 SAS M OS Quality of Service Guide Page 341...
  • Page 318 18689 pir 26794 exit queue 4 exit queue 5 exit queue 6 exit queue 7 exit queue 8 exit fc h2 create dot1p-in-profile 3 exit ---------------------------------------------- *A:7210-SAS-M>config>qos>access-egress# Page 342 7210 SAS M OS Quality of Service Guide...
  • Page 319: Applying Access Egress Qos Policies

    CLI Syntax: config>port# ethernet access egress qos access-egress-policy-id sap-qos-marking disable The following output displays the port configuration. *A:card-1>config>port# info ---------------------------------------------- shutdown ethernet access egress qos 30 exit exit exit ---------------------------------------------- *A:card-1>config>port# 7210 SAS M OS Quality of Service Guide Page 343...
  • Page 320: Default Access Egress Qos Policy Values

    0 pir max exit ---------------------------------------------- *A:card-1>config>qos>access-egress# Table 44: Access Egress Default Policy Details Field Default description “Default Access egress QoS policy.” scope template queue 1 adaptation-rule adaptation-rule cir closest pir closest Page 344 7210 SAS M OS Quality of Service Guide...
  • Page 321 0 pir max rate default = 8698 bytes queue 7 adaptation-rule cir closest pir closest cir 0 pir max rate default = 8698 bytes queue 8 7210 SAS M OS Quality of Service Guide Page 345...
  • Page 322 0 pir max default = 3200 bytes queue 4 adaptation-rule adaptation-rule cir closest pir closest cir 0 pir max rate default = 3200 bytes queue 5 Page 346 7210 SAS M OS Quality of Service Guide...
  • Page 323: Table 45: Access Egress Default Policy Details (For 7210 Sas M In Access Uplink Mode)

    7210 SAS devices configured in network mode as well as access-uplink mode: Table 46: Default FC Marking Values Default FC value Network mode Access uplink mode dot1p-in-profile 2 dot1p-in-profile 2 dot1p-out-profile 2 dot1p-out-profile 2 dscp-in-profile af11 dscp-out-profile af12 7210 SAS M OS Quality of Service Guide Page 347...
  • Page 324 3 dscp-in-profile af21 dscp-out-profile af22 dot1p-in-profile 1 dot1p-in-profile 1 dot1p-out-profile 1 dot1p-out-profile 1 dscp-in-profile cs1 dscp-out-profile cs1 dot1p-in-profile 7 dot1p-in-profile 7 dot1p-out-profile 7 dot1p-out-profile 7 dscp-in-profile nc2 dscp-out-profile nc2 Page 348 7210 SAS M OS Quality of Service Guide...
  • Page 325: Deleting Qos Policies

    MINOR: CLI Could not remove Access egress policy "30" because it is in use. Removing a Policy from the QoS Configuration CLI Syntax: config>qos# no access-egress policy-id Example: config>qos# no access-egress 100 config>qos# no access-egress 1010 7210 SAS M OS Quality of Service Guide Page 349...
  • Page 326 Overview Page 350 7210 SAS M OS Quality of Service Guide...
  • Page 327 Access Egress QoS Policies 7210 SAS M OS Quality of Service Guide Page 351...
  • Page 328 Overview Page 352 7210 SAS M OS Quality of Service Guide...
  • Page 329: Access Egress Qos Policy Command Reference

    — no rate — remark policy-id — no remark — remarking { use-dot1p | use-dscp | all } — no remarking {exclusive | template} — scope — no scope 7210 SAS M OS Quality of Service Guide Page 353...
  • Page 330 Access Egress QoS Policy Command Reference Operational Commands — config — qos — copy sap-ingress src-pol dst-pol overwrite Show Commands show — qos [policy-id] [association| detail] — access-egress Page 354 7210 SAS M OS Quality of Service Guide...
  • Page 331 The system uses the access egress policy for marking only if the port with which this policy is associated is enabled for port-based marking (that is, the command sap-qos-marking is set to disable). When port-based marking is enabled, the system is capable of marking all the packets 7210 SAS M OS Quality of Service Guide Page 355...
  • Page 332 — Specifies the forwarding class for which Dot1p marking is to be edited. The value given for fc- name must be one of the predefined forwarding classes in the system. be, l2, af, l1, h2, ef, h1, nc Values Page 356 7210 SAS M OS Quality of Service Guide...
  • Page 333: Table 26: Default Sapaccess Egress Policy Id 1 Definition

    If the egress packets for fc-name are not IEEE 802.1Q or IEEE 802.1P encapsulated, the dot1p command has no effect. The dot1p-in- profile dot1p-value and dot1p-out-profile dot1p-value commands will provide the capability to 7210 SAS M OS Quality of Service Guide Page 357...
  • Page 334 The no form of this command reverts to the factory default out-of-profile dscp-name. Specifies the DSCP name. Parameters dscp-name — be|cp1|cp2|cp3|cp4|cp5|cp6|cp7|cs1|cp9|af11|cp11| Values af12|cp13|af13|cp15|cs2|cp17|af21|cp19|af22|cp21| af23|cp23|cs3|cp25|af31|cp27|af32|cp29|af33|cp31|cs4| cp33|af41|cp35|af42|cp37|af43|cp39|cs5|cp41|cp42| cp43|cp44|cp45|ef|cp47|nc1|cp49|cp50|cp51|cp52|cp53| cp54|cp55|nc2|cp57|cp58|cp59|cp60|cp61|cp62|cp63 Page 358 7210 SAS M OS Quality of Service Guide...
  • Page 335 Default Table 32, Forwarding queue-id — Specifies the access egress queue-id associated with an FC according to Parameters Class to Queue-ID Map, on page 82 1 — 8 Values 7210 SAS M OS Quality of Service Guide Page 359...
  • Page 336 — The closest parameter is mutually exclusive with the min and max parameter. When closest is defined, the operational PIR for the queue will be the rate closest to the rate specified using the rate command. Page 360 7210 SAS M OS Quality of Service Guide...
  • Page 337 The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned. 1 — 1000000, max Values 7210 SAS-M 24F 2XFP (the M w/10G ports): 0 — 10000000, max Default 7210 SAS M OS Quality of Service Guide Page 361...
  • Page 338 DSCP marking, if enabled, also marks the packets associated with SAPs configured in an L2 VPN service. The no form of the command disables remarking. If remarking is enabled and no remark policy is explicitly attached then the default remark policy 2 is used. Page 362 7210 SAS M OS Quality of Service Guide...
  • Page 339 Default QoS policies are configured with template scope. An error is generated if you try to modify the scope parameter from template to exclusive scope on default policies. 7210 SAS M OS Quality of Service Guide Page 363...
  • Page 340 — Specifies to replace the existing destination policy. Everything in the existing destination poicy will be overwritten with the contents of the source policy. If overwrite is not specified, an error will occur if the destination policy ID exists. Page 364 7210 SAS M OS Quality of Service Guide...
  • Page 341 Specifies the forwarding class to Dot1p remarking value. Forward Class/FC Name Explicit — Specifies the egress IEEE 802.1P (dot1p) bits mark- Explicit/Default ing for fc-name if explicitly configured. 7210 SAS M OS Quality of Service Guide Page 365...
  • Page 342 Port-Id egress QoS policy. Specifies whether the accounting mode is packet-based or Accounting frame-based. Displays the type of remarking enabled. It can be "use-dot1p ", Remark Type "use-dscp" or "all" Page 366 7210 SAS M OS Quality of Service Guide...
  • Page 343 Default (in :3) Default (out :3) Default (in :4) Default (out :4) Default (in :5) Default (out :5) Default (in :6) Default (out :6) Default (in :7) Default (out :7) 7210 SAS M OS Quality of Service Guide Page 367...
  • Page 344 ------------------------------------------------------------------------------- FC Name Queue-id DSCP In DSCP Out ------------------------------------------------------------------------------- af11 af12 af21 af22 af41 af41 ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- No Matching Entries =============================================================================== A:7210-SAS>show>qos# Page 368 7210 SAS M OS Quality of Service Guide...
  • Page 345 7210 SAS M OS Quality of Service Guide Page 369...
  • Page 346 Page 370 7210 SAS M OS Quality of Service Guide...
  • Page 347: Qos Port Scheduler Policies

    This section provides information to configure port scheduler policies using the command line interface. Topics in this section include: • Overview on page 372 • Basic Configurations on page 373 • Service Management Tasks on page 375 7210 SAS M OS Quality of Service Guide Page 371...
  • Page 348: Overview

    (only 8 queues per port and queue settings only for WRR/WDRR modes). In WRR/WDRR, a strict option treats that particular queue as a strict queue, this leads to a hybrid mode of scheduling (WRR+Strict, WDRR+Strict). Page 372 7210 SAS M OS Quality of Service Guide...
  • Page 349: 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 M OS Quality of Service Guide Page 373...
  • Page 350: Creating A Qos Port Scheduler Policy

    The following displays a port scheduler policy configuration example: *A:card-1>config>qos>port-sched-plcy# info ---------------------------------------------- mode WRR queue 1 weight 1 queue 2 weight 3 queue 3 weight 5 queue 5 weight 5 queue 6 weight 1 ---------------------------------------------- *A:card-1>config>qos>port-sched-plcy# Page 374 7210 SAS M OS Quality of Service Guide...
  • Page 351: Service Management Tasks

    Mode ------------------------------------------------------------------------------- default Default Port Scheduler policy. STRICT WDRR psp1 WDRR =============================================================================== *A:Dut-1>config# *A:Dut-1>config# show qos port-scheduler-policy psp =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : psp Accounting : packet-based 7210 SAS M OS Quality of Service Guide Page 375...
  • Page 352 Last changed : 04/12/2001 02:05:00 Queue 1 Weight: Queue 2 Weight: Queue 3 Weight: Queue 4 Weight: Queue 5 Weight: Queue 6 Weight: Queue 7 Weight: Queue 8 Weight: =============================================================================== *A:Dut-1>config# Page 376 7210 SAS M OS Quality of Service Guide...
  • Page 353: Editing Qos Policies

    Editing QoS Policies 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. 7210 SAS M OS Quality of Service Guide Page 377...
  • Page 354 Service Management Tasks Page 378 7210 SAS M OS Quality of Service Guide...
  • Page 355: Qos Port Scheduler Policy Command Reference

    [strict | weight weight] — queue — no queue queue-id Operational Commands config — qos port-scheduler-policy src-name dst-name [overwrite] — copy Show Commands show — qos [port-scheduler-policy-name] [association] — port-scheduler-policy 7210 SAS M OS Quality of Service Guide Page 379...
  • Page 356 QoS Port Scheduler Policy Command Reference Page 380 7210 SAS M OS Quality of Service Guide...
  • Page 357 — A text string describing the entity. Allowed values are any string up to 80 characters Parameters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 381...
  • Page 358 — Forces the destination policy name to be copied as specified. When forced, everything in the existing destination policy will be completely overwritten with the contents of the source policy. Page 382 7210 SAS M OS Quality of Service Guide...
  • Page 359 — Specifies the port scheduler policy mode. Parameters strict — Strict scheduler mode rr — Round Robin wrr — Weighted Round Robin wdrr — Weighted Deficit Round Robin 7210 SAS M OS Quality of Service Guide Page 383...
  • Page 360 1 — 8 (8 is the highest) Values strict — Specifies strict access. weight weight — Specifies the number of packets in case of WRR and ratio of traffic out in WDRR. 1 — 15 Values Page 384 7210 SAS M OS Quality of Service Guide...
  • Page 361 *A:Dut-1>config# show qos port-scheduler-policy =============================================================================== Port Scheduler Policies =============================================================================== Policy-Id Description Mode ------------------------------------------------------------------------------- default Default Port Scheduler policy. STRICT WDRR psp1 WDRR =============================================================================== *A:Dut-1>config# *A:Dut-1>config# show qos port-scheduler-policy psp association =============================================================================== 7210 SAS M OS Quality of Service Guide Page 385...
  • Page 362 - Port : 1/1/13 - Port : 1/1/14 - Port : 1/1/16 - Port : 1/1/17 - Port : 1/1/18 - Port : 1/1/19 - Port : 1/1/21 - Port : 1/1/22 Page 386 7210 SAS M OS Quality of Service Guide...
  • Page 363 QoS Port Scheduler Policy =============================================================================== Policy-Name : default Description : Default Port Scheduler policy. Accounting : packet-based Mode : STRICT Last changed : 04/11/2001 19:59:21 Number Of Queues =============================================================================== *A:Dut-1>config# 7210 SAS M OS Quality of Service Guide Page 387...
  • Page 364 Generic Commands Page 388 7210 SAS M OS Quality of Service Guide...
  • Page 365 Topics in this section include: • Overview on page 390 • Basic Configurations on page 391 • Default Slope Policy Values on page 395 • Deleting QoS Policies on page 399 7210 SAS M OS Quality of Service Guide Page 389...
  • Page 366: Overview

    For information about the tasks and commands necessary to access the command line interface and to configure and maintain your 7210 SAS M, refer to CLI Usage chapter in the 7210 SAS M OS Basic System Configuration Guide. Page 390 7210 SAS M OS Quality of Service Guide...
  • Page 367: Configuration Guidelines

    TCP Random Early Detection (RED) slope graph. • For 7210 SAS M devices configured in Network mode, the time average factor (TAF), a weighting exponent used to determine the portion of the shared buffer instantaneous 7210 SAS M OS Quality of Service Guide Page 391...
  • Page 368 Overview utilization and shared buffer average utilization used to calculate the new shared buffer average utilization. Page 392 7210 SAS M OS Quality of Service Guide...
  • Page 369 The following displays the slope policy configuration (f: 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# 7210 SAS M OS Quality of Service Guide Page 393...
  • Page 370: Applying Slope Policies

    Apply slope policies to the egress buffer pool on the access and network ports. Ports The following CLI syntax examples may be used to apply slope policies to ports: CLI Syntax: config>port>access>egress>pool>slope-policy name config>port>network>egress>pool>slope-policy name Page 394 7210 SAS M OS Quality of Service Guide...
  • Page 371: Default Slope Policy Values

    (RED) slope Administrative state shutdown start-avg 50% utilization max-avg 75% utilization max-prob 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 7210 SAS M OS Quality of Service Guide Page 395...
  • Page 372 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 exit Page 396 7210 SAS M OS Quality of Service Guide...
  • Page 373 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 non-tcp-slope shutdown start-avg 50 max-avg 75 7210 SAS M OS Quality of Service Guide Page 397...
  • Page 374 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 exit ---------------------------------------------- A:ALA>config>qos>slope-policy# Page 398 7210 SAS M OS Quality of Service Guide...
  • Page 375: Deleting Qos Policies

    Remove a Policy from the QoS Configuration To delete a slope policy, enter the following command: CLI Syntax: config>qos# no slope-policy policy-id Example config>qos# no slope-policy slopePolicy1 7210 SAS M OS Quality of Service Guide Page 399...
  • Page 376: Copying And Overwriting Qos Policies

    7 exit queue "2" 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 Page 400 7210 SAS M OS Quality of Service Guide...
  • Page 377 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "5" 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 7210 SAS M OS Quality of Service Guide Page 401...
  • Page 378 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "8" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 exit low-slope shutdown start-avg 50 Page 402 7210 SAS M OS Quality of Service Guide...
  • Page 379 Slope QoS Policies 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# 7210 SAS M OS Quality of Service Guide Page 403...
  • Page 380: Editing Qos Policies

    To prevent configuration errors copy the policy to a work area, make the edits, and then write over the original policy. Page 404 7210 SAS M OS Quality of Service Guide...
  • Page 381: Slope Qos Policy Command Reference

    — no max-prob — [no] shutdown — start-avg percent — no start-avg — time-average-factor value — no time-average-factor Operational Commands config — qos slope-policy src-name dst-name [overwrite] — copy 7210 SAS M OS Quality of Service Guide Page 405...
  • Page 382 Slope QoS Policy Command Reference Show Commands show — qos [slope-policy-name] [detail] — slope-policy Page 406 7210 SAS M OS Quality of Service Guide...
  • Page 383 7210 SAS M OS Quality of Service Guide Page 407...
  • Page 384 Slope QoS Policy Command Reference Page 408 7210 SAS M OS Quality of Service Guide...
  • Page 385 — A text string describing the entity. Allowed values are any string up to 80 characters Parameters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 409...
  • Page 386 If overwrite is not specified, an error will occur if the destination policy ID exists. ALA-7>config>qos# copy slope-policy default sp1 MINOR: CLI Destination "sp1" exists - use {overwrite}. ALA-7>config>qos#overwrite Page 410 7210 SAS M OS Quality of Service Guide...
  • Page 387 Valid names consist of any string up to 32 characters long composed of printable, 7-bit Values ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. 7210 SAS M OS Quality of Service Guide Page 411...
  • Page 388 Random Early Detection (RED) slope graph. Each buffer pool supports a low priority RED slope for managing access to the shared portion of the buffer pool for low priority or out-of-profile packets. Page 412 7210 SAS M OS Quality of Service Guide...
  • Page 389 TAF affects the speed at which the shared buffer average utilization tracks the instantaneous shared buffer utilization. A low value weights the new shared buffer average utilization calculation more to the 7210 SAS M OS Quality of Service Guide Page 413...
  • Page 390 A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value. 0 — 15 Values Page 414 7210 SAS M OS Quality of Service Guide...
  • Page 391 The percent parameter is expressed as a percentage of packet discard probability where always discard is a probability of 1. A max-prob value of 80 represents 80% of 1, or a packet discard probability of 0.8. 7210 SAS M OS Quality of Service Guide Page 415...
  • Page 392 70 — High slope default is 70% buffer utilization. Default max-avg 50 — Low slope default is 50% buffer utilization. max-avg 50 — Non-tcp slope default is 50% buffer utilization. Page 416 7210 SAS M OS Quality of Service Guide...
  • Page 393 The TAF value applies to all high ,low priority and non-tcp packets WRED slopes for egress access and network buffer pools controlled by the slope policy. 7210 SAS M OS Quality of Service Guide Page 417...
  • Page 394: Table 48: Show Qos Slope Policy Output Fields

    Specifies the high priority RED slope position for the maximum Max Prob. non-one packet discard probability value before the packet dis- card probability rises directly to one. Page 418 7210 SAS M OS Quality of Service Guide...
  • Page 395 Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Time Avg Factor ------------------------------------------------------------------------------- Queue Id Time Avg Factor ------------------------------------------------------------------------------- Queue1 Queue2 Queue3 Queue4 Queue5 7210 SAS M OS Quality of Service Guide Page 419...
  • Page 396 ------------------------------------------------------------------------------- Queue1 Down Queue2 Down Queue3 Down Queue4 Down Queue5 Down Queue6 Down Queue7 Down Queue8 Down ------------------------------------------------------------------------------- Time Avg Factor ------------------------------------------------------------------------------- Queue Id Time Avg Factor ------------------------------------------------------------------------------- Queue1 Queue2 Page 420 7210 SAS M OS Quality of Service Guide...
  • Page 397 Show Commands Queue3 Queue4 Queue5 Queue6 Queue7 Queue8 ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Object Type Object Id Application Pool ------------------------------------------------------------------------------- Port 1/1/13 Acc-Egr default =============================================================================== *A:SN12345678# 7210 SAS M OS Quality of Service Guide Page 421...
  • Page 398 RED Slope Commands Page 422 7210 SAS M OS Quality of Service Guide...
  • Page 399: Standards Compliance

    Standards and Protocol Support RFC 3392 Capabilities Advertisement RFC 2462 IPv6 Stateless Address Auto Standards Compliance with BGP4 configuration IEEE 802.1ab-REV/D3 Station and RFC 4271 BGP-4 (previously RFC 1771) RFC 2463 Internet Control Message Media Access Control Connectivity Protocol (ICMPv6) for the Internet RFC 4360 BGP Extended Communities Discovery Protocol Version 6 Specification...
  • Page 400 Standards and Protocols RFC 3037 LDP Applicability RFC 2575 SNMP-VIEW-BASEDACM- RFC 4090 Fast reroute Extensions to RSVP-TE for LSP Tunnels RFC 3478 Graceful Restart Mechanism for LDP — GR helper RFC 2576 SNMP-COMMUNITY-MIB RFC 5817 Graceful Shutdown in MPLS and GMPLS Traffic Engineering RFC 5283 LDP extension for Inter-Area RFC 2665 EtherLike-MIB Networks...
  • Page 401 Standards and Protocols draft-ietf-secsh-transport.txt SSH TIMETRA-SECURITY-MIB.mib VPLS Transport Layer Protocol RFC 4762 Virtual Private LAN Services TIMETRA-SERV-MIB.mib draft-ietf-secsh-connection.txt SSH Using LDP (previously draft-ietf- TIMETRA-SYSTEM-MIB.mib Connection Protocol l2vpn-vpls-ldp-08.txt) TIMETRA-TC-MIB.mib draft-ietf-secsh- newmodes.txt SSH TIMETRA-ISIS-MIB.mib Transport Layer Encryption Modes VRRP TIMETRA-ROUTE-POLICY-MIB.mib RFC 2787 Definitions of Managed TIMETRA-MPLS-MIB.mib Objects for the Virtual Router TACACS+...
  • Page 402 Standards and Protocols Page 426 Standards and Protocols...
  • Page 403 NDEX configuring applying to services basic overview command reference policies 21, 83 ingress policy access egress overview overview slope policies configuring overview 66, 390 access egress policies 339, 344 RED slopes command reference shared buffer utilization default values configuring modifying applying to MDA frame-based accounting basic...
  • Page 404 Page 428 7210-SAS M Quality of Services Guide...

Table of Contents