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

Alcatel-Lucent 7210 SAS E OS Quality Of Service Manual

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

Advertisement

Quick Links

7210 SAS E OS
Quality of Service Guide
Software Version: 7210 SAS OS 1.0 Rev. 05
July 2009
Document Part Number: 93-0225-01-03
*93-0225-01-03*

Advertisement

Table of Contents
loading

Summary of Contents for Alcatel-Lucent 7210 SAS E OS

  • Page 1 7210 SAS E OS Quality of Service Guide Software Version: 7210 SAS OS 1.0 Rev. 05 July 2009 Document Part Number: 93-0225-01-03 *93-0225-01-03*...
  • 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

    ABLE OF ONTENTS Preface ................11 Getting Started Alcatel-Lucent 7210 SAS-Series Services Configuration Process .
  • Page 4 Table of Contents Ethernet Ports ..............93 Default Network Queue Policy Values .
  • Page 5 Table of Contents QoS Port Scheduler Policy Command Reference ......... .189 Slope QoS Policies Overview.
  • Page 6 Table of Contents Page 6 7210 SAS-E OS Quality of Service Guide...
  • Page 7 IST OF ABLES Getting Started Table 1: Configuration Process ............13 QoS Policies Table 2: QoS Policy Types and Descriptions .
  • Page 8 List of Tables Page 8 7210 SAS-E OS Quality of Service Guide...
  • Page 9 IST OF IGURES QoS Policies Figure 1: 7210 SAS E Traffic Types ........... . .20 Figure 2: Traffic Queuing Model for Forwarding Classes .
  • Page 10 List of Figures Page 10 7210 SAS-E OS Quality of Service Guide...
  • Page 11: Preface

    • Quality of Service (QoS) policies and profiles List of Technical Publications The 7210 SAS E OS documentation set is composed of the following books: • 7210 SAS E OS Basic System Configuration Guide This guide describes basic system configurations and operations.
  • Page 12 This guide describes how to configure service parameters such as customer information, and user services. • 7210 SAS E OS OAM and Diagnostic Guide This guide describes how to configure features such as service mirroring and Operations, Administration and Management (OAM) tools.
  • Page 13: Getting Started

    Getting Started In This Chapter This chapter provides process flow information to configure Quality of Service (QoS) policies and provision services. Alcatel-Lucent 7210 SAS-Series Services Configuration Process Table 1 lists the tasks necessary to configure and apply QoS policies. This guide is presented in an overall logical configuration flow.
  • Page 14: Getting Started

    Getting Started Page 14 7210 SAS-E OS Quality of Service Guide...
  • Page 15: Qos Policies

    QoS Policies In This Chapter This chapter provides information about Quality of Service (QoS) policy management. Topics in this chapter include: • QoS Overview on page 16 • Service and Network QoS Policies on page 20 → Network QoS Policies on page 21 →...
  • Page 16: Qos Overview

    The operational theory of a service tunnel is that the encapsulation of the data between the two Alcatel Lucent service routers appear like a Layer 2 path to the service data although it is really traversing an IP or IP/MPLS core. The tunnel from one edge device to the other edge device is provisioned with an encapsulation and the services are mapped to the tunnel that most appropriately supports the service needs.
  • Page 17: Qos Policies

    QoS Policies QoS Policies 7210 SAS 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 18 QoS Overview and marks the traffic accordingly. The FCs are mapped onto the queues. There are 8 queues at the port level. FC-to-queue mapping is static and is not configurable. The number of queues are static and there are always 8 queues at the port level. An access egress policy also defines how to remark the forwarding class to IEEE 802.1p bits in the customer traffic.
  • Page 19: Table 2: Qos Policy Types And Descriptions

    QoS Policies A summary of the major functions performed by the QoS policies is listed in Table Table 2: QoS Policy Types and Descriptions Policy Type Applied at… Description Page Service Ingress SAP ingress • Defines up to 18 forwarding class meters and meter parame- ters for traffic classification.
  • Page 20: Service And Network Qos Policies

    QoS Overview Service and Network QoS Policies The QoS mechanisms within the 7210 SAS 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 uplink interfaces, there is network ingress and network egress traffic (Figure Access Uplink Access...
  • Page 21: Network Qos Policies

    QoS Policies Network QoS Policies Network QoS policies define ingress forwarding class meters and maps traffic to those meters for access uplink ports. When a network QoS policy is created, it always has two meters defined that cannot be deleted, one for the all unicast traffic and one for all multipoint traffic. These meters exist within the definition of the policy.
  • Page 22: Table 3: Default Network Qos Policy Egress Marking

    QoS Overview network. If the profile state is marked in the service core packets, out-of-profile packets are preferentially dropped over in-profile packets at congestion points in the core network. For network egress, traffic remarking in the network QoS policy is always enabled. Table 4 lists the default mapping of forwarding class to Dot1p values.
  • Page 23 QoS Policies Table 4: Default Network QoS Policy Dot1p to FC Mapping Dot1pValue 7210 FC Ingress Profile 7210 SAS-E OS Quality of Service Guide Page 23...
  • Page 24: Network Queue Qos Policies

    QoS Overview Network Queue QoS Policies Network queue policies define the network forwarding class queue characteristics. Network queue policies are applied on egress on access uplink ports. There are 8 queues available at the port and FCs are mapped to these 8 queues. All policies will use eight queues like the default network queue policy.
  • Page 25 QoS Policies Table 5: Default Network Queue Policy Definition (Continued) Forwarding Class Queue Definition (Continued) Assured (af) Queue 3 • PIR = 100% • CIR = 25% • CBS = 21% Low-2 (l2) Queue 2 • PIR = 100% • CIR = 25% •...
  • Page 26: Meter Parameters

    QoS Overview Meter Parameters This section describes the meter parameters provisioned on access and network meters provisioned on access uplinkfor QoS. The meter parameters are: • Meter ID on page 26 • Committed Information Rate on page 26 • Peak Information Rate on page 27 •...
  • Page 27 QoS Policies Peak Information Rate The peak information rate (PIR) defines the maximum rate at which packets are allowed to exit the meter. It does not specify the maximum rate at which packets may enter the meter; this is governed by the meter's ability to absorb bursts and is defined by its maximum burst size (MBS).
  • Page 28: Table 6: Administrative Rate Example

    QoS Overview Table 6: Administrative Rate Example Administrative Rate Operation Rate Operation Rate Operation Rate (Min) (Max) (Closest) 1275 If user has configured any value greater than 0 and less than 64 then operation rate configured on hardware would be 64 kbps irrespective of the constraint used. Committed Burst Size The committed burst size parameter specifies the maximum burst size that can be transmitted by the source at the CIR while still complying with the CIR.
  • Page 29 QoS Policies Meter Counters The 7210 SAS E maintains following counters for meters within the system for granular billing and accounting. Each meter maintains the following counters: • Counters for packets or octets marked as in-profile by meter • Counters for packets or octets marked as out-of-profile by meter Meter Modes The 7210 SAS E supports following meter modes: •...
  • Page 30: Queue Parameters

    QoS Overview Queue Parameters This section describes the queue parameters provisioned on access ports and access uplink port’s queues for QoS. The queue parameters are: • Queue ID on page 30 • Committed Information Rate on page 30 • Peak Information Rate on page 32 •...
  • Page 31 QoS Policies When defining the CIR for a queue, the value specified is the administrative CIR for the queue. 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. The interpretation of the administrative CIR is discussed below in Adaptation Rule on page 33 Although the 7210 SAS is flexible in how the CIR can be configured, there are conventional...
  • Page 32 QoS Overview Peak Information Rate The peak information rate (PIR) defines the maximum rate at which packets are allowed to exit the queue. It does not specify the maximum rate at which packets may enter the queue; this is governed by the queue's ability to absorb bursts. The actual transmission rate of a egress queue depends on more than just its PIR.
  • Page 33: Table 7: Supported Hardware Rates And Cir/Pir Values

    QoS Policies Adaptation Rule The adaptation rule provides the QoS provisioning system with the ability to adapt specific CIR and PIR defined administrative rates to the underlying capabilities of the hardware the queue will be created on to derive the operational rates. The administrative CIR and PIR rates are translated to actual operational rates enforced by the hardware queue.
  • Page 34 QoS Overview 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. Committed Burst Size The committed burst size (CBS) parameter specifies the amount of buffers that can be drawn from the reserved buffer portion of the queue’s buffer pool.
  • Page 35: Service Ingress Qos Policies

    QoS Policies Service Ingress QoS Policies Service ingress QoS policies define ingress service forwarding class meters and map flows to those meters. When a service ingress QoS policy is created, it always has two meters defined that cannot be deleted: one for the all traffic and one for all multipoint traffic. These meters exist within the definition of the policy.
  • Page 36 QoS Overview Egress Port Ingress Egress Scheduler Policers/Meters Queues Expedited Series - 1 Ingress A A A Packet Match Assured Stream Criteria Best Effort 7210_001-7210 Figure 2: Traffic Queuing Model for Forwarding Classes Mapping flows to forwarding classes is controlled by comparing each packet to the match criteria in the QoS policy.
  • Page 37: Table 8: Forwarding Class Classification Based On Rule Type

    QoS Policies Table 8: Forwarding Class Classification Based on Rule Type Rule Forwarding Class Comments default-fc Set the policy’s default forwarding All packets match the default rule. class. IP criteria: Set when an fc-name exists in the When IP criteria is specified, •...
  • Page 38: Table 9: Service Ingress Qos Policy Ip Match Criteria

    QoS Overview Table 9: Service Ingress QoS Policy IP Match Criteria IP Criteria • DSCP value Table 10: Service Ingress QoS Policy MAC Match Criteria MAC Criteria • IEEE 802.1p value/mask • Source MAC address/mask • Destination MAC address/mask • EtherType value The MAC match criteria that can be used for an Ethernet frame depends on the frame’s format.
  • Page 39: Table 12: Mac Match Criteria Frame Type Dependencies

    QoS Policies Table 12: MAC Match Criteria Frame Type Dependencies Frame Format Source MAC Dest MAC IEEE 802.1p Value Etype Value 802dot3 802dot2-llc 802dot2-snap ethernet-II Service ingress QoS policy ID 1 is reserved for the default service ingress policy. The default policy cannot be deleted or changed.
  • Page 40: Access Egress Qos Policies

    QoS Overview Access Egress QoS Policies An access egress policy defines the queue and marking characteristics for the traffic egressing towards the customer on the access ports. There are 8 queues always available at the access port and FCs are mapped into these 8 Queues. By configuring appropriate queue shape rates the individual FC traffic can be managed so that each FC traffic is well within SLA limits and does not impact the serviceability of other FCs.
  • Page 41: Table 14: Default Access Egress Policy Id 1 Definition

    QoS Policies Table 14: Default Access Egress Policy ID 1 Definition Characteristic Item Definition Queues Queue 1-8 1 (one) queue defined for each traffic class Network-Control (ef) Queue 8 • CIR=0 • PIR=max (line rate) • CBS=default (values derived for optimal buffer usage) High-1 (h1) Queue7 •...
  • Page 42 QoS Overview Table 14: Default Access Egress Policy ID 1 Definition (Continued) Characteristic Item Definition In-Profile Out-Profile Network-Control (ef) High-1(h1) Expedited (ef) High-2 (h2) Low-1 (l1) Assured (af) Low-2 (l2) Best-Effort (be) Page 42 7210 SAS-E OS Quality of Service Guide...
  • Page 43: Buffer Pools

    QoS Policies Buffer Pools Buffer pools cannot be created or destroyed in 7210 SAS. The default pools created are distributed among various ports. The 7210 SAS E only supports port egress buffer pools. The egress buffer pools are distributed as access uplink egress buffer pool and access egress buffer pools.
  • Page 44: Slope Policies

    QoS Overview Slope Policies The available buffer space is partitioned into buffer pools. The buffers for a queue are allocated from a single buffer pool. Buffer pools are created for access port egress and access uplink port egress. Slope policies define the RED slope characteristics as a percentage of pool size for the pool on which the policy is applied.
  • Page 45 QoS Policies RED Slopes Operation and Configuration Each buffer pool supports a high-priority RED slope and a low-priority RED slope. The high- priority RED slope manages access to the shared portion of the buffer pool for high-priority or in- profile packets. The low-priority RED slope manages access to the shared portion of the buffer pool for low-priority or out-of-profile packets.
  • Page 46: Slope Policy Parameters

    QoS Overview Slope Policy Parameters The elements required to define a slope policy are: • A unique policy ID • The high and low RED slope shapes for the buffer pool: start-threshold, drop-rate per egress queue settings for the high-priority and low-priority RED slopes. A slope policy is defined with generic parameters so that it is not inherently an access nor an access uplink policy.
  • Page 47: Table 16: Drop Rate Value To Percent Mapping Values

    QoS Policies Table 16 lists the mapping from drop-rate scalar value to percent value Table 16: Drop Rate Value to Percent Mapping Values Drop Rate % Drop Rate 100% cliff drop. 6.25%. 3.125%. 1.5625%. 0.78125%. 0.390625%. 0.1953125%. 0.09765625%. 7210 SAS-E OS Quality of Service Guide Page 47...
  • Page 48: Port Scheduler Policies

    QoS Overview Port Scheduler Policies Port scheduler policies control the traffic behavior on a per-port basis. Associated with each egress port is a set of eight class of service (CoS) queues and a default port-scheduler-policy named “default”. This default policy makes the port to behave in strict mode. The default policy cannot be modified.
  • Page 49 QoS Policies Displayed in Table 17, CoS queues 7 and 6 each have a minimum bandwidth specification of 10 Mbps, whereas the remaining QoS queues have a minimum bandwidth specification of 50 Mbps. All CoS queues have a maximum bandwidth specification of 1 Gbps. The goal of these settings is to guarantee the minimum bandwidth settings for each of the queues while also allowing each CoS queue to fully use the egress port capability by having the maximum bandwidth setting at 1 Gbps.
  • Page 50: Cpu Queues

    QoS Overview CPU Queues The packets that are destined to the CPU are prioritized based on the application. Some of the applications that are prioritized are Layer 2 learn packets, EFM/CFM/STP/LACP packets, and Layer 3 packets. The CPU provides eight queues from BE (0) to NC (7). The packets destined to the CPU are classified internally and are put into the correct queue.
  • Page 51: Forwarding Classes

    QoS Policies Forwarding Classes 7210 SAS devices support multiple forwarding classes and class-based queuing, so the concept of forwarding classes is common to all of the QoS policies. Each forwarding class (also called Class of Service (CoS)) is important only in relation to the other forwarding classes.
  • Page 52: Table 19: Forwarding Class To Queue-Id Map

    QoS Overview Forwarding-Class To Queue-ID Map There are 8 forwarding classes supported on 7210 SAS 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 53: Qos Policy Entities

    QoS Policies QoS Policy Entities Services are configured with default QoS policies. Additional policies must be explicitly created and associated. There is one default service ingress QoS policy, one default access egress QoS policy, one default network QoS policy and one default port scheduler policy. Only one ingress QoS policy and one egress QoS policy can be applied to a SAP or access/access-uplink port.
  • Page 54: Configuration Notes

    Configuration Notes Configuration Notes The following information describes QoS implementation caveats: • Creating additional QoS policies is optional. • Default policies are created for service ingress, access egress, network, network-queue, slope, and port scheduler. • Associating a service or access/access uplink ports with a QoS policy other than the default policy is optional.
  • Page 55: Network Qos Policies

    Network QoS Policies Configuring QoS Policies In This Section This section provides information to configure network QoS policies using the command line interface. Topics in this section include: • Overview on page 56 • Basic Configurations on page 61 • Default Network Policy Values on page 64 •...
  • Page 56: Overview

    Overview Overview The network QoS policy consists of an ingress and egress component. The ingress component of the policy defines how Dot1p bits are mapped to internal forwarding class and profile state. The forwarding class and profile state define the Per Hop Behavior (PHB) or the QoS treatment through the 7210 SAS.
  • Page 57: Normal Qos Operation

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

    Overview DSCP Marking CPU Generated Traffic Specific DSCP, forwarding class, and Dot1P parameters can be specified to be used by every protocol packet generated by the node. This enables prioritization or de-prioritization of every protocol (as required). The markings effect a change in behavior on ingress when queuing. For example, if OSPF is not enabled, then traffic can be de-prioritized to best effort (be) DSCP.
  • Page 59 Network QoS Policies Table 20: DSCP/FC Marking DSCP Dot1P Default Protocol IPv4 IPv6 Marking Marking Traceroute TACPLUS SNTP/NTP RADIUS DHCP 7210 SAS-E OS Quality of Service Guide Page 59...
  • Page 60: Default Dscp Mapping Table

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

    Network QoS Policies Basic Configurations A basic network QoS policy must conform to the following: • Each network QoS policy must have a unique policy ID. • Specify the default-action. • Have a QoS policy scope of template or exclusive. •...
  • Page 62 Basic Configurations Use the following CLI syntax to create a network QoS policy: CLI Syntax: config>qos# Network Egress Parameters Network Ingress Parameters network policy-id description description-string scope {exclusive|template} egress remarking fc {be|l2|af|l1|h2|ef|h1|nc} dot1p-in-profile dot1p-priority dot1p-out-profile dot1p-priority ingress default-action fc {fc-name} profile {in|out} dot1p dot1p-priority fc {fc-name} profile {in|out} fc {fc-name} meter {meter-id}...
  • Page 63: Applying Network Policies

    Network QoS Policies Applying Network Policies Use the following CLI syntax to apply network policies to access uplink ports: 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.
  • Page 64: Default Network Policy Values

    Basic Configurations Default Network Policy Values The default network policy is identified as policy-id 1. Default policies cannot be modified or deleted. The following displays default network policy parameters: Table 21: Network Policy Defaults Field Default description Default network QoS policy. scope template ingress...
  • Page 65: Table 22: Default Network Qos Policy Dot1P To Fc Mapping

    Network QoS Policies Table 21: Network Policy Defaults (Continued) Field Default dot1pin-profile dot1pout-profile Table 22: Default Network QoS Policy Dot1p to FC Mapping Dot1p Value 7210 FC Ingress Profile 7210 SAS-E OS Quality of Service Guide Page 65...
  • Page 66 Basic Configurations The following output displays the default configuration: *A:ALU-7210>config>qos>network# info detail ---------------------------------------------- description "Default network QoS policy." scope template ingress default-action fc be profile out meter 1 create mode trtcm adaptation-rule pir closest pir closest rate 0 pir max mbs default cbs default exit...
  • Page 67 Network QoS Policies dot1p-in-profile 1 dot1p-out-profile 1 exit fc nc dot1p-in-profile 7 dot1p-out-profile 7 exit exit ---------------------------------------------- *A:ALU-7210>config>qos>network# 7210 SAS-E OS Quality of Service Guide Page 67...
  • Page 68: Service Management Tasks

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

    Network QoS Policies Remove a Policy from the QoS Configuration To delete a network policy, enter the following commands: CLI Syntax: config>qos# no network network-policy-id Example config>qos# no network 600 7210 SAS-E OS Quality of Service Guide Page 69...
  • Page 70: Copying And Overwriting Network Policies

    Service Management Tasks Copying and Overwriting Network Policies You can copy an existing network policy to a new policy ID value or overwrite an existing policy ID. The option must be specified or an error occurs if the destination policy ID overwrite exists.
  • Page 71: Network Qos Policy Command Reference

    Command Reference Network QoS Policy Command Reference Command Hierarchies • Configuration Commands on page 71 • Operational Commands on page 72 • Show Commands on page 72 Configuration Commands config — qos — [no] network network-policy-id — description description-string — no description —...
  • Page 72 Network QoS Policy Command Reference Operational Commands config — qos — copy network src-pol dst-pol [overwrite] Show Commands show — qos — network policy-id [detail] Page 72 7210 SAS-E OS Quality of Service Guide...
  • Page 73 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>network policy-id Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 74 QoS Commands Operational Commands copy Syntax copy network src-pol dst-pol [overwrite] Context config>qos Description This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id. The copy command is used to create new policies using existing policies and also allows bulk modifi- cations to an existing policy with the use of the overwrite keyword.
  • Page 75 QoS Commands Network QoS Policy Commands network Syntax [no] network policy-id Context config>qos Description This command creates or edits a QoS network policy. The network policy defines the treatment pack- ets receive as they ingress and egress the access uplink port. The QoS network policy consists of an ingress and egress component.
  • Page 76 QoS Commands Parameters policy-id — The policy-id uniquely identifies the policy on the 7210 SAS. Default none Values 1— 65535 Page 76 7210 SAS-E OS Quality of Service Guide...
  • Page 77 QoS Commands Network Ingress QoS Policy Commands ingress Syntax ingress Context config>qos>network policy-id Description This command is used to enter the CLI node that creates or edits policy entries that specify the Dot1p to forwarding class mapping for all IP packets. When pre-marked packets ingress on a network port, the QoS treatment through the 7210 SAS-based on the mapping defined under the current node.
  • Page 78 QoS Commands dot1p Syntax dot1p dot1p-priority fc fc-name profile {in | out} no dot1p dot1p-priority Context config>qos>network>ingress Description This command explicitly sets the forwarding class or enqueuing priorityand profile of the packet when a packet is marked with a dot1p-priority specified. Adding a dot1p rule on the policy forces packets that match the dot1p-priority specified to be assigned to the forwarding class and profile of the packet based on the parameters included in the Dot1p rule.
  • Page 79 QoS Commands Parameters fc-name — The case-sensitive, system-defined forwarding class name for which policy entries will be created. Values be, l2, af, l1, h2, ef, h1, nc create — The keyword used to create the forwarding class. The create keyword requirement can be enabled/disabled in the environment>create context.
  • Page 80 QoS Commands meter Syntax meter meter-id no meter Context config>qos>network>ingress>fc Description This command overrides the default unicast forwarding type meter mapping for fc fc-name. The spec- ified meter-id must exist within the policy as a non-multipoint meter before the mapping can be made. Once the forwarding class mapping is executed, all unicast traffic on a port using this policy is for- warded using the meter-id.
  • Page 81 QoS Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>network>ingress>meter Description This command defines the method used by the system to derive the operational CIR and PIR settings when the meter is provisioned in hardware. For the CIR and PIR parameters, individually the system attempts to find the best operational rate depending on the defined constraint.
  • Page 82 QoS Commands ets are marked as in-profile by the meter to indicate that the traffic is complying meter configured parameters. The no form of this command returns the CBS size to the default value. Default default Parameters size-in-kbits — Specifies the size parameter is an integer expression of the number of kilobits reserved for the meter.
  • Page 83 QoS Commands Default trtcm Parameters trtcm — Meters the packet stream and marks the packets either green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is marked either yellow or green depending on whether it exceeds or doesn't exceed the CIR.
  • Page 84 QoS Commands Network Egress QoS Policy Commands egress Syntax egress Context config>qos>network policy-id Description This command is used to enter the CLI node that creates or edits egress policy entries that specify the forwarding class Dot1p marking map to be instantiated when this policy is applied to the network port.
  • Page 85 QoS Commands Network Egress QoS Policy Forwarding Class Commands dot1p-in-profile Syntax dot1p-in-profile dot1p-priority no dot1p-in-profile Context config>qos>network>egress>fc fc-name Description This command specifies dot1p in-profile mappings. The no form of the command reverts to the default in-profile dot1p-priority setting for policy-id 1. Parameters dot1p-priority —...
  • Page 86: Table 23: Show Qos Network Output Fields

    QoS Commands Show Commands network Syntax network [policy-id] [detail] Context show>qos Description This command displays network policy information. Parameters policy-id — Displays information for the specific policy ID. Default all network policies Values 1 — 65535 detail — Includes information about ingress and egress Dot1p bit mappings and network policy interface associations.
  • Page 87 QoS Commands Sample Output A:ALA-12# show qos network ============================================================================== Network Policies ============================================================================== Policy-Id Remark Description ------------------------------------------------------------------------------ True Default network QoS policy. ============================================================================== A:ALA-12# *A:SN12345678# show qos network 1 =============================================================================== QoS Network Policy =============================================================================== ------------------------------------------------------------------------------- Network Policy (1) ------------------------------------------------------------------------------- Policy-id Remark : True Forward Class : be...
  • Page 88 QoS Commands No FC-Map Entries Found. ------------------------------------------------------------------------------- Dot1p Bit Map Forwarding Class Profile ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Egress Forwarding Class Queuing ------------------------------------------------------------------------------- FC Value FC Name : be - Dot1p Mapping Out-of-Profile : 0 In-Profile FC Value FC Name : l2 - Dot1p Mapping Out-of-Profile : 1 In-Profile FC Value...
  • Page 89: Network Queue Qos Policies

    Network Queue QoS Policies Configuring QoS Policies In This Section This section provides information to configure network queue QoS policies using the command line interface. Topics in this section include: • Overview on page 90 • Basic Configurations on page 91 •...
  • Page 90: Overview

    QoS policies. 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 E OS Basic System Configuration Guide.
  • Page 91: Basic Configurations

    Network Queue QoS Policies Basic Configurations A basic network queue QoS policy must conform to the following: • Each network queue QoS policy must have a unique policy name. • Queue parameters can be modified, but not deleted. Create a Network Queue QoS Policy Configuring and applying QoS policies other than the default policy is optional.
  • Page 92 Basic Configurations The following displays the network queue policy configuration: *A:Dut-B>config>qos>network-queue# info detail ---------------------------------------------- description "Default network queue QoS policy." queue 1 rate cir 0 pir 100 adaptation-rule cir closest pir closest exit queue 2 rate cir 25 pir 100 adaptation-rule cir closest pir closest exit queue 3...
  • Page 93: Applying Network Queue Policies

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

    Default Network Queue Policy Values Default Network Queue Policy Values The default network queue policies are are identified as policy-id default The default policies cannot be modified or deleted. The following displays default policy parameters: Table 24: Network Queue Policy Defaults Field Default description...
  • Page 95 Network Queue QoS Policies Table 24: Network Queue Policy Defaults (Continued) Field Default 7210 SAS-E OS Quality of Service Guide Page 95...
  • Page 96 Default Network Queue Policy Values The following output displays the default configuration: *A:Dut-C>config>qos>network-queue# info detail ---------------------------------------------- description "Default network queue QoS policy." queue 1 rate 0 pir 100 adaptation-rule cir closest pir closest exit queue 2 rate 25 pir 100 adaptation-rule cir closest pir closest exit queue 3...
  • Page 97: Service Management Tasks

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

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

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

    Command Reference Network Queue QoS Policy Command Reference Command Hierarchies • Configuration Commands on page 101 • Operational Commands on page 102 • Show Commands on page 102 Configuration Commands config — qos — network-queue policy-name — description description-string — no description —...
  • Page 102 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 102 7210 SAS-E OS Quality of Service Guide...
  • Page 103 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>network-queue config>qos>network config>qos>access-egress config>qos>sap-ingress config>qos>sap-ingress>ip-criteria>entry config>qos>sap-ingress>mac-criteria>entry Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 104 QoS Commands Operational Commands copy Syntax copy network-queue src-name dst-name [overwrite] Context config>qos Description This command copies or overwrites existing network queue QoS policies to another network queue policy ID. The copy command is a configuration level maintenance tool used to create new policies using exist- ing policies.
  • Page 105 QoS Commands Network Queue QoS Policy Commands network-queue Syntax [no] network-queue policy-name Context config>qos Description This command creates a context to configure a network queue policy. Network queue policiesdefine the ingress network queuing at the MDA network node level and on the Ethernet port, define network egress queuing.
  • Page 106 QoS Commands Network Queue QoS Policy Forwarding Class Commands queue Syntax queue queue-id Context config>qos>network-queue Description This command enables the context to configure a QoS network-queue policy queue. The FCs are mapped to these queues as per Table 19, Forwarding Class to Queue-id Map, on page Only one FC can be mapped to one queue.
  • Page 107 QoS Commands defines the constraint used when deriving the operational PIR for the queue. When the rate command is not specified, the default applies. cir — Defines the constraints enforced when adapting the CIR rate defined within the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used when deriving the operational CIR for the queue.
  • Page 108 QoS Commands The actual CIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned. Values 0 — 100 Default pir percent — Defines the percentage of the maximum rate allowed for the queue. When the rate command is executed, the PIR setting is optional.
  • Page 109 QoS Commands Show Commands network-queue Syntax network-queue [network-queue-policy-name] [detail] Description Displays network queue policy information. Context show>qos Parameters network-queue-policy-name — The name of the network queue policy. Values Valid names consist of any string up to 32 characters long composed of printable, 7- bit ASCII characters.
  • Page 110 QoS Commands Associations ------------------------------------------------------------------------------ Port-id : 1/1/1 ============================================================================== A:ALA-12>show>qos# *A:card-1>config>qos# show qos network-queue nq1-cbs detail =============================================================================== QoS Network Queue Policy ------------------------------------------------------------------------------- Network Queue Policy (nq1-cbs) ------------------------------------------------------------------------------- Policy : nq1-cbs ------------------------------------------------------------------------------- Queue CIR CIR Rule PIR Rule ------------------------------------------------------------------------------- 8.29 closest 6.00 closest closest 10.00...
  • Page 111: Service Ingress Qos Policies

    Service Ingress QoS Policies Configuring QoS Policies In This Section This section provides information to configure SAP ingress QoS policies using the command line interface. Topics in this section include: • Overview on page 112 → Egress Port Rate Limiting on page 115 →...
  • Page 112: Overview

    Overview Overview There is one default service ingress policy. Each policy can have up to 18 ingress meters. The default policies can be copied and modified but they cannot be deleted. The default policies are identified as policy ID 1. The default policies are applied to the appropriate interface, by default.
  • Page 113: Sap Ingress Policy Defaults

    Service Egress/Ingress QoS Policies SAP Ingress Policy Defaults Table 25: SAP Ingress Policy Defaults Field Default description “Default SAP ingress QoS policy.” scope template meter mode trtcm adaptation-rule cir closest pir closest rate pir = max, cir= 0 32kb 128kb meter 11 (Multipoint) mode...
  • Page 114 Overview Page 114 7210 SAS-E OS Quality of Service Guide...
  • Page 115: Egress Port Rate Limiting

    Service Egress/Ingress QoS Policies Egress Port Rate Limiting Egress port rate limiting allows the device to limit the traffic that egresses through a port to a value less than the available link bandwidth. This feature is supported on the 7210 SAS E platform. Applications This feature is useful when connecting the 7210 SAS to an Ethernet-over-SDH (EoSDH) (or microwave) network, where the network allocates predetermined bandwidth to the nodes...
  • Page 116: Network/Access Uplink Queue Functionality

    Egress Port Rate Limiting Network/Access Uplink Queue Functionality When an egress-rate sub-rate value is given, the network/access-uplink queue rates that are specified using percentages will use the egress-rate value instead of the port bandwidth to configure the appropriate queue rates. Configuration of egress port rate to different values will result in a corresponding dynamic adjustment of rates for the queues configured on network and access-uplink ports.
  • Page 117: Basic Configurations

    Service Egress/Ingress QoS Policies Basic Configurations A basic service ingress QoS policy must conform to the following: • Have a unique service ingress QoS policy ID. • Have a QoS policy scope of template or exclusive. • Have at least one default unicast forwarding class meter. •...
  • Page 118: Service Ingress Qos Policy

    Egress Port Rate Limiting Service Ingress QoS Policy To create an service ingress policy, define the following: • A policy ID value. The system will not dynamically assign a value. • Include a description. The description provides a brief overview of policy features. •...
  • Page 119 Service Egress/Ingress QoS Policies Service Ingress QoS Meter To create service ingress meter parameters, define the following: • A new meter ID value — The system will not dynamically assign a value. • Meter parameters — Ingress meters support the definition of either srTCM (Single Rate Tri-Color Meter) or trTCM (Two Rate Tri-Color Meter), CIR/PIR, CBS/MBS parameters.
  • Page 120 Egress Port Rate Limiting exit meter 12 multipoint create rate cir 1500 pir 1500 exit meter 13 multipoint create rate cir 2500 pir 2500 exit meter 14 multipoint create rate cir 36 pir 100 exit meter 15 multipoint create rate cir 36 pir 100 exit meter 16 multipoint create cbs 128...
  • Page 121 Service Egress/Ingress QoS Policies SAP Ingress Forwarding Class (FC) The following displays a forwarding class and precedence configurations: A:ALA-7>config>qos# info #------------------------------------------ fc af create meter 1 broadcast-meter 7 unknown-meter 8 exit fc be create meter 2 unknown-meter 9 exit fc ef create meter 3 broadcast-meter 10 exit...
  • Page 122 Egress Port Rate Limiting Service Ingress IP Match Criteria When specifying SAP ingress match criteria, only one match criteria type can be configured in the SAP ingress QoS policy. The following displays an ingress IP criteria configuration: A:ALA-7>config>qos# info #------------------------------------------ echo "QoS Policy Configuration"...
  • Page 123 Service Egress/Ingress QoS Policies Service Ingress MAC Match Criteria Both IP criteria and MAC criteria cannot be configured in the same SAP ingress QoS policy. To configure service ingress policy MAC criteria, define the following: • A new entry ID value. Entries must be explicitly created. The system will not dynamically assign entries or a value.
  • Page 124: Applying Service Ingress Policies

    Egress Port Rate Limiting Applying Service Ingress Policies Apply SAP ingress policies to the following service SAPs: • Epipe • VPLS Epipe The following output displays an Epipe service configuration with SAP ingress policy 100 applied to the SAP. A:ALA-7>config>service# info ---------------------------------------------- epipe 6 customer 6 vpn 6 create description "Epipe service to west coast"...
  • Page 125: Service Management Tasks

    Service Egress/Ingress QoS Policies Service Management Tasks This section discusses the following service management tasks: • Deleting QoS Policies on page 125 • Copying and Overwriting QoS Policies on page 126 • Remove a Policy from the QoS Configuration on page 127 •...
  • Page 126: Copying And Overwriting Qos Policies

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

    Service Egress/Ingress QoS Policies Remove a Policy from the QoS Configuration CLI Syntax: config>qos# no sap-ingress policy-id Example config>qos# no sap-ingress 100 Editing QoS Policies You can change QoS existing policies and entries. The changes are applied immediately to all services where this policy is applied.
  • Page 128 Service Management Tasks Page 128 7210 SAS-E OS Quality of Service Guide...
  • Page 129: Service Sap Qos Policy Command Reference

    Command Reference Service SAP QoS Policy Command Reference Command Hierarchies • Service Ingress QoS Policy Commands → FC Commands on page 129 → IP Criteria Commands on page 129 → MAC Criteria Commands on page 129 • Egress Port Rate Limiting Commands on page 130 •...
  • Page 130 Command Hierarchies — description description-string — no description — match [frame-type {802dot3 | ethernet-II | atm}] — no match — atm-vci vci-value — no atm-vci — dot1p dot1p-value [dot1p-mask] — no dot1p — dst-mac ieee-address [ieee-address-mask] — no dst-mac — etype etype-value —...
  • Page 131 Command Reference Operational Commands config — qos — copy sap-ingress src-pol dst-pol [overwrite] Show Commands show — qos — sap-ingress policy-id [detail] 7210 SAS-E OS Quality of Service Guide Page 131...
  • Page 132 Command Hierarchies Page 132 7210 SAS-E OS Quality of Service Guide...
  • Page 133 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>sap-ingress config>qos>sap-ingress>ip-criteria>entry config>qos>sap-ingress>mac-criteria>entry Description This command creates a text description stored in the configuration file for a configuration context. The no form of this command removes any description string from the context. Default No description is associated with the configuration context.
  • Page 134 QoS Commands Operational Commands copy Syntax copy sap-ingress src-pol dst-pol [overwrite] Context config>qos Description This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id. The copy command is a configuration level maintenance tool used to create new policies using exist- ing policies.
  • Page 135 QoS Commands Service Ingress QoS Policy Commands sap-ingress Syntax [no] sap-ingress policy-id Context config>qos Description This command is used to create or edit the ingress policy. The ingress policy defines the Service Level Agreement (SLA) enforcement service packets receive as they ingress a SAP. SLA enforcement is accomplished through the definition of meters that have Forwarding Class (FC), Committed Informa- tion Rate (CIR), Peak Information Rate (PIR), Committed Burst Size (CBS), and Maximum Burst Size (MBS) characteristics.
  • Page 136 QoS Commands scope Syntax scope {exclusive | template} no scope Context config>qos>sap-ingress policy-id Description This command configures the Service Ingress QoS policy scope as exclusive or template. The no form of this command sets the scope of the policy to the default of template. Default template Parameters...
  • Page 137 QoS Commands Syntax [no] fc fc-name Context config>qos>sap-ingress Description The fc command creates a class instance of the forwarding class fc-name. Once the fc-name is cre- ated, classification actions can be applied and can be used in match classification criteria. The no form of the command removes all the explicit queue mappings for fc-name forwarding types.
  • Page 138 QoS Commands This command is used to enter the node to create or edit policy entries that specify MAC criteria. 7210 SAS OS implementation will exit on the first match found and execute the actions in accordance with the accompanying action command. For this reason entries must be sequenced correctly from most to least explicit.
  • Page 139 QoS Commands Service Ingress QoS Policy Forwarding Class Commands broadcast-meter Syntax broadcast-meter meter-id no broadcast-meter Context config>qos>sap-ingress>fc Description This command overrides the default broadcast forwarding type meter mapping for fc fc-name. The specified meter-id must exist within the policy as a multipoint meter before the mapping can be made. Once the forwarding class mapping is executed, all broadcast traffic on a SAP using this policy will be forwarded using the meter-id.
  • Page 140 QoS Commands multicast-meter Syntax multicast-meter meter-id no multicast-meter Context config>qos>sap-ingress>fc Context This command overrides the default multicast forwarding type meter mapping for fc fc-name. The specified meter -id must exist within the policy as a multipoint meter before the mapping can be made.
  • Page 141 QoS Commands Service Ingress QoS Policy Entry Commands action Syntax action [fc fc-name] no action Context config>qos>sap-ingress>ip-criteria>entry config>qos>sap-ingress>mac-criteria>entry Description This mandatory command associates the forwarding class with specific IP or MAC criteria entry ID. The action command supports setting the forwarding class parameter. Packets that meet all match cri- teria within the entry have their forwarding class overridden based on the parameters included in the action parameters.
  • Page 142 QoS Commands any explicit reclassification actions specified, the entry is populated in the list allowing packets matching the entry to exit the list, preventing them from matching entries lower in the list. Since this is the only flow reclassification entry that the packet matched and this entry explicitly states that no reclassification action is to be performed, the matching packet will not be reclassified.
  • Page 143 QoS Commands A match context can consist of multiple match criteria, but multiple match statements cannot be entered per entry. The no form of the command removes the match criteria for the entry-id. Parameters frame-type keyword — The frame-type keyword configures an Ethernet frame type to be used for the MAC filter match criteria.
  • Page 144 QoS Commands IP QoS Policy Match Commands dscp Syntax dscp no dscp Context config>qos>sap-ingress>ip-criteria>entry>match Description This command configures a DiffServ Code Point (DSCP) code point to be used for classification of packets from the specified FC. The no form of this command removes the DSCP match criterion. Default none Parameters...
  • Page 145 QoS Commands Service Ingress MAC QoS Policy Match Commands dot1p Syntax dot1p dot1p-value [dot1p-mask] no dot1p Context config>qos>sap-ingress>mac-criteria>entry Description The IEEE 802.1p value to be used as the match criterion. Use the no form of this command to remove the dot1p value as the match criterion. Default None Parameters...
  • Page 146 QoS Commands Parameters ieee-address — The MAC address to be used as a match criterion. Values HH:HH:HH:HH:HH:HH or HH-HH-HH-HH-HH-HH where H is a hexadecimal digit ieee-address-mask — A 48-bit mask to match a range of MAC address values. This 48-bit mask can be configured using the following formats: Format Style Format Syntax Example...
  • Page 147 QoS Commands src-mac Syntax src-mac ieee-address [ieee-address-mask] no src-mac Context config>qos>sap-ingress>mac-criteria>entry Description This command configures a source MAC address or range to be used as a service ingress QoS policy match criterion. The no form of this command removes the source mac as the match criteria. Default none Parameters...
  • Page 148 QoS Commands Service Meter QoS Policy Commands meter Syntax meter meter-id [multipoint] [create] no meter meter-id Context config>qos>sap-ingress Description This command creates the context to configure an ingress service access point (SAP) QoS policy meter. This command allows the creation of multipoint meters. Only multipoint meters can receive ingress packets that need flooding to multiple destinations.
  • Page 149 QoS Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>sap-ingress>meter Description This command defines the method used by the system to derive the operational CIR and PIR settings when the meter is provisioned in hardware. For the CIR and PIR parameters, individually the system attempts to find the best operational rate depending on the defined constraint.
  • Page 150 QoS Commands The no form of this command returns the CBS size to the default value. Default default Parameters size-in-kbits — Specifies the size parameter is an integer expression of the number of kilobits reserved for the meter. For example, if a value of 100 KBits is desired, then enter the value 100. Values 32 —...
  • Page 151 QoS Commands Parameters trtcm — Meters the packet stream and marks its packets either green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is marked either yellow or green depending on whether it exceeds or doesn't exceed the CIR. The trTCM is useful, for example, for ingress policing of a service, where a peak rate needs to be enforced separately from a committed rate.
  • Page 152 QoS Commands Egress Port Rate Limiting Commands frame-based-accounting Syntax frame-based-accounting Context configure>qos Description This command enables the context to enable frame-based accounting parameters. egress-enable Syntax [no] egress-enable Context config>qos>frame-based-accounting Description When configured this command enables the use of ethernet frame overhead bytes [ IFG (12) + pream- ble(8) = 20 bytes ] in the egress QoS policies that use the queue scheduling rates and egress-rate.
  • Page 153 QoS Commands egress-rate (port) Syntax egress-rate sub-rate [max-burst burst-size] no egress-rate Context config>port>ethernet Description This command configures the rate of traffic leaving the network. Note that this command is configured in the config>port>ethernet context. For information about card and port commands refer to the 7210-SAS E OS Interface Configuration Guide. The no form of this command returns the value to the default.
  • Page 154 QoS Commands Show Commands sap-ingress Syntax sap-ingress [policy-id] [detail] Context show>qos Description This command displays SAP ingress QoS policy information. Parameters policy-id — Displays information about the specific policy ID. Default all SAP ingress policies Values 1 — 65535 detail — Displays detailed policy information including policy associations. Sample Output Show SAP Ingress Output —...
  • Page 155 QoS Commands Label Description (Continued) CIR Rule min — The operational CIR for the meter will be equal to or greater than the administrative rate specified using the rate command except where the derived operational CIR is greater than the operational PIR. If the derived operational CIR is greater than the derived operational PIR, the operational CIR will be made equal to the operational PIR.
  • Page 156 QoS Commands Label Description (Continued) Dst MAC Specifies a destination MAC address or range to be used as a Service Ingress QoS policy match. Dot1p Specifies a IEEE 802.1p value to be used as the match. Ethernet-type Specifies an Ethernet type II Ethertype value to be used as a Service Ingress QoS policy match.
  • Page 157 QoS Commands ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Match Criteria ------------------------------------------------------------------------------- Entry Src MAC : aa:aa:11:11:23:43 Dst MAC : aa:aa:11:11:23:45 Dot1p : Disabled Ethernet-type : Disabled : None Entry Src MAC : aa:aa:11:11:23:45 Dst MAC : aa:aa:11:11:23:34 Dot1p : 3/3 Ethernet-type : 8100 : l1 Entry Src MAC Dst MAC...
  • Page 158 QoS Commands Associations ------------------------------------------------------------------------------- Service-Id : 1 (VPLS) Customer-Id - SAP : 1/1/5:100 - SAP : 1/1/6:100 - SAP : 1/1/7:100 - SAP : 1/1/8:100 - SAP : 1/1/9:100 =============================================================================== A:card-1>config>qos>sap-ingress# Page 158 7210 SAS-E OS Quality of Service Guide...
  • Page 159: Access Egress Qos Policies

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

    Overview Overview There is one default access egress policy which is identified as policy ID 1. Each policy has 8 queues available. The Forwarding Class to queue mapping is predefined and cannot be changed. The queue parameters like CIR, PIR, etc. can be modified. The default policy can be copied and modified but they cannot be deleted.
  • Page 161: Access Egress Qos Policies

    Access Egress QoS Policies The following displays the access egress QoS policy configuration: A:card-1>config>qos# info #-------------------------------------------------- echo "QoS Policy Configuration" #-------------------------------------------------- ..access-egress 30 create remarking queue 1 rate cir 100 pir 4500 exit queue 2 exit queue 3 exit queue 4 exit queue 5...
  • Page 162: Modifying Access Egress Qos Queues

    Overview Modifying Access Egress QoS Queues To modify access egress queue parameters specify the following: • Queue ID value. 8 Queues are identified and are mapped as defined in Table 19, Forwarding Class to Queue-id Map, on page • Queue parameters. Egress queues support configuration of CIR and PIR rates. The following displays the access egress QoS policy configuration: A:card-1>config>qos# info #--------------------------------------------------...
  • Page 163: Applying Access Egress Qos Policies

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

    Overview Default Access Egress QoS Policy Values The default access egress policy is identified as policy-id 1. The default policy cannot be edited or deleted. The following displays default policy parameters: *A:card-1>config>qos>access-egress# info detail ---------------------------------------------- description "Default Access egress QoS policy." remarking scope template queue 1...
  • Page 165: Table 26: Access Egress Default Policy Details

    Access Egress QoS Policies Table 26: 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 rate cir 0 pir max default = 3200 bytes queue 2 adaptation-rule adaptation-rule cir closest pir closest rate...
  • Page 166 Overview Table 26: Access Egress Default Policy Details (Continued) Field Default adaptation-rule cir closest pir closest cir 0 pir max rate default = 3200 bytes queue 8 adaptation-rule cir closest pir closest adaptation-rule cir 0 pir max rate default = 3200 bytes remarking fc af: dot1p-in-profile 3...
  • Page 167: Deleting Qos Policies

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

    Command Reference Access Egress QoS Policy Command Reference Command Hierarchies Configuration Commands config — qos — access-egress policy-id [create] — no access-egress policy-id — description description-string — no description — fc-name [create] — no fc-name — dot1p-in-profile dot1p-value — no dot1p-in-profile —...
  • Page 170 Page 170 7210 SAS-E OS Quality of Service Guide...
  • Page 171 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>access-egress Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 172 QoS Commands limit on the packets transmitted through the queue. If the SAP is null encapsulated, the Dot1p value has no meaning. Any changes made to an existing policy, using any of the sub-commands, will be applied immediately to all access ports where this policy is applied. The no form of this command deletes the access-egress policy.
  • Page 173 QoS Commands configured the FC-Dot1p map the marking of packets is still done according to Table 14, Default Access Egress Policy ID 1 Definition, on page 41. User can explicitly define the new Dot1P values using these commands. The no form of the command sets the IEEE 802.1P or IEEE 802.1Q priority bits to default FC-Dot1P marking map as listed in Table 14, Default Access Egress Policy ID 1 Definition, on page Default...
  • Page 174 QoS Commands queue Syntax queue queue-id Context config>qos>access-egress Description This command creates the context to modify Queue parameters associated with a particular queue. The queue is identifiable by queue-id and FCs are mapped into the queues according to Table 19, For- warding Class to Queue-id Map, on page The no form of this command is not supported Default...
  • Page 175 QoS Commands Access Egress Queue QoS Policy Commands adaptation-rule Syntax adaptation-rule [cir adaptation-rule] [pir adaptation-rule] no adaptation-rule Context config>qos>access-egress>queue Description This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.
  • Page 176 QoS Commands rate Syntax rate cir cir-rate [pir pir-rate] no rate Context config>qos>access-egress>queue Description This command defines the administrative Peak Information Rate (PIR) and the administrative Com- mitted Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the port.
  • Page 177 QoS Commands scope Syntax scope {exclusive | template} no scope Context config>qos>access-egress Description This command configures the scope as exclusive or template. The policy’s scope cannot be changed if the policy is applied to an interface. The no form of this command sets the scope of the policy to the default of template. Default template Parameters...
  • Page 178 QoS Commands Show Commands access-egress Syntax access-egress [policy-id] [association | detail] Context show>qos Description This command displays Access egress QoS policy information. Parameters policy-id — Displays information about the specific policy ID. Displays all SAP ingress policies if no specific policy-id is entered. Values 1 —...
  • Page 179 QoS Commands Label Description (Continued) CIR Admin Specifies the administrative Committed Information Rate (CIR) parameters for the queue. The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same band- width. CIR Rule min —...
  • Page 180 QoS Commands *A:card-1>config>qos>access-egress>queue$ show qos access-egress 10 detail =============================================================================== QoS Access Egress ------------------------------------------------------------------------------- Policy-id : 10 Scope : Template Remark : True ------------------------------------------------------------------------------- Queue CIR Admin PIR Admin CBS CIR Rule PIR Rule ------------------------------------------------------------------------------- closest closest closest closest closest closest closest closest closest...
  • Page 181: Qos Port Scheduler Policies

    QoS Port Scheduler Policies In This Section This section provides information to configure port scheduler policies using the command line interface. Topics in this section include: • Overview on page 182 • Basic Configurations on page 183 • Service Management Tasks on page 185 7210 SAS-E OS Quality of Service Guide Page 181...
  • Page 182: Overview

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

    Scheduler QoS 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-E OS Quality of Service Guide Page 183...
  • Page 184: Creating A Qos Port Scheduler Policy

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

    Scheduler QoS Policies Service Management Tasks This section discusses the following service management tasks: • Copying and Overwriting Port Scheduler Policies on page 185 • Editing QoS Policies on page 187 Copying and Overwriting Port Scheduler Policies You can copy an existing QoS policy, rename it with a new QoS policy value, or overwrite an existing policy.
  • Page 186 Service Management Tasks Queue 7 Weight: strict Queue 8 Weight: strict =============================================================== *A:card-1>config# *A:card-1>config# show qos port-scheduler-policy psp1 =============================================================== QoS Port Scheduler Policy =============================================================== Policy-Name : psp1 Mode : WRR Last changed : 01/01/2000 22:13:17 Queue 1 Weight: 1 Queue 2 Weight: 3 Queue 3 Weight: 5...
  • Page 187: Editing Qos Policies

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

    Command Reference QoS Port Scheduler Policy Command Reference Command Hierarchies • Port Scheduler Policy Configuration Commands on page 189 • Operational Commands on page 189 • Show Commands on page 189 Port Scheduler Policy Configuration Commands config — qos — [no] port-scheduler-policy port-scheduler-name —...
  • Page 190 QoS Port Scheduler Policy Command Reference Page 190 7210 SAS-E OS Quality of Service Guide...
  • Page 191 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>port-scheduler-policy Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 192 QoS Commands Operational Commands copy Syntax copy port-scheduler-policy src-name dst-name [overwrite] Context config>qos Description This command copies existing port scheduler QoS policy entries for a port scheduler QoS policy to another port scheduler QoS policy. The copy command is a configuration level maintenance tool used to create new policies using existing policies.
  • Page 193 QoS Commands Port Scheduler Policy Commands port-scheduler-policy Syntax no] port-scheduler-policy port-scheduler-name Context config>qos Description The default scheduling done for a port is strict scheduling.When a port-scheduler policy is applied to a port , it overrides the default scheduling and determines the type of scheduling (Strict, RR, WRR, WDRR, WRR/WDRR + Strict) to be done between the 8 CoS queues of that particular port.
  • Page 194 QoS Commands in the other queues. If the weight is 0 or if the keyword strict is specified in any of the cases, then that particular queue will be treated as strict. This set of strict priority queues is serviced first in the order of their CoS numbering (the higher numbered CoS queue receives service before smaller numbered queues).
  • Page 195 QoS Commands Show Commands port-scheduler-policy Syntax port-scheduler-policy [port-scheduler-policy-name] [association] Context show>qos Description This command displays port-scheduler policy information Parameters port-scheduler-policy-name — Displays information for the specified existing port scheduler policy. association — Displays associations related to the specified port scheduler policy. Output Show QoS Port Scheduler Output —...
  • Page 196 QoS Commands - Port : 1/1/1 =============================================================================== *A:card-1>config# *A:card-1>config# show qos port-scheduler-policy psp =============================================================================== QoS Port Scheduler Policy =============================================================================== Policy-Name : psp Mode : WRR Last changed : 01/01/2000 05:14:06 Queue 1: Weight: 1 Queue 2: Weight: 3 Queue 3: Weight: 5 Queue 4: Weight: 0...
  • Page 197: Slope Qos Policies

    Slope QoS Policies Configuring QoS Policies In This Section This section provides information to configure slope QoS policies using the command line interface. Topics in this section include: • Overview on page 198 • Basic Configurations on page 199 • Default Slope Policy Values on page 202 •...
  • Page 198: Overview

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

    Slope QoS Policies Basic Configurations A basic slope QoS policy must conform to the following: • Each slope policy must have a unique policy ID. • High slope and low slope are shut down (default). • Default values can be modified but parameters cannot be deleted. Create a Slope QoS Policy Configuring and applying slope policies is optional.
  • Page 200 Overview Use the following CLI syntax to configure a slope policy: CLI Syntax: config>qos slope-policy name description description-string high slope start-threshold percent queue queue-id drop-rate rate no shutdown low-slope start-threshold percent queue queue-id drop-rate rate no shutdown The following displays the slope policy configuration: A:ALA-7>config>qo>slope-policy# info ---------------------------------------------- description "slope policy SlopePolicy1"...
  • Page 201: Applying Slope Policies

    Slope QoS Policies Applying Slope Policies • Ports Apply slope policies to the egress buffer pool on the physical 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-E OS Quality of Service Guide Page 201...
  • Page 202: Default Slope Policy Values

    Overview Default Slope Policy Values The default access egress and access uplink egress policies are identified as policy-id “default”. The default policies cannot be edited or deleted. Table 27 displays default policy parameters: Table 27: Slope Policy Defaults Field Default description Default slope policy high (RED) slope...
  • Page 203: Deleting Qos Policies

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

    Overview Copying and Overwriting QoS Policies You can copy an existing slope policy, rename it with a new policy ID value, or overwrite an existing policy ID. The option must be specified or an error occurs if the destination overwrite policy ID exists.
  • Page 205: Editing Qos Policies

    Slope QoS Policies queue 5 drop-rate 1 queue 6 drop-rate 1 queue 7 drop-rate 1 queue 8 drop-rate 1 exit low-slope shutdown start-threshold 50 queue 1 drop-rate 0 queue 2 drop-rate 0 queue 3 drop-rate 0 queue 4 drop-rate 0 queue 5 drop-rate 0 queue 6 drop-rate 0 queue 7 drop-rate 0...
  • Page 206 Overview Page 206 7210 SAS-E OS Quality of Service Guide...
  • Page 207: Slope Qos Policy Command Reference

    Command Reference Slope QoS Policy Command Reference Command Hierarchies Configuration Commands config — qos — [no] slope-policy name — description description-string — no description — [no] high-slope — start-threshold percent — no start-threshold — queue queue-id drop-rate num — no queue queue-id —...
  • Page 208 Slope QoS Policy Command Reference Page 208 7210 SAS-E OS Quality of Service Guide...
  • Page 209 QoS Commands Configuration Commands Generic Commands description Syntax description description-string no description Context config>qos>slope-policy Description This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the context in the configuration file.
  • Page 210 Slope QoS Commands Operational Commands copy Syntax copy slope-policy src-name dst-name [overwrite] Context config>qos Description This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id. The copy command is a configuration level maintenance tool used to create new policies using exist- ing policies.
  • Page 211 QoS Commands Slope Policy QoS Commands slope-policy Syntax [no] slope-policy name Context config>qos Description This command enables the context to configure a QoS slope policy. Default slope-policy “default” Parameters name — The name of the slope policy. Values Valid names consist of any string up to 32 characters long composed of printable, 7- bit ASCII characters.
  • Page 212 Slope QoS Commands Slope Policy QoS Policy Commands high-slope Syntax [no] high-slope Context config>qos>slope-policy Description The high-slope context contains the commands and parameters for defining the high priority Random Early Detection (RED) slope graph. Each buffer pool supports a high priority RED slope for manag- ing access to the shared portion of the buffer pool for high priority or in-profile packets.
  • Page 213 QoS Commands RED Slope Commands shutdown Syntax [no] shutdown Context config>qos>slope-policy>high-slope config>qos>slope-policy>low-slope Description This command enables or disables the administrative status of the Random Early Detection slope. By default, all slopes are shutdown and have to be explicitly enabled (no shutdown). The no form of this command administratively enables the RED slope.
  • Page 214 Slope QoS Commands queue Syntax queue queue-id drop-rate num no queue queue-id Context config>qos>slope-policy>high-slope config>qos>slope-policy>low-slope Description Sets the low priority or high priority Random Early Detection (RED) slope drop-rate for the shared buffer per queue. The drop-rate num parameter is expressed as a scalar number, and mapping to the percent of packets dropped in congestion conditions is specified in Table 16, Drop Rate Value to Per- cent Mapping Values, on page...
  • Page 215: Table 28: Show Qos Network Output Fields

    QoS Commands Show Commands slope-policy Syntax slope-policy [slope-policy-name] [detail] Context show>qos Description This command displays slope policy information. Parameters slope-policy-name — The name of the slope policy. detail — Displays detailed information about the slope policy. Output Slope QoS Policy Output Fields — The following table describes slope QoS policy output fields.
  • Page 216 Slope QoS Commands ------------------------------------------------------------------------------- Utilization State Start-Threshold ------------------------------------------------------------------------------- High-Slope Low-Slope ------------------------------------------------------------------------------- Queue High Slope Drop Rate(%) Low Slope Drop Rate(%) ------------------------------------------------------------------------------- Queue 1 6.250000 100.000000 Queue 2 6.250000 100.000000 Queue 3 1.562500 100.000000 Queue 4 6.250000 0.097656 Queue 5 6.250000 100.000000 Queue 6 6.250000...
  • Page 217: Standards And Protocol Support

    Standards and Protocol Support Standards Compliance RFC 3164 Syslog draft-ietf-secsh-architecture.txt SSH RFC 3273 HCRMON-MIB IEEE 802.1d Bridging Protocol Architecture RFC 3411 An Architecture for IEEE 802.1p/Q VLAN Tagging draft-ietf-secsh-userauth.txt SSH Describing Simple Network IEEE 802.1w Rapid Spanning Tree Authentication Protocol Management Protocol (SNMP) Protocol Management Frameworks...
  • Page 218: Index

    NDEX ingress policies configuring applying to services overview basic policies command reference policy entities ingress policy access egress overview overview slope policies configuring overview 44, 198 access egress policies RED slopes applying policies configuring command reference applying to MDA default values basic modifying network policies...
  • Page 219 Page 219 7210-SAS E Quality of Services Guide...

Table of Contents