Alcatel-Lucent 7210 SAS D Service Manual

Hide thumbs Also See for 7210 SAS D:
Table of Contents

Advertisement

Quick Links

7210 SAS D, E OS
Quality of Service Guide
Software Version: 7210 SAS OS 6.0 Rev.02
August 2013
Document Part Number: 93-0488-01-02
93-0488-01-02

Advertisement

Table of Contents
loading

Summary of Contents for Alcatel-Lucent 7210 SAS D

  • Page 1 7210 SAS D, E OS Quality of Service Guide Software Version: 7210 SAS OS 6.0 Rev.02 August 2013 Document Part Number: 93-0488-01-02 93-0488-01-02...
  • 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 .......16 QoS Policies QoS Overview.
  • Page 4 Service Management Tasks ............208 Page 4 7210 SAS D, E OS Quality of Service Guide...
  • Page 5 ................337 7210 SAS D, E OS Quality of Service Guide...
  • Page 6 Table of Contents Page 6 7210 SAS D, E OS Quality of Service Guide...
  • Page 7 Default Slope Policy Definition (for 7210 SAS D) ....... . .
  • Page 8 Show QoS Slope Policy Output Fields ......... . . 329 Page 8 7210 SAS D, E OS Quality of Service Guide...
  • Page 9 7210 SAS D, E Traffic Types ........
  • Page 10 List of Figures Page 10 7210 SAS D, E OS Quality of Service Guide...
  • Page 11: Preface

    Command Line Interface (CLI) syntax and command usage. This guide provides information to configure QoS policies on both 7210 SAS E and 7210 SAS D devices. Unless otherwise noted, the QoS policies are applicable to both 7210 SAS E and 7210 SAS D devices.
  • Page 12: List Of Technical Publications

    This guide describes how to configure features such as service mirroring and Operations, Administration and Management (OAM) tools. • 7210-SAS D and E OSQuality of Service Guide This guide describes how to configure Quality of Service (QoS) policy management. Page 12 7210 SAS D, E 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 D, E OS Quality of Service Guide...
  • Page 15: Getting Started

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

    QoS Port Scheduler Policies on page 271 • Slope Slope QoS Policies on page 289 Reference • List of IEEE, IETF, and Standards and Protocol Support on page 397 other proprietary entities Page 16 7210 SAS D, E OS Quality of Service Guide...
  • Page 17: Qos Policies

    Queue Parameters on page 35 • Slope Policies on page 50 • Port Scheduler Policies on page 59 • QoS Policy Entities on page 65 • Configuration Notes on page 66 7210 SAS D, E OS Quality of Service Guide Page 17...
  • Page 18: Qos Overview

    QoS Overview QoS Overview The 7210 SAS D, E are designed with QoS mechanisms on both ingress and egress to support multiple services per physical port. The 7210 SAS D, E have extensive and flexible capabilities to classify, police, shape, and mark traffic.
  • Page 19: Qos Policies

    QoS Policies QoS Policies 7210 SAS D, E QoS policies are applied on service ingress, access ports, egress and access uplink ports and define: • Classification rules for how traffic is mapped to forwarding classes • Forwarding class association with meters and meter parameters used for policing (rate- limiting).
  • Page 20 QoS policy defines both ingress and egress behavior. One network queue policy can be applied to the access uplink port. If no QoS policy is explicitly applied to a SAP or port, a default QoS policy is applied. Page 20 7210 SAS D, E OS Quality of Service Guide...
  • Page 21: Table 2: Qos Policy Types And Descriptions

    Slope Ports • Enables or disables the high-slope, low-slope, and non-TCP parameters within the egress pool. Port scheduler Port • Defines the parameters for the port scheduler. 7210 SAS D, E OS Quality of Service Guide Page 21...
  • Page 22: Service And Network Qos Policies

    QoS Overview Service and Network QoS Policies The QoS mechanisms within the 7210 SAS D, E are specialized for the type of traffic on the interface. For customer interfaces, there is service ingress and access egress traffic, and for access...
  • Page 23: Network Qos Policies

    The network QoS policy applied at network egress (for example, on an access uplink port) determines how or whether the profile state is marked in packets transmitted into the service core 7210 SAS D, E OS Quality of Service Guide Page 23...
  • Page 24: Table 4: Default Network Qos Policy Egress Marking

    For network egress, traffic remarking in the network QoS policy is always enabled for 7210 SAS E devices and can be enabled or disabled for 7210 SAS D devices. Table 5 lists the default mapping of forwarding class to Dot1p values.
  • Page 25 QoS Policies Table 5: Default Network QoS Policy Dot1p to FC Mapping Dot1pValue 7210 FC Ingress Profile 7210 SAS D, E OS Quality of Service Guide Page 25...
  • Page 26: Network Queue Qos Policies

    The system default network queue policy is named default and cannot be edited or deleted. CBS values cannot be provisioned. Table 6 describes the default network queue policy definition. Table 6: Default Network Queue Policy Definition.(For 7210 SAS E and 7210 SAS D devices) Forwarding Class Queue Definition Queue 8 •...
  • Page 27 QoS Policies Table 6: Default Network Queue Policy Definition.(For 7210 SAS E and 7210 SAS D devices) Forwarding Class Queue Definition (Continued) Queue 3 • PIR = 100% Assured (af) • CIR = 25% • CBS = 21% Queue 2 •...
  • Page 28: Meter Parameters

    When defining the CIR for a meter, the value specified is the administrative CIR for the meter. The 7210 SAS D, E have a number of native rates in hardware that it uses to determine the operational CIR for the meter. The user has some control over how the administrative CIR is converted to an operational CIR should the hardware not support the exact CIR and PIR combination specified.
  • Page 29: Table 7: Administrative Rate Example

    When defining the PIR for a meter, the value specified is the administrative PIR for the meter. The 7210 SAS D, E have a number of native rates in hardware that it uses to determine the operational PIR for the meter. The user has some control over how the administrative PIR is converted to an operational PIR should the hardware not support the exact CIR and PIR combination specified.
  • Page 30 Closest: The system identifies the next multiple of 8 kbps that is closest to the specified rate. For 7210 SAS D devices, the maximum CIR and PIR rate is 4000000. The range of CBS and MBS is 4 up to 16384.
  • Page 31 RFC4115. Color Aware Policing The 7210 SAS D, E support Color Aware policing at the network ingress, where as at service ingress policing is color blind. In color aware policing user can define the color of the packet using the classification and feed those colored packets to the meter.
  • Page 32 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 32 7210 SAS D, E OS Quality of Service Guide...
  • Page 33: Qos Overrides

    QoS override commands are not allowed when ToD is attached to the SAP. • On 7210 SAS-D/E, QoS override commands are not supported for ingress and egress QoS policies used with access-uplink SAPs and ports. 7210 SAS D, E OS Quality of Service Guide Page 33...
  • Page 34 *7210SAS>config>service>epipe>sap>ingress# info ---------------------------------------------- qos 13 meter-override meter 1 create mode trtcm2 adaptation-rule pir max cir max cbs 300 mbs 200 rate cir 300 pir 400 exit exit ---------------------------------------------- *A:7210SAS>config>service>epipe>sap>ingress# Page 34 7210 SAS D, E OS Quality of Service Guide...
  • Page 35: Queue Parameters

    The queue ID is used to uniquely identify the queue. The queue ID is only unique within the context of the QoS policy within which the queue is defined. On 7210 SAS D, E, the queue ID is not a user configurable entity but the queue ID is statically assigned to the 8 Queues on the port...
  • Page 36 The CIR for the access uplink queues are defined within network queue policies based on the forwarding class. The CIR for the access uplink queues is specified as a percentage of the network interface bandwidth. Page 36 7210 SAS D, E OS Quality of Service Guide...
  • Page 37 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 38 7210 SAS D, E OS Quality of Service Guide Page 37...
  • Page 38: Table 8: Supported Hardware Rates And Cir/Pir Values

    In 7210 SAS E devices, for the supported CIR/PIR range values 0 to 1Gb, the same hardware rate step of 64 kbps is used. In 7210 SAS D devices, for the supported CIR/PIR range values 0 to 1Gb, the same hardware rate is shown in...
  • Page 39 If the adaptation rule is closest, the operational CIR and PIR values will be 64 Kbps and 128 Kbps, respectively, as those are the closest matches for the administrative values that are even multiples of the 64 Kbps rate step. 7210 SAS D, E OS Quality of Service Guide Page 39...
  • Page 40: Service Ingress Qos Policies

    QoS policy match criteria to map packets to a forwarding class. Optional service ingress QoS policy elements for 7210 SAS-D include: • Additional unicast meters up to a total of 31. Page 40 7210 SAS D, E OS Quality of Service Guide...
  • Page 41: Figure 2: Traffic Queuing Model For Forwarding Classes

    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 D, E OS Quality of Service Guide Page 41...
  • Page 42: Table 10: In 7210 Sas-D

    PBB (Epipe I-SAP, VPLS I-SAP, B-SAP), IES and VPRN services. The MAC match criteria that can be used for an Ethernet frame depends on the frame’s format. Note that 7210 SAS D, E do not support configuring of the frame-type match criteria. See Table Page 42...
  • Page 43: Table 14: Mac Match Ethernet Frame Types

    In the default policy no queues are defined. All traffic is mapped to the default forwarding class which uses a meter by default. The characteristics of the default policy are listed in Table 7210 SAS D, E OS Quality of Service Guide Page 43...
  • Page 44: Table 16: Default Service Ingress Policy Id 1 Definition

    SAP ingress policies. An aggregate SAP shaper is available for use per SAP. The aggregate shaper limits the rate of unicast queued traffic across all the FCs configured on SAP ingress. Page 44 7210 SAS D, E OS Quality of Service Guide...
  • Page 45: Hierarchical Ingress Policing

    For more information on the final color assigned of the packet, refer to the command description of "aggregate-meter-rate" command in the 7210 SAS D, E Services Guide. A new meter mode “trtcm2” (RFC 4115) is introduced for use only on SAP ingress. When the SAP aggregate policer is configured, the per FC policer can be only configured in “trtcm2”...
  • Page 46 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. Page 46 7210 SAS D, E OS Quality of Service Guide...
  • Page 47: Table 17: Default Access Egress Policy Id 1 Definition

    • 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: 7210 SAS D, E OS Quality of Service Guide Page 47...
  • Page 48 Table 17: 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) Page 48 7210 SAS D, E OS Quality of Service Guide...
  • Page 49: Buffer Pools

    Buffer pools cannot be created or destroyed in the 7210 SAS. The default pools created by the system are distributed among various ports. The 7210 SAS D, E only support port egress buffer pools. The egress buffer pools are distributed as access uplink egress buffer pool and access egress buffer pools. During system initialization, based on the maximum number of ports to be supported for access and access uplink, the total buffer is distributed into the access egress buffer pool and the access uplink egress buffer pool.
  • Page 50: Slope Policies

    Access and access uplink pools are created at the port level; creation is dependent on the physical port mode (access uplink or access). Note: If WRED is not configured then taildrop is used. Page 50 7210 SAS D, E OS Quality of Service Guide...
  • Page 51 RED slope operation. The CBS setting can be used to dynamically maintain the buffer space on which the RED slopes operate. 7210 SAS D, E OS Quality of Service Guide Page 51...
  • Page 52 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. Page 52 7210 SAS D, E OS Quality of Service Guide...
  • Page 53: Figure 3: Red Slope Characteristics

    RED slope. Tuning the Shared Buffer Utilization Calculation The 7210 SAS D allows tuning the calculation of the Shared Buffer Average Utilization (SBAU) after assigning buffers for a packet entering a queue as used by the RED slopes to calculate a packet’s drop probability.
  • Page 54: Table 18: Taf Impact On Shared Buffer Average Utilization Calculation

    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) Page 54 7210 SAS D, E OS Quality of Service Guide...
  • Page 55 The TAF value applies to all high and low priority RED slopes for ingress and egress buffer pools controlled by the buffer policy. 7210 SAS D, E OS Quality of Service Guide Page 55...
  • Page 56: Slope Policy Parameters (For 7210 Sas-E Devices)

    Administrative state Shutdown start-avg 70% utilization max-avg 90% utilization max-prob 80% probability Low (RED) slope Administrative state Shutdown start-avg 50% utilization max-avg 75% utilization max-prob 80% probability Time average factor Page 56 7210 SAS D, E OS Quality of Service Guide...
  • Page 57: Slope Policy Parameters (For 7210 Sas D Devices)

    The default slope policy is implicitly applied to all access andnetworkbuffer pools which do not have another slope policy explicitly assigned. Table 21 lists the default values for the default slope policy. 7210 SAS D, E OS Quality of Service Guide Page 57...
  • Page 58: Table 21: Default Slope Policy Definition (For 7210 Sas D)

    Low (RED) slope Administrative state Shutdown start-avg 50% utilization max-avg 75% utilization max-prob 75% probability Non-TCP (RED) Administrative State Shutdown slope start-avg 50% utilization max-avg 75% utilization max-prob 75% probability Page 58 7210 SAS D, E OS Quality of Service Guide...
  • Page 59: 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 7210 SAS D, E OS Quality of Service Guide Page 59...
  • Page 60 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 Page 60 7210 SAS D, E OS Quality of Service Guide...
  • Page 61: 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. 7210 SAS D, E OS Quality of Service Guide Page 61...
  • Page 62: Egress Port Rate Limiting

    QoS Overview Egress Port Rate Limiting The 7210 SAS D, E support port egress rate limiting. This features allows the user to limit the bandwidth available on the egress of the port to a value less than the maximum possible link bandwidth.
  • Page 63: Forwarding Classes

    Network QoS Policies on page 23. All forwarding class queues support the concept of in-profile and out-of-profile. 7210 SAS D, E OS Quality of Service Guide Page 63...
  • Page 64: Table 24: Forwarding Class To Queue-Id Map

    Forwarding-Class To Queue-ID Map There are 8 forwarding classes supported on 7210 SAS D, E. Each of these FC is mapped to a specific queue while traffic is flowing on the egress port. By mapping FC to different queues the differential treatment is imparted to various classes of traffic.
  • Page 65: Qos Policy Entities

    Network queue policy (egress) on access uplinknetwork port . QoS prioritizes traffic according to the forwarding class and uses congestion management to control access ingress, access egress, and network traffic, enqueuing packets according to their priority (color). 7210 SAS D, E OS Quality of Service Guide Page 65...
  • Page 66: Configuration Notes

    • Associating a service or access/access uplinkaccess or IP interface or network ports with a QoS policy other than the default policy is optional. Page 66 7210 SAS D, E OS Quality of Service Guide...
  • Page 67: 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 68 • Basic Configurations on page 70 • Configuration Commands on page 78 7210 SAS D, E OS Quality of Service Guide Page 67...
  • Page 68: 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 68 7210 SAS D, E OS Quality of Service Guide...
  • Page 69: Effect Of Port Level Rate-Limiting On Access Uplink Queue Functionality

    • When the egress-rate sub-rate value is set, CBS/MBS of the associated network queues will not change. 7210 SAS D, E OS Quality of Service Guide Page 69...
  • Page 70: 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 70 7210 SAS D, E OS Quality of Service Guide...
  • Page 71: 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 D, E OS Quality of Service Guide Page 71...
  • Page 72: Removing Port Level Egress-Rate Command

    *A:Dut-1>config>port# Default Egress-Rate Values By default no egress-rate is configured for a port. For more information on the CLI and description, see Port Level Egress-Rate Command Reference on page Page 72 7210 SAS D, E OS Quality of Service Guide...
  • Page 73: 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 74 • Basic Configurations on page 75 • Configuration Commands on page 82 7210 SAS D, E OS Quality of Service Guide Page 73...
  • Page 74: 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 74 7210 SAS D, E OS Quality of Service Guide...
  • Page 75: 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 D, E OS Quality of Service Guide Page 75...
  • Page 76: Enabling And Disabling 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 76 7210 SAS D, E OS Quality of Service Guide...
  • Page 77: Port Level Egress-Rate Command Reference

    Port Level Egress-Rate Command Reference Command Hierarchies Configuration Commands config — port — ethernet — egress-rate sub-rasub-rate [max-burst size-in-kbits] — no egress-rate Show Commands show — port [port-id] 7210 SAS D, E OS Quality of Service Guide Page 77...
  • Page 78 — Specifies an integer value between 1 and 1000000 kbps and between 1 and 10000000 kbps for 10G port. 7210 SAS-D devices do not support 10G port. max-burst size-in-kbits — Specifies an integer value, in kilo-bits, between 64 and 16384 or default. Page 78 7210 SAS D, E OS Quality of Service Guide...
  • Page 79 Configured Address : 00:78:76:45:54:02 Hardware Address : 00:78:76:45:54:02 Cfg Alarm Alarm Status Transceiver Data Transceiver Type : SFP Model Number : 3HE00027AAAA02 IPUIAELDAB= TX Laser Wavelength: 850 nm Diag Capable : yes 7210 SAS D, E OS Quality of Service Guide Page 79...
  • Page 80 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:dut-1>config>qos>network-queue# Page 80 7210 SAS D, E OS Quality of Service Guide...
  • Page 81: Frame Based Accounting Command Reference

    — [no] ingress-enable Show Commands show — qos — access-egress [policy-id] [association|detail] — network [policy-id] [detail] — network-queue [network-queue-policy-name] [detail] — port-scheduler-policy [port-scheduler-policy-name] [association] — sap-ingress [policy-id] [association|match-criteria|detail] 7210 SAS D, E OS Quality of Service Guide Page 81...
  • Page 82: Configuration Commands

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

    This command displays the accounting status of a network qos policy along with other details of the policy. When frame-based-accounting is enabled accounting is shown as frame-based otherwise packet-based. 7210 SAS D, E OS Quality of Service Guide Page 83...
  • Page 84 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:Dut-1# Page 84 7210 SAS D, E OS Quality of Service Guide...
  • Page 85 — Displays information about the specific Network queue policy. detail — Displays the detailed policy information. Sample Output *A:Dut-1# show qos network-queue default =============================================================================== QoS Network Queue Policy 7210 SAS D, E OS Quality of Service Guide Page 85...
  • Page 86 — Displays information about the specific Displays the associations of the port scheduler policy. association — Sample Output *A:Dut-1# show qos port-scheduler-policy default =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : default Page 86 7210 SAS D, E OS Quality of Service Guide...
  • Page 87 Description : Default Port Scheduler policy. Accounting : frame-based Mode : STRICT Last changed : 08/06/2001 18:36:04 Number Of Queues 7210 SAS D, E OS Quality of Service Guide Page 87...
  • Page 88 Show Commands Page 88 7210 SAS D, E OS Quality of Service Guide...
  • Page 89: Network Qos Policies

    Topics in this section include: • Overview on page 90 • Basic Configurations on page 94 • Default Network Policy Values on page 97 • Service Management Tasks on page 101 7210 SAS D, E OS Quality of Service Guide Page 89...
  • Page 90: Overview

    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 7210 SAS D, E OS Basic System Configuration Guide. Page 90...
  • Page 91: Normal Qos Operation

    The default QoS mapping always exists on an access uplink port and every received packet will be mapped to this default if another explicitly defined matching entry does not exist. 7210 SAS D, E OS Quality of Service Guide Page 91...
  • Page 92: Dscp Marking Cpu Generated Traffic

    Dot1P Default DSCP DOT1P Protocol IPv4 Marking Marking Values Values SNMP TELNET TFTP SYSLOG TACACS RADIUS ICMP Req ICMP Res ICMP Unreach SNMP trap/log ICMP ping Trace route TACPLUS Page 92 7210 SAS D, E OS Quality of Service Guide...
  • Page 93: 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 D, E OS Quality of Service Guide Page 93...
  • Page 94: Basic Configurations

    → Dot1p — Creates a mapping between the Dot1p bits of the network ingress traffic and the forwarding class. Ingress traffic that matches the specified Dot1p bits will be assigned to the corresponding forwarding class. Page 94 7210 SAS D, E OS Quality of Service Guide...
  • Page 95 ---------------------------------------------- A:ALA-10config>qos>network# CLI Syntax: config>port ethernet access uplink qos network-policy-id The following output displays the configuration for uplink port 1/1/1 with network policy 600 applied to the interface. 7210 SAS D, E OS Quality of Service Guide Page 95...
  • Page 96 Basic Configurations A:ALA-7>config# info #-------------------------------------------------- echo "Port Configuration" #-------------------------------------------------- port 1/1/1 shutdown description "port 1/1/1" ethernet mode access uplink access uplink qos 600 exit exit exit exit #-------------------------------------------------- A:ALA-7>config# Page 96 7210 SAS D, E OS Quality of Service Guide...
  • Page 97: Default Network Policy Values

    (for 7210 SAS-E), no (for 7210 SAS-D) fc af: dot1p-in-profile dot1p-out-profile fc be: dot1p-in-profile dot1p-out-profile fc ef: dot1p-in-profile dot1p-out-profile fc h1: dot1p-in-profile dot1p-out-profile fc h2: dot1p-in-profile dot1p-out-profile fc l1: 7210 SAS D, E OS Quality of Service Guide Page 97...
  • Page 98: Table 27: Default Network Qos Policy Dot1P To Fc Mapping

    Table 27: Default Network QoS Policy Dot1p to FC Mapping Dot1p Value 7210 FC Ingress Profile The following output displays the default configuration: *A:ALU-7210>config>qos>network# info detail ---------------------------------------------- description "Default network QoS policy." scope template ingress Page 98 7210 SAS D, E OS Quality of Service Guide...
  • Page 99 4 dot1p-out-profile 4 exit fc l1 dot1p-in-profile 3 dot1p-out-profile 2 exit fc l2 dot1p-in-profile 1 dot1p-out-profile 1 exit fc nc dot1p-in-profile 7 dot1p-out-profile 7 exit exit 7210 SAS D, E OS Quality of Service Guide Page 99...
  • Page 100 Basic Configurations ---------------------------------------------- *A:ALU-7210>config>qos>network# Page 100 7210 SAS D, E OS Quality of Service Guide...
  • Page 101: 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 D, E OS Quality of Service Guide Page 101...
  • Page 102: 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 102 7210 SAS D, E OS Quality of Service Guide...
  • Page 103: 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 D, E OS Quality of Service Guide Page 103...
  • Page 104: Resource Allocation For Network Qos Policy

    Given the number of match criteria and the number of FCs used, use the equation given below to arrive at total number of classification entries per policy (for example TC): TC= Σ 2 * E(i) i=nc,h1,ef,h2,l1,af,l2,be Where, Page 104 7210 SAS D, E OS Quality of Service Guide...
  • Page 105 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 D, E OS Quality of Service Guide Page 105...
  • Page 106: Network Qos Policies Resource Usage Examples

    The number of meters (TP) used are: 2 (meter 1 and 9). Example 2 network 2 create description “network-policy-2” ingress default-action fc be profile out meter 1 create exit meter 2 create exit meter 9 multipoint create Page 106 7210 SAS D, E OS Quality of Service Guide...
  • Page 107 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 D, E OS Quality of Service Guide Page 107...
  • Page 108 (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 108 7210 SAS D, E OS Quality of Service Guide...
  • Page 109 (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 create description “network-policy-5” ingress default-action fc be profile out meter 1 create 7210 SAS D, E OS Quality of Service Guide Page 109...
  • Page 110 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 110 7210 SAS D, E OS Quality of Service Guide...
  • Page 111 7 fc nc profile in 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 7210 SAS D, E OS Quality of Service Guide Page 111...
  • Page 112 2 6 fc h1 profile in network-policy 2 7 fc nc profile in exit egress no remarking The number of classification entries (TC) used is: 18. The number of meters (TP) used is: 2. Page 112 7210 SAS D, E OS Quality of Service Guide...
  • Page 113 (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). 7210 SAS D, E OS Quality of Service Guide Page 113...
  • Page 114 Service Management Tasks Page 114 7210 SAS D, E OS Quality of Service Guide...
  • Page 115: Network Qos Policy Command Reference

    [multipoint] [create] — no meter meter-id — adaptation-rule [cir adaptation-rule] [pir adaptation-rule] — no adaptation-rule — size-in-kbits — no — size-in-kbits — no — mode mode — no mode 7210 SAS D, E OS Quality of Service Guide Page 115...
  • Page 116 Network QoS Policy Command Reference — rate cir-rate-in-kbps [pir pir-rate-in-kbps] — no rate Operational Commands config — qos — copy network src-pol dst-pol [overwrite] Page 116 7210 SAS D, E OS Quality of Service Guide...
  • Page 117 Show Commands show — qos — network policy-id [detail] 7210 SAS D, E OS Quality of Service Guide Page 117...
  • Page 118 Network QoS Policy Command Reference Page 118 7210 SAS D, E OS Quality of Service Guide...
  • Page 119 — A text string describing the entity. Allowed values are any string up to 80 characters 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 D, E OS Quality of Service Guide Page 119...
  • Page 120 The system default policies cannot be put into the exclusive scope. An error will be generated if scope exclusive is executed in any policies with a policy-id equal to 1. Page 120 7210 SAS D, E OS Quality of Service Guide...
  • Page 121 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 D, E OS Quality of Service Guide Page 121...
  • Page 122 That work-in-progress policy can be modified until complete and then written over the original policy-id. Use the config qos copy command to maintain policies in this manner. Page 122 7210 SAS D, E OS Quality of Service Guide...
  • Page 123 The default network policy policy-id 1 cannot be deleted. System Default Network Policy 1 Default Parameters network-policy-id — The policy-id uniquely identifies the policy on the 7210 SAS. Default none Values 1— 65535 7210 SAS D, E OS Quality of Service Guide Page 123...
  • Page 124 {in | out} — All packets that are assigned to this forwarding class will be considered in or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets. Default None Values in, out Page 124 7210 SAS D, E OS Quality of Service Guide...
  • Page 125 {in | out} — All packets that are assigned to this forwarding class will be considered in or out of profile based on this command . In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets. Default none, the profile name must be specified. 7210 SAS D, E OS Quality of Service Guide Page 125...
  • Page 126 The multipoint keyword can be entered in the command line on a pre-existing multipoint meter to edit meter-id parameters. Values multipoint or not present Default Not present (the queue is created as non-multipoint) Page 126 7210 SAS D, E OS Quality of Service Guide...
  • Page 127 Default Parameters meter-id — Specifies the multicast meter. The specified parameter must be an existing, multipoint meter defined in the config>qos>network>ingress context. Values 2— 12 7210 SAS D, E OS Quality of Service Guide Page 127...
  • Page 128 PIR/CIR will be the next multiple of 64 kbps (for 7210 SAS E) and 8 kbps (for 7210 SAS D) that is equal to or lesser than the specified rate. min — The min (minimum) option is mutually exclusive with the max and closest options. When min is defined, the operational PIR/CIR will be the next multiple of 64 kbps (for 7210 SAS E) and 8 kbps (for 7210 SAS D) that is equal to or higher than the specified rate.
  • Page 129 For example, for a value of 100 Kbits, enter the value 100. Values 32(for 7210 SAS E) — 16384, default Values 4(for 7210 SAS D) — 16384, default 7210 SAS D, E OS Quality of Service Guide Page 129...
  • Page 130 The no form of the command returns all meter instances created with this meter-id to the default PIR and CIR parameters (max, 0). NOTE: The value of rates are represented in 1000 kilobits per second and bursts are represented as 1024 kilobits per second. Page 130 7210 SAS D, E OS Quality of Service Guide...
  • Page 131 The actual PIR rate is dependent on the meter’s adaptation-rule parameters and the actual hardware where the meter is provisioned. Values — 2000000(for 7210 SAS E), max 0 — 4000000(for 7210 SAS D), max 7210 SAS D, E OS Quality of Service Guide Page 131...
  • Page 132 1. Parameters fc-name — The case-sensitive, system-defined forwarding class name for which policy entries will be created. Default none Values be, l2, af, l1, h2, ef, h1, nc Page 132 7210 SAS D, E OS Quality of Service Guide...
  • Page 133 A maximum of eight dot1p rules are allowed on a single policy. Values 0 — 7 7210 SAS D, E OS Quality of Service Guide Page 133...
  • Page 134 Remarking is always enabled on the access uplink ports for 7250 SAS E devices. For 7210 SAS D devices remarking can be enabled or disabled. Since the 7210 SAS D, E are used to connect to a particular diffserv domain so it is very important that each and every packet ingressing on the 7210 SAS D, E is mapped and marked and thereby assigned to a particular diffserv class while going through the network.
  • Page 135: Table 28: Show Qos Network Output Fields

    The remarking is based on the forwarding class to Dot1p bit mapping defined under the egress node of the network QoS pol- icy. For 7210 SAS D devices remarking can be enabled or dis- abled. A text string that helps identify the policy’s context in the con- Description figuration file.
  • Page 136 ------------------------------------------------------------------------------- UCastM MCastM ------------------------------------------------------------------------------- No FC-Map Entries Found. ------------------------------------------------------------------------------- Port Attachments ------------------------------------------------------------------------------- Port-id : 1/1/24 =============================================================================== *A:SN12345678# *A:dut-g# show qos network 1 detail =============================================================================== QoS Network Policy Page 136 7210 SAS D, E OS Quality of Service Guide...
  • Page 137 FC Name : h2 - Dot1p Mapping Out-of-Profile : 4 In-Profile FC Value FC Name : ef - Dot1p Mapping Out-of-Profile : 5 In-Profile FC Value FC Name : h1 7210 SAS D, E OS Quality of Service Guide Page 137...
  • Page 138 Policy Type : port Accounting : packet-based Description : Default network QoS policy. ------------------------------------------------------------------------------- DSCP Forwarding Class Profile ------------------------------------------------------------------------------- No Matching Entries ------------------------------------------------------------------------------- Dot1p Bit Map Forwarding Class Profile *A:SAS-D>show>qos# Page 138 7210 SAS D, E OS Quality of Service Guide...
  • Page 139: Network Queue Qos Policies

    Topics in this section include: • Overview on page 140 • Basic Configurations on page 141 • Default Network Queue Policy Values on page 144 • Service Management Tasks on page 148 7210 SAS D, E OS Quality of Service Guide Page 139...
  • Page 140: Overview

    The default policy is identified as network-queue default. Default network queue policies are applied to all access uplink ports . You must explicitly create and then associate other network queue QoS policies. Page 140 7210 SAS D, E OS Quality of Service Guide...
  • Page 141: Basic Configurations

    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 rate cir 25 pir 100 7210 SAS D, E OS Quality of Service Guide Page 141...
  • Page 142 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 142 7210 SAS D, E OS Quality of Service Guide...
  • Page 143: 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 exit 7210 SAS D, E OS Quality of Service Guide Page 143...
  • Page 144: Default Network Queue Policy Values

    Table 29: Network Queue Policy Defaults Field Default description Default network queue QoS policy. queue 1 rate queue 2 rate queue 3 rate queue 4 rate queue 5 rate queue 6 Page 144 7210 SAS D, E OS Quality of Service Guide...
  • Page 145 6 rate 100 pir 100 adaptation-rule cir closest pir closest exit queue 7 rate 10 pir 100 adaptation-rule cir closest pir closest exit 7210 SAS D, E OS Quality of Service Guide Page 145...
  • Page 146 0 pir 100 adaptation-rule cir closest pir closest queue-mgmt "default" exit queue 8 port-parent cir-level 1 pir-weight 1 rate cir 0 pir 100 adaptation-rule cir closest pir closest queue-mgmt "default" Page 146 7210 SAS D, E OS Quality of Service Guide...
  • Page 147 Network Queue QoS Policies exit ---------------------------------------------- *7210SAS>config>qos>network-queue# 7210 SAS D, E OS Quality of Service Guide Page 147...
  • Page 148: Service Management Tasks

    When you remove a QoS policy, the policy association reverts to the default network-queue policy default. 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 Page 148 7210 SAS D, E OS Quality of Service Guide...
  • Page 149: 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 7210 SAS D, E OS Quality of Service Guide Page 149...
  • Page 150 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 Page 150 7210 SAS D, E OS Quality of Service Guide...
  • Page 151: 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 D, E OS Quality of Service Guide Page 151...
  • Page 152 Service Management Tasks Page 152 7210 SAS D, E OS Quality of Service Guide...
  • Page 153: Network Queue Qos Policy Command Reference

    [create] — description description-string — no description — queue queue-id — adaptation-rule [cir adaptation-rule] [pir adaptation-rule] — no adaptation-rule — rate [cir cir-percent] [pir pir-percent] — no rate 7210 SAS D, E OS Quality of Service Guide Page 153...
  • Page 154 Network Queue QoS Policy Command Reference Operational Commands config — qos — copy network-queue src-name dst-name [overwrite] Show Commands show — qos — network-queue [network-queue-policy-name] [detail] Page 154 7210 SAS D, E OS Quality of Service Guide...
  • Page 155 — A text string describing the entity. Allowed values are any string up to 80 characters 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 D, E OS Quality of Service Guide Page 155...
  • Page 156 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 156 7210 SAS D, E OS Quality of Service Guide...
  • Page 157 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 D, E OS Quality of Service Guide Page 157...
  • Page 158 Values pir — Defines the constraints enforced when adapting the PIR rate defined within the queue queue-id rate command. The pir parameter requires a qualifier that defines the Page 158 7210 SAS D, E OS Quality of Service Guide...
  • Page 159 Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue 7210 SAS D, E OS Quality of Service Guide Page 159...
  • Page 160 PIR of 100 is assumed. Fractional values are not allowed and must be given as a positive integer. Values 1— 100 percent Page 160 7210 SAS D, E OS Quality of Service Guide...
  • Page 161: Table 30: Network Queue Labels And Descriptions

    Displays the peak information rate. 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) 7210 SAS D, E OS Quality of Service Guide Page 161...
  • Page 162 6.00 closest closest 10.00 closest closest 10.00 closest closest 1.00 closest closest 7.00 closest closest ------------------------------------------------------------------------------- UCastQ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Port-id : 1/1/1 Port-id : 1/1/22 =============================================================================== *A:card-1>config>qos# Page 162 7210 SAS D, E OS Quality of Service Guide...
  • Page 163: Service Ingress Qos Policies

    This section provides information to configure SAP ingress QoS policies using the command line interface. Topics in this section include: • Overview on page 164 • Basic Configurations on page 178 • Service Management Tasks on page 208 7210 SAS D, E OS Quality of Service Guide Page 163...
  • Page 164: 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 164 7210 SAS D, E OS Quality of Service Guide...
  • Page 165: 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 D, E OS Quality of Service Guide Page 165...
  • Page 166: Sap Ingress Policy Defaults

    The system allows sharing of a single meter for both unicast and multipoint traffic. The user can configure any of the available meters for multipoint traffic. The use of 'multipoint’ keyword during Page 166 7210 SAS D, E OS Quality of Service Guide...
  • Page 167 FC “be”. After the change the policy is as displayed in the example below: *7210-SAS>config>qos# sap-ingress 12 *7210-SAS>config>qos>sap-ingress$ info ---------------------------------------------- num-qos-classifiers 4 meter 1 create 7210 SAS D, E OS Quality of Service Guide Page 167...
  • Page 168 <id> fc be no multicast-meter", then the default meter “11” is used for FC "be" too. Example 3: ---------------------------------------------- configure> qos> sap-ingress 10 create meter 1 create exit meter 3 create exit default-fc be fc be meter 3 unknown-meter 3 exit exit ---------------------------------------------- Page 168 7210 SAS D, E OS Quality of Service Guide...
  • Page 169: Service Ingress Meter Selection Rules

    If a FC is created with an explicit unicast meter and explicit multicast meter, use the unicast meter for unicast traffic and multicast meter for all other traffic types. 7210 SAS D, E OS Quality of Service Guide Page 169...
  • Page 170 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. Page 170 7210 SAS D, E OS Quality of Service Guide...
  • Page 171: Service Ingress Qos 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 7210 SAS D, E OS Quality of Service Guide Page 171...
  • Page 172: Resource Allocation For Service Ingress Qos Policies

    (any) - User needs to allocate resources for mac-criteria from the SAP ingress QoS resource pool by using the command “configure> system> resource-profile> ingress-internal-tcam> qos-sap-ingress-resource> mac-match-enable" before using SAP Page 172 7210 SAS D, E OS Quality of Service Guide...
  • Page 173 128, instead of 256, since 2 entries are needed to match IPv6 fields. The number of meters available does not reduce though and 128 meters are available for use. 7210 SAS D, E OS Quality of Service Guide Page 173...
  • Page 174 The users can use “tools> dump> system-resources” command to know the current usage and availability. One or more entries per chunk are reserved for system use. Page 174 7210 SAS D, E OS Quality of Service Guide...
  • Page 175: Computation Of Resources Used Per Sap Ingress Policy

    TQ). The allowed values in the 7210 SAS E devices for the parameter num-qos- classifiers are 16, 36, and 72. The allowed values in 7210 SAS D devices for the parameter num- qos-classifiers are 4,8,16,32,64,128 and 256. For 7210 SAS E, when num-qos-resources is configured with a value of 16, the system internally uses a value of 18.
  • Page 176 FCi (unicast), FCi (multicast), FCi (broadcast), and FCi (unknown-unicast) are set to a value of 1 if this FC uses classifier to identify traffic-type unicast, multicast, broadcast and Page 176 7210 SAS D, E OS Quality of Service Guide...
  • Page 177 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. 7210 SAS D, E OS Quality of Service Guide Page 177...
  • Page 178: 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 179 Page 178 7210 SAS D, E OS Quality of Service Guide...
  • Page 179: Service Ingress Qos Policy

    • For 7210 SAS D ,specify the num-qos-classifiers parameter. By default, it is set to 2. The number of meters allowed is equal to half the number of classifiers specified.
  • Page 180 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 Page 180 7210 SAS D, E OS Quality of Service Guide...
  • Page 181 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# 7210 SAS D, E OS Quality of Service Guide Page 181...
  • Page 182 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 17 unknown-meter 18 exit #------------------------------------------ Page 182 7210 SAS D, E OS Quality of Service Guide...
  • Page 183 10 create description "Entry 10-FC-AF" match dscp af12 exit action fc af exit entry 20 create description "Entry 20-FC-BE" match dscp be exit no action exit exit exit #------------------------------------------ A:ALA-7>config>qos# 7210 SAS D, E OS Quality of Service Guide Page 183...
  • Page 184 "QoS Policy Configuration" #------------------------------------------ sap-ingress 101 create mac-criteria entry 10 create description "Entry10" match dst-mac 04-67-ff-00-00-01 ff-ff-ff-ff-ff-ff dot1p 7 7 exit action fc be exit exit exit #------------------------------------------ A:ALA-7>config>qos# Page 184 7210 SAS D, E OS Quality of Service Guide...
  • Page 185: Service Ingress Qos Policies

    FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 1 + 0 = 2 7210 SAS D, E OS Quality of Service Guide Page 185...
  • Page 186 1 create rate cir 0 pir max exit meter 3 create rate cir 100 pir 100 exit scope template default-fc fc be create meter 3 exit fc af create Page 186 7210 SAS D, E OS Quality of Service Guide...
  • Page 187 If the same policy were to be used for a SAP in an Epipe service, then since all traffic is classified to a unicast traffic type and since only unicast meters are used, the following: 7210 SAS D, E OS Quality of Service Guide Page 187...
  • Page 188 "h2" create meter 3 broadcast-meter 2 exit fc "l1" create meter 3 broadcast-meter 2 exit mac-criteria entry 1 create match dot1p 7 7 exit action fc "af" exit Page 188 7210 SAS D, E OS Quality of Service Guide...
  • Page 189 FCbe = 1 + 0 + 0 + 0 = 1 Using the above equation, the total classification entries used = 4 and the total meters used = 1. 7210 SAS D, E OS Quality of Service Guide Page 189...
  • Page 190 FCh1 = 0 + 0 + 0 + 0 = 0 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 1 + 0 = 2 Page 190 7210 SAS D, E OS Quality of Service Guide...
  • Page 191 3 create rate cir 100 pir 100 exit meter 4 create rate cir 10 pir 100 exit meter 5 create rate cir 10 pir 10 exit meter 11 multipoint create 7210 SAS D, E OS Quality of Service Guide Page 191...
  • Page 192 FCh1 = 1 + 1 + 1 + 1 = 4 Since this FC uses unicast, broadcast, multicast and unknown-unicast meter, four entries are required to identify these traffic types explicitly. Page 192 7210 SAS D, E OS Quality of Service Guide...
  • Page 193 “example-policy-2” num-qos-classifiers meter 1 create rate cir 100 pir 100 exit meter 3 create rate cir 100 pir 100 exit meter 2 create rate cir 1 pir 20 exit 7210 SAS D, E OS Quality of Service Guide Page 193...
  • Page 194 FCef = 0 + 0 + 0 + 0 = 0 FCh2 = 1 + 0 + 1 + 0 = 2 Page 194 7210 SAS D, E OS Quality of Service Guide...
  • Page 195 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. Example 4 sap-ingress 10 create description“example-policy-3” num-qos-classifiers 36 meter 1 create rate cir 100 pir 100 exit 7210 SAS D, E OS Quality of Service Guide Page 195...
  • Page 196 2 exit fc "nc" create meter 6 broadcast-meter 2 multicast-meter 8 exit mac-criteria entry 1 create match dot1p 4 7 exit action fc "af" exit entry 2 create match Page 196 7210 SAS D, E OS Quality of Service Guide...
  • Page 197 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 D, E OS Quality of Service Guide Page 197...
  • Page 198 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 198 7210 SAS D, E OS Quality of Service Guide...
  • Page 199 3 action fc h1 exit entry create match dot1p 2 action fc ef exit entry create 7210 SAS D, E OS Quality of Service Guide Page 199...
  • Page 200 If the same policy were to be used for a SAP in an Epipe service, then since all traffic is classified to a unicast traffic type and since only unicast meters are used, the following: Page 200 7210 SAS D, E OS Quality of Service Guide...
  • Page 201 "af" exit entry 2 create match dscp cp1 exit action fc "af" exit entry 3 create match dscp cp3 exit action fc "af" 7210 SAS D, E OS Quality of Service Guide Page 201...
  • Page 202 11 create match dscp cp11 exit action fc "af" exit entry 12 create match dscp af12 exit action fc "af" exit entry 13 create match dscp cp13 exit Page 202 7210 SAS D, E OS Quality of Service Guide...
  • Page 203 FCnc = 0 + 0 + 0 + 0 = 0 FCh1 = 0 + 0 + 0 + 0 = 0 7210 SAS D, E OS Quality of Service Guide Page 203...
  • Page 204 The number of meters used in this policy = 2. Hence for Epipe SAP it is recommended to define another sap-ingress policy with num-qos- classifiers 16 is used (maximum of (16, (2 * 2)) = 16. Page 204 7210 SAS D, E OS Quality of Service Guide...
  • Page 205 Service Ingress QoS Policies 7210 SAS D, E OS Quality of Service Guide Page 205...
  • Page 206: 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 206 7210 SAS D, E OS Quality of Service Guide...
  • Page 207 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 D, E OS Quality of Service Guide Page 207...
  • Page 208: Service Management Tasks

    "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 208 7210 SAS D, E OS Quality of Service Guide...
  • Page 209: Copying And Overwriting Qos Policies

    "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 D, E OS Quality of Service Guide Page 209...
  • Page 210: 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 210 7210 SAS D, E OS Quality of Service Guide...
  • Page 211: Service Sap Qos Policy Command Reference

    — dst-port fc {eq} dst-port-number — no dst-port — fragment {true | false} — no fragment — src-ip {ip-address/mask | ip-address netmask} — no src-ip — src-port {eq} src-port-number 7210 SAS D, E OS Quality of Service Guide Page 211...
  • Page 212 {trtcm1 | trtcm2 | srtcm} (trtcm2 supported only on 7210 SAS-D) — no mode — rate cir-rate-in-kbps [pir pir-rate-in-kbps] — no rate — scope {exclusive | template} — no scope Page 212 7210 SAS D, E OS Quality of Service Guide...
  • Page 213 Operational Commands config — qos — copy sap-ingress src-pol dst-pol [overwrite] Show Commands show — qos — sap-ingress policy-id [detail | association | match-criteria] 7210 SAS D, E OS Quality of Service Guide Page 213...
  • Page 214 Service SAP QoS Policy Command Reference Page 214 7210 SAS D, E OS Quality of Service Guide...
  • Page 215 — A text string describing the entity. Allowed values are any string up to 80 characters 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 D, E OS Quality of Service Guide Page 215...
  • Page 216 — Enter the entry number of an existing entry. Default none Values 1 — 64 new-entry-id — Enter the new entry-number to be assigned to the old entry. Default none Values 1 —64 Page 216 7210 SAS D, E OS Quality of Service Guide...
  • Page 217 1. Parameters policy-id — The policy-id uniquely identifies the policy. Values 1 — 65535 create — Keyword used to create a sap ingress policy. 7210 SAS D, E OS Quality of Service Guide Page 217...
  • Page 218 The fc command creates a class instance of the forwarding class fc-name. Once the fc-name is created, classification actions can be applied and can be used in match classification criteria. Page 218 7210 SAS D, E OS Quality of Service Guide...
  • Page 219 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. Values 1 — 65535 7210 SAS D, E OS Quality of Service Guide Page 219...
  • Page 220 The no form of this command deletes all the entries specified under this node. Once mac-criteria entries are removed from a SAP ingress policy, the mac-criteria is removed from all services where that policy is Page 220 7210 SAS D, E OS Quality of Service Guide...
  • Page 221 — 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 D, E OS Quality of Service Guide Page 221...
  • Page 222 The no form of this command sets the unicast (point-to-point) meter-id back to the default meter for the forwarding class (meter 1). Parameters meter-id — Specifies an existing non-multipoint meter defined in the config>qos>sap-ingress context. Values 1 — 32 (except 11) Page 222 7210 SAS D, E OS Quality of Service Guide...
  • Page 223 Parameters meter-id — Specifies an existing multipoint meter defined in the config>qos>sap-ingress context. Values 2— 18 (for 7210 SAS E) Values 2 to 32 (for 7210 SAS D) Default 7210 SAS D, E OS Quality of Service Guide Page 223...
  • Page 224 If none of the entries match the packet, the IP flow reclassification list has no effect on the packet. An entry is not populated in the list unless the action command is executed for the entry. An entry that is not Page 224 7210 SAS D, E OS Quality of Service Guide...
  • Page 225 This command creates a context for entering/editing match MAC criteria for ingress SAP QoS policy match criteria. When the match criteria have been satisfied the action associated with the match criteria is executed. 7210 SAS D, E OS Quality of Service Guide Page 225...
  • Page 226 * — udp/tcp wildcard Page 226 7210 SAS D, E OS Quality of Service Guide...
  • Page 227 — The IP address of the destination IP or IPv6 interface. This address must be unique within the subnet and specified in dotted decimal notation. Values ipv4-prefix: a.b.c.d 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 D, E OS Quality of Service Guide Page 227...
  • Page 228 — 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 228 7210 SAS D, E OS Quality of Service Guide...
  • Page 229 — The subnet mask length, expressed as an integer or in dotted decimal notation. Values 0 — 32 netmask — Specify the subnet mask in dotted decimal notation. Values a.b.c.d (dotted quad equivalent of mask length) 7210 SAS D, E OS Quality of Service Guide Page 229...
  • Page 230 — The range of TCP or UDP port values to match specified as between the start and end source port values inclusive. Values 1 — 65535 (decimal hex or binary) Page 230 7210 SAS D, E OS Quality of Service Guide...
  • Page 231 Configures a destination MAC address or range to be used as a Service Ingress QoS policy match criterion. The no form of this command removes the destination mac address as the match criterion. Default none 7210 SAS D, E OS Quality of Service Guide Page 231...
  • Page 232 The no form of this command removes the previously entered etype field as the match criteria. Default None Parameters etype-value — The Ethernet type II frame Ethertype value to be used as a match criterion expressed in hexadecimal. Values 0x0600 — 0xFFFF Page 232 7210 SAS D, E OS Quality of Service Guide...
  • Page 233 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 Default 0xFFFFFFFFFFFF (hex) (exact match) Values 0x00000000000000 — 0xFFFFFFFFFFFF (hex) 7210 SAS D, E OS Quality of Service Guide Page 233...
  • Page 234 This command defines the method used by the system to derive the operational CIR and PIR settings when the meter is provisioned in hardware. For the CIR and PIR parameters, individually the system attempts to Page 234 7210 SAS D, E OS Quality of Service Guide...
  • Page 235 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. Values 32 — 16384, default (for 7210 SAS E) Values 4 — 16384, default (for 7210 SAS D) 7210 SAS D, E OS Quality of Service Guide Page 235...
  • Page 236 32 — 16384, default (for 7210 SAS E) Values 4 — 16384, default (for 7210 SAS D) mode Syntax mode {trtcm1 | trtcm2 | srtcm} (trtcm2 supported only on 7210 SAS D) no mode Context config>qos>sap-ingress>meter Description This command defines the mode of the meter. The mode can be configured as Two Rate Three Color Marker (trTCM1) or Single Rate Three Color Marker (srTCM).
  • Page 237 The actual CIR rate is dependent on the meter’s adaptation-rule parameters and the hardware. Values 0 — 20000000, max (for 7210 SAS E) Values 0 — 4000000, max (for 7210 SAS D) 7210 SAS D, E OS Quality of Service Guide Page 237...
  • Page 238 The actual PIR rate is dependent on the meter’s adaptation-rule parameters and the hardware. Values 0 — 20000000, max (for 7210 SAS E) Values 0 — 4000000, max (for 7210 SAS D) Page 238 7210 SAS D, E OS Quality of Service Guide...
  • Page 239 Specifies that a MAC criteria-based SAP is used to MAC — select the appropriate ingress meters and corresponding for- warding class for matched traffic. Displays the meter ID. Meter 7210 SAS D, E OS Quality of Service Guide Page 239...
  • Page 240 Specifies the default unicast forwarding type meters mapping. MCastM Specifies the overrides for the default multicast forwarding type meter mapping. BCastM Specifies the default broadcast forwarding type meters mapping. Page 240 7210 SAS D, E OS Quality of Service Guide...
  • Page 241 Meters required Indicates the number of meters for a VPLS or Epipe service. Sample Output *A:SAS-E>show>qos# sap-ingress 1 detail =============================================================================== QoS Sap Ingress =============================================================================== ------------------------------------------------------------------------------- Sap Ingress Policy (1) ------------------------------------------------------------------------------- 7210 SAS D, E OS Quality of Service Guide Page 241...
  • Page 242 : Default SAP ingress QoS policy. ------------------------------------------------------------------------------- Meter Mode CIR Admin CIR Rule PIR Admin PIR Rule CBS Admin MBS Admin CIR Oper PIR Oper CBS Oper MBS Oper ------------------------------------------------------------------------------- TrTcm1 closest closest Page 242 7210 SAS D, E OS Quality of Service Guide...
  • Page 243 Show Commands TrTcm1 closest closest ------------------------------------------------------------------------------- UCastM MCastM BCastM UnknownM ------------------------------------------------------------------------------- No FC-Map Entries Found. ------------------------------------------------------------------------------- Match Criteria ------------------------------------------------------------------------------- No Matching Criteria. ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- No Associations Found. =============================================================================== *A:SAS-D>show>qos# 7210 SAS D, E OS Quality of Service Guide Page 243...
  • Page 244 Service Meter QoS Policy Commands Page 244 7210 SAS D, E OS Quality of Service Guide...
  • Page 245: Access Egress Qos Policies

    Overview on page 246 • Basic Configurations on page 246 • Create Access Egress QoS Policies on page 246 • Default Access Egress QoS Policy Values on page 250 7210 SAS D, E OS Quality of Service Guide Page 245...
  • Page 246: Overview

    Remark - For 7210 SAS E devices, by default, remarking is always enabled. The Dot1p values in the customer packets which are egressing on this access port are marked Page 246 7210 SAS D, E OS Quality of Service Guide...
  • Page 247: Access Egress Qos Policies

    100 pir 4500 exit queue 2 exit queue 3 exit queue 4 exit queue 5 exit queue 6 exit queue 7 exit queue 8 exit exit ---------------------------------------------- A:card-1>config>qos# 7210 SAS D, E OS Quality of Service Guide Page 247...
  • Page 248: Modifying Access Egress Qos Queues

    100 pir 4500 exit queue 2 exit queue 3 exit queue 4 exit queue 5 exit queue 6 exit queue 7 exit queue 8 exit exit ---------------------------------------------- A:card-1>config>qos# Page 248 7210 SAS D, E OS Quality of Service Guide...
  • Page 249: 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 D, E OS Quality of Service Guide Page 249...
  • Page 250: Default Access Egress Qos Policy Values

    0 pir max exit ---------------------------------------------- *A:card-1>config>qos>access-egress# Table 32: 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 250 7210 SAS D, E OS Quality of Service Guide...
  • Page 251 0 pir max rate default = 3200 bytes queue 7 adaptation-rule cir closest pir closest cir 0 pir max rate default = 3200 bytes queue 8 7210 SAS D, E OS Quality of Service Guide Page 251...
  • Page 252 6 fc h1: dot1p-out-profile 6 dot1p-in-profile 4 fc h2: dot1p-out-profile 4 fc l1: dot1p-in-profile 3 dot1p-out-profile 3 dot1p-in-profile 1 fc l2: dot1p-out-profile 1 dot1p-in-profile 7 fc nc: dot1p-out-profile 7 Page 252 7210 SAS D, E OS Quality of Service Guide...
  • Page 253: 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 D, E OS Quality of Service Guide Page 253...
  • Page 254 Overview Page 254 7210 SAS D, E OS Quality of Service Guide...
  • Page 255: Access Egress Qos Policy Command Reference

    { use-dot1p | use-dscp | all } — no remarking — scope {exclusive | template} — no scope Show Commands show — qos — access-egress [policy-id] [association| detail] 7210 SAS D, E OS Quality of Service Guide Page 255...
  • Page 256 Access Egress QoS Policy Command Reference Page 256 7210 SAS D, E OS Quality of Service Guide...
  • Page 257 (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 D, E OS Quality of Service Guide Page 257...
  • Page 258 — 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. Values be, l2, af, l1, h2, ef, h1, nc Page 258 7210 SAS D, E OS Quality of Service Guide...
  • Page 259 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 D, E OS Quality of Service Guide Page 259...
  • Page 260 Table 24, Forwarding Parameters queue-id — Specifies the access egress queue-id associated with an FC according to Class to Queue-ID Map, on page 64 Values 1 — 8 Page 260 7210 SAS D, E OS Quality of Service Guide...
  • Page 261 — 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. 7210 SAS D, E OS Quality of Service Guide Page 261...
  • Page 262 Fractional values are not allowed and must be given as a positive integer. The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned. Values 1 — 1000000, max Default Page 262 7210 SAS D, E OS Quality of Service Guide...
  • Page 263: Table 33: Marking The Packets Egressing The Port (If And Then)

    Description This command enables the system to remark egress packets sent out of access ports and hybrid ports. Remarking cannot be disabled on the 7210 SAS E devices. For 7210 SAS D, remarking can be enabled or disabled. The user can specify if either dot1p, or dscp, or both needs to be used for marking the packets egressing the port.
  • Page 264 The system default policies cannot be put into the exclusive scope. An error will be generated if scope exclusive is executed in default access-egress policy (policy-id 1). Page 264 7210 SAS D, E OS Quality of Service Guide...
  • Page 265 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 D, E OS Quality of Service Guide Page 265...
  • Page 266 — 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 266 7210 SAS D, E OS Quality of Service Guide...
  • Page 267 Table 17, Default Access Egress Policy ID 1 Definition, on page False — Remarking is disabled for the policy. For 7210 SAS D devices remarking can be enabled or disabled. Description A text string that helps identify the policy’s context in the con-...
  • Page 268 QoS policy. Accounting Specifies whether the accounting mode is packet-based or frame-based. Remark Type Displays the type of remarking enabled. It can be "use-dot1p ", "use-dscp" or "all" Page 268 7210 SAS D, E OS Quality of Service Guide...
  • Page 269 ------------------------------------------------------------------------------- FC Name Queue-id Explicit/Default Explicit/Default ------------------------------------------------------------------------------- Default (in :0) Default (out :0) Default (in :1) Default (out :1) 7210 SAS D, E OS Quality of Service Guide Page 269...
  • Page 270 Classifiers Reqrd (VPLS) Meters Reqrd (VPLS) Classifiers Reqrd (EPIPE) : 1 Meters Reqrd (EPIPE) : 1 Description : Default SAP ingress QoS policy. ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- No Associations Found. =============================================================================== *A:SAS-D>show>qos# Page 270 7210 SAS D, E OS Quality of Service Guide...
  • Page 271: 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 272 • Basic Configurations on page 273 • Service Management Tasks on page 275 7210 SAS D, E OS Quality of Service Guide Page 271...
  • Page 272: 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 272 7210 SAS D, E OS Quality of Service Guide...
  • Page 273: Basic Configurations

    QoS Port Scheduler Policies Basic Configurations A basic QoS port scheduler policy must conform to the following: • Each QoS port scheduler policy must have a unique policy name. 7210 SAS D, E OS Quality of Service Guide Page 273...
  • Page 274: 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 274 7210 SAS D, E OS Quality of Service Guide...
  • Page 275: Service Management Tasks

    QoS Port Scheduler Policy =============================================================== Policy-Name : psp Accounting : packet-based Mode : WRR Last changed : 01/01/2000 22:13:01 Queue 1 Weight: 1 Queue 2 Weight: 3 Queue 3 Weight: 5 7210 SAS D, E OS Quality of Service Guide Page 275...
  • Page 276 Queue 2 Weight: 3 Queue 3 Weight: 5 Queue 4 Weight: strict Queue 5 Weight: strict Queue 6 Weight: strict Queue 7 Weight: strict Queue 8 Weight: strict =============================================================================== *A:card-1>config# Page 276 7210 SAS D, E OS Quality of Service Guide...
  • Page 277: 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 D, E OS Quality of Service Guide Page 277...
  • Page 278 Service Management Tasks Page 278 7210 SAS D, E OS Quality of Service Guide...
  • Page 279: Qos Port Scheduler Policy Command Reference

    [strict | weight weight] — no queue queue-id Operational Commands config — qos — copy port-scheduler-policy src-name dst-name [overwrite] Show Commands show — qos — port-scheduler-policy [port-scheduler-policy-name] [association] 7210 SAS D, E OS Quality of Service Guide Page 279...
  • Page 280 QoS Port Scheduler Policy Command Reference Page 280 7210 SAS D, E OS Quality of Service Guide...
  • Page 281 — A text string describing the entity. Allowed values are any string up to 80 characters 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 D, E OS Quality of Service Guide Page 281...
  • Page 282 — 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 282 7210 SAS D, E OS Quality of Service Guide...
  • Page 283 Parameters mode — Specifies the port scheduler policy mode. strict — Strict scheduler mode rr — Round Robin wrr — Weighted Round Robin wdrr — Weighted Deficit Round Robin 7210 SAS D, E OS Quality of Service Guide Page 283...
  • Page 284 — Specifies the number of packets in case of WRR and ratio of traffic out in WDRR. Values 1 — 5 (For 7210 SAS-E) Values 1—15 (For 7210 SAS-D) Page 284 7210 SAS D, E OS Quality of Service Guide...
  • Page 285 *A:card-1>config# show qos port-scheduler-policy =============================================================================== Port Scheduler Policies =============================================================================== Policy-Id Description Mode default Default Port Scheduler Policy. STRICT test =============================================================================== *A:card-1>config# *A:card-1>config# show qos port-scheduler-policy psp association =============================================================================== QoS Port Scheduler Policy 7210 SAS D, E OS Quality of Service Guide Page 285...
  • Page 286 *A:SAS-D>show>qos# port-scheduler-policy abc =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : abc Description : (Not Specified) Accounting : packet-based Mode : STRICT Last changed : 01/01/1970 04:57:48 Number Of Queues =============================================================================== Page 286 7210 SAS D, E OS Quality of Service Guide...
  • Page 287 *A:SAS-D>show>qos# port-scheduler-policy abc association =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : abc Description : (Not Specified) Accounting : packet-based Mode : STRICT ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- No Association Found. =============================================================================== *A:SAS-D>show>qos# 7210 SAS D, E OS Quality of Service Guide Page 287...
  • Page 288 Generic Commands Page 288 7210 SAS D, E OS Quality of Service Guide...
  • Page 289: Slope Qos Policies

    Topics in this section include: • Overview on page 290 • Basic Configurations on page 292 • Default Slope Policy Values on page 296 • Deleting QoS Policies on page 302 7210 SAS D, E OS Quality of Service Guide Page 289...
  • Page 290: Overview

    For information about the tasks and commands necessary to access the command line interface and to configure and maintain your 7210 SAS D, E, refer to CLI Usage chapter in the 7210 SAS D, E OS Basic System Configuration Guide.
  • Page 291: Configuration Guidelines

    MPLS LER originating traffic High-priority TCP slope or High-priority or low-priority low-priority TCP slope, based slope, based on packet profile on packet profile 7210 SAS D, E OS Quality of Service Guide Page 291...
  • Page 292: Basic Configurations

    The time average factor (TAF), a weighting exponent used to determine the portion of the shared buffer instantaneous utilization and shared buffer average utilization used to calculate the new shared buffer average utilization. Page 292 7210 SAS D, E OS Quality of Service Guide...
  • Page 293 7210 SAS D, E OS Quality of Service Guide Page 293...
  • Page 294 The following displays the slope policy configuration: A:7210 SAS-D>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:7210 SAS-D>config>qos>slope-policy# Page 294 7210 SAS D, E OS Quality of Service Guide...
  • Page 295: Applying Slope Policies

    Apply slope policies to the egress buffer pool on the 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>accesss>uplink>egress>pool>slope-policy name 7210 SAS D, E OS Quality of Service Guide Page 295...
  • Page 296: Default Slope Policy Values

    50 queue 1 drop-rate 0 queue 2 drop-rate 0 queue 3 drop-rate 0 queue 4 drop-rate 0 queue 5 drop-rate 0 queue 6 drop-rate 0 Page 296 7210 SAS D, E OS Quality of Service Guide...
  • Page 297 Slope QoS Policies queue 7 drop-rate 0 queue 8 drop-rate 0 exit ---------------------------------------------- ALA7>config>qos>slope-policy# 7210 SAS D, E OS Quality of Service Guide Page 297...
  • Page 298: Default Slope Policy Values (For 7210 Sas-D Devices)

    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 max-avg 90 max-prob 75 exit low-slope shutdown Page 298 7210 SAS D, E OS Quality of Service Guide...
  • Page 299: Slope Qos Policies

    50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "4" high-slope shutdown start-avg 70 max-avg 90 7210 SAS D, E OS Quality of Service Guide Page 299...
  • Page 300 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 queue "7" Page 300 7210 SAS D, E OS Quality of Service Guide...
  • Page 301 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# 7210 SAS D, E OS Quality of Service Guide Page 301...
  • Page 302: 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 Page 302 7210 SAS D, E OS Quality of Service Guide...
  • Page 303: Copying And Overwriting Qos Policies

    75 queue 1 drop-rate 1 queue 2 drop-rate 1 queue 3 drop-rate 1 queue 4 drop-rate 1 queue 5 drop-rate 1 queue 6 drop-rate 1 queue 7 drop-rate 1 7210 SAS D, E OS Quality of Service Guide Page 303...
  • Page 304 5 drop-rate 0 queue 6 drop-rate 0 queue 7 drop-rate 0 queue 8 drop-rate 0 exit ---------------------------------------------- A:ALA-7>config>qos# The following output displays the copied policies for (7210 SAS D devices): A:ALA-7210M>config>qos# ---------------------------------------------- description "Default slope policy." queue "1" high-slope shutdown...
  • Page 305 75 exit non-tcp-slope shutdown start-avg 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 7210 SAS D, E OS Quality of Service Guide Page 305...
  • Page 306 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit queue "8" high-slope shutdown start-avg 70 max-avg 90 max-prob 75 Page 306 7210 SAS D, E OS Quality of Service Guide...
  • Page 307 Slope QoS Policies exit low-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit non-tcp-slope shutdown start-avg 50 max-avg 75 max-prob 75 exit time-average-factor 7 exit ---------------------------------------------- A:ALA-7210M>config>qos# 7210 SAS D, E OS Quality of Service Guide Page 307...
  • Page 308: 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 308 7210 SAS D, E OS Quality of Service Guide...
  • Page 309: Slope Qos Policy Command Reference

    — [no] low-slope — max-avg percent — no max-avg — max-prob percent — no max-prob — [no] shutdown — start-avg percent — no start-avg — [no] shutdown — [no] non-tcp-slope 7210 SAS D, E OS Quality of Service Guide Page 309...
  • Page 310 — no max-prob — [no] shutdown — start-avg percent — no start-avg — time-average-factor value — no time-average-factor Operational Commands config — qos — copy slope-policy src-name dst-name [overwrite] Page 310 7210 SAS D, E OS Quality of Service Guide...
  • Page 311 WRED Commands (supported only on 7210 SAS-D) config — system — qos — no use-wred-slopes — use-wred-slopes slope-type Show Commands show — qos — slope-policy [slope-policy-name] [detail] 7210 SAS D, E OS Quality of Service Guide Page 311...
  • Page 312 Slope QoS Policy Command Reference Page 312 7210 SAS D, E OS Quality of Service Guide...
  • Page 313 — A text string describing the entity. Allowed values are any string up to 80 characters 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 D, E OS Quality of Service Guide Page 313...
  • Page 314 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 314 7210 SAS D, E OS Quality of Service Guide...
  • Page 315 Valid names consist of any string up to 32 characters 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 D, E OS Quality of Service Guide Page 315...
  • Page 316 If the leaf commands within low-slope are set to the default parameters, the low-slope node will not appear in save config and show config output unless the detail parameter is present. Page 316 7210 SAS D, E OS Quality of Service Guide...
  • Page 317 50 — Low slope default is 50% buffer utilization before discard probability comes into affect. Parameters <threshold> — The percentage of the shared buffer space for the buffer pool at which point the drop probability comes into affect. Values 0 — 100 7210 SAS D, E OS Quality of Service Guide Page 317...
  • Page 318 Specifies the ID of the queue for which the drop-rate is to be configured. Parameters queue-id — Values 1 — 8 Specifies the drop rate to be configured. drop-rate num — Values 0 — 7 Page 318 7210 SAS D, E OS Quality of Service Guide...
  • Page 319 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. 7210 SAS D, E OS Quality of Service Guide Page 319...
  • Page 320 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 Page 320 7210 SAS D, E OS Quality of Service Guide...
  • Page 321 A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value. Values 0 — 15 7210 SAS D, E OS Quality of Service Guide Page 321...
  • Page 322 Slope Policy QoS Policy Commands (for 7210 SAS D devices) Slope Policy QoS Policy Commands (for 7210 SAS D devices) RED S LOPE OMMANDS max-avg Syntax Syntax max-avg percent no max-avg Context config>qos>slope-policy>queue>high-slope config>qos>slope-policy>queue>low-slope config>qos>slope-policy>queue>non-tcp-slope Description Sets the low priority or high priority or non-tcp Weighted Random Early Detection (WRED) slope position for the reserved and shared buffer average utilization value where the packet discard probability rises directly to one.
  • Page 323 By default, all slopes are shutdown and have to be explicitly enabled (no shutdown). The no form of this command administratively enables the RED slope. Default shutdown — RED slope disabled implying a zero (0) drop probability. 7210 SAS D, E OS Quality of Service Guide Page 323...
  • Page 324 Slope Policy QoS Policy Commands (for 7210 SAS D devices) start-avg Syntax start-avg percent no start-avg Context config>qos>slope-policy>queue>high-slope config>qos>slope-policy>queue>low-slope config>qos>slope-policy>queue>non-tcp-slope Description This command sets the low priority or high priority Random Early Detection (RED) slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero.
  • Page 325 TCP WRED slope. The low- priority/out-of-profile TCP WRED slope uses the values configured under config> qos> slope-policy> low-slope. The non-TCP WRED slope uses the values configured under config> qos> slope-policy> non-tcp-slope. 7210 SAS D, E OS Quality of Service Guide Page 325...
  • Page 326 WRED command Page 326 7210 SAS D, E OS Quality of Service Guide...
  • Page 327: Table 37: 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. 7210 SAS D, E OS Quality of Service Guide Page 327...
  • Page 328 100.000000 Queue 6 6.250000 100.000000 Queue 7 6.250000 100.000000 Queue 8 6.250000 100.000000 ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Object Type Object Id Application Pool ------------------------------------------------------------------------------- Port 1/1/1 Acc-Egr default =============================================================================== *A:>config# Page 328 7210 SAS D, E OS Quality of Service Guide...
  • Page 329: Table 38: Show Qos Slope Policy Output Fields

    Show Commands Output Slope QoS Policy Output Fields (for 7210 SAS D) — The following table describes slope QoS policy output fields. Table 38: Show QoS Slope Policy Output Fields Label Description The ID that uniquely identifies the policy. Policy A string that identifies the policy’s context in the configuration file.
  • Page 330 ------------------------------------------------------------------------------- Queue Id Time Avg Factor ------------------------------------------------------------------------------- Queue1 Queue2 Queue3 Queue4 Queue5 Queue6 Queue7 Queue8 ------------------------------------------------------------------------------- Associations ------------------------------------------------------------------------------- Object Type Object Id Application Pool ------------------------------------------------------------------------------- No Matching Entries *A:SAS-D>show>qos# Page 330 7210 SAS D, E OS Quality of Service Guide...
  • Page 331: Standards And Protocol Support (7210 Sas D)

    Standards and Protocol Support (7210 SAS D) Standards Compliance M.3100/3120 Equipment and Connection RFC 2460 Internet Protocol, Version 6 Models (IPv6) Specification IEEE 802.1ab-REV/D3 Station and TMF 509/613 Network Connectivity RFC 2461 Neighbor Discovery for IPv6 Media Access Control Connectivity...
  • Page 332 Standards and Protocols RFC 1215 A Convention for Defining draft-ietf-secsh-transport.txt SSH Proprietary MIBs Traps for use with the SNMP Transport Layer Protocol ALCATEL-IGMP-SNOOPING- RFC 1907 SNMPv2-MIB draft-ietf-secsh-connection.txt SSH MIB.mib Connection Protocol RFC 2011 IP-MIB TIMETRA-CAPABILITY-7210-SAS-E- draft-ietf-secsh- newmodes.txt SSH V5v0.mib (Only for 7210 SAS-E) RFC 2012 TCP-MIB Transport Layer Encryption Modes TIMETRA-CAPABILITY-7210-SAS-D-...
  • Page 333 Standards and Protocols Page 333 Standards and Protocols...
  • Page 334 Standards and Protocols Page 334 Standards and Protocols...
  • Page 335: Standards And Protocol Support (7210 Sas E)

    Standards and Protocol Support (7210 SAS E) Standards Compliance RFC 1907 SNMPv2-MIB RFC 2464 Transmission of IPv6 Packets over Ethernet Networks RFC 2011 IP-MIB IEEE 802.1ab-REV/D3 Station And RFC 3587 IPv6 Global Unicast Address RFC 2012 TCP-MIB Media Access Control Connectivity Format RFC 2013 UDP-MIB Discovery...
  • Page 336 Standards and Protocols draft-ietf-secsh-connection.txt SSH RFC 3413 - Simple Network Connection Protocol Management Protocol (SNMP) Applications draft-ietf-secsh- newmodes.txt SSH Transport Layer Encryption Modes RFC 3414 - User-based Security Model (USM) for version 3 of the Simple TACACS+ Network Management Protocol (SNMPv3) draft-grant-tacacs-02.txt RFC 3418 - SNMP MIB...
  • Page 337: Index

    40, 36 queue ID configuring applying to network ingress port basic overview port scheduler policies configuring network queue policies configuring command reference SAP policies overview egress policies ingress policies 7210 SAS D, E OS Quality of Services Guide Page 337...
  • Page 338 Page 338 7210 SAS D, E OS Quality of Services Guide...

This manual is also suitable for:

7210 sas e

Table of Contents