background image

Alcatel-Lucent 7950

EXTENSIBLE ROUTING SYSTEM | RELEASE 13.0.R1

QUALITY OF SERVICE GUIDE

QUALITY OF SERVICE GUIDE

Alcatel-Lucent – Proprietary & Confidential
Contains proprietary/trade secret information which is the property of Alcatel-Lucent. Not to be made available 
to, or copied or used by anyone who is not an employee of Alcatel-Lucent except when there is a valid non-
disclosure agreement in place which covers such information and contains appropriate non-disclosure and 
limited use obligations.
Copyright 2015 © Alcatel-Lucent. All rights reserved.

Summary of Contents for 7950

Page 1: ... trade secret information which is the property of Alcatel Lucent Not to be made available to or copied or used by anyone who is not an employee of Alcatel Lucent except when there is a valid non disclosure agreement in place which covers such information and contains appropriate non disclosure and limited use obligations Copyright 2015 Alcatel Lucent All rights reserved ...

Page 2: ...or other distribution of the products for any such application without the prior written consent of Alcatel Lucent shall be at the customer s sole risk The customer hereby agrees to defend and hold Alcatel Lucent harmless from any claims for loss cost damage expense or liability that may arise out of or in connection with the use sale license or other distribution of the products in such applicati...

Page 3: ...rding Class Override 44 Service Egress QoS Policies 44 Policy Parameters 52 Scheduler Policies 54 Forwarding Classes 64 High Priority Classes 65 Assured Classes 65 Best Effort Classes 66 QoS Policy Entities 67 Frequently Used QoS Terms 68 Configuration Notes 72 Network QoS Policies In This Section 73 Overview 74 Normal QoS Operation 74 DSCP Marking CPU Generated Traffic 75 Default DSCP Mapping Tab...

Page 4: ...SAP Forwarding Class and Forwarding Profile Overrides 133 SAP Egress QoS Policy Modifications 133 Hardware Support 133 DEI Egress Remarking 134 DEI in IEEE 802 1ad 135 DEI in IEEE 802 1ah 135 IEEE 802 1ad Use Case 136 IEEE 802 1ah Use Case 137 Egress FC Based Remarking 137 Implementation Requirements 139 Default Service Egress and Egress Policy Values 141 SAP Egress Policy 141 Default SAP Ingress ...

Page 5: ... using Spoke SDP Forwarding Class Based Redirection 333 Ingress Per SAP Statistics with Ingress Queue Groups 338 Ingress and Egress PW Statistics 340 Queue Group Behavior on LAG 341 Queue Group Queue Instantiation Per Link 341 Per Link Queue Group Queue Parameters 341 Adding a Queue Group to an Existing LAG 341 Removing a Queue Group from a LAG 341 Adding a Port to a LAG 342 Basic Configurations 3...

Page 6: ...cheduling Unused Bandwidth Distribution 458 Default Unused Bandwidth Distribution 458 Limit Unused Bandwidth 458 Configuring Port Scheduler Policies 461 Port Scheduler Structure 461 Special Orphan Queue and Scheduler Behavior 461 Packet to Frame Bandwidth Conversion 461 Aggregate Rate Limits for Directly Attached Queues 463 SAP Egress QoS Policy Queue Parenting 463 Network Queue QoS Policy Queue P...

Page 7: ...rent Policer Priority and Unfair Sensitive Discard Thresholds 572 CFHP Ingress and Egress Use Cases 574 Post CFHP Queuing and Scheduling 575 Ingress CFHP Queuing 575 Egress CFHP Queuing 576 CFHP Policer Control Policy 577 Policer Control Policy Root Arbiter 577 Tier 1 and Tier 2 Explicit Arbiters 578 Explicit Arbiter Rate Limits 578 CFHP Child Policer Definition and Creation 579 Policer Enabled SA...

Page 8: ...d Mode 589 Ingress Child Policer Stat Mode 592 Egress Child Policer Stat Mode 595 Profile Preferred Mode Root Policers 596 Interaction Between Profile Preferred and Profile Capped Mode 597 Class Fair Hierarchical Policing CFHP Policy Command Reference 599 Command Hierarchies 599 Standards and Protocol Support 603 ...

Page 9: ...e Policy Definition 53 Table 15 Supported Scheduler Policies 56 Table 16 Forwarding Class Scheduler Mapping 58 Table 17 Forwarding Classes 64 Network QoS Policies Table 18 Network Policy Defaults 78 Network Queue QoS Policies Table 19 Network Queue Labels and Descriptions 104 Table 20 Show QoS Network Output Fields 129 Service Egress and Ingress QoS Policies Table 21 Classification to and Re Marki...

Page 10: ...s SAP Output Fields 514 Slope QoS Policies Table 34 Slope Policy Defaults 526 Table 35 Show QoS Slope Policy Output Fields 543 Advanced QoS Policies Table 36 Advanced Policy Parameter Defaults 549 Class Fair Hierarchical Policing CFHP Table 37 Effect of Profile Capped Mode on CIR Output 583 ...

Page 11: ...ss QoS Control on VPRN Bindings 311 QoS Scheduler Policies Figure 15 Port Level Virtual Scheduler Bandwidth Allocation Based on Priority and CIR 445 Figure 16 Two Scheduler Policy Model for Access Ports 446 Figure 17 Schedulers on SAP or Multi Service Site Receive Bandwidth From Port Priority Levels 447 Figure 18 Direct Service or Association to Port Scheduler Model 449 Figure 19 Port Bandwidth Di...

Page 12: ...Page 12 7950 XRS Quality of Service Guide List of Figures ...

Page 13: ...ters and provides concepts and descriptions of the implementation flow as well as Command Line Interface CLI syntax and command usage Audience This guide is intended for network administrators who are responsible for configuring the routers It is assumed that the network administrators have an understanding of networking principles and configurations Concepts described in this guide include the fo...

Page 14: ... policies Services Overview Guide This guide describes how to configure service parameters such as service distribution points SDPs customer information and user services Layer 2 Services and EVPN Guide This guide describes Virtual Leased Lines VLL Virtual Private LAN Service VPLS Provider Backbone Bridging PBB and Ethernet VPN EVPN Layer 3 Services Guide This guide describes Internet Enhanced Ser...

Page 15: ...cts 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 follow this link to contact an Alcatel Lucent support representative and to access product manuals and documentation updates http support alcatel lucent com ...

Page 16: ...Preface Page 16 7950 XRS Quality of Service Guide ...

Page 17: ...7950 XRS Quality of Service Guide Page 17 Getting Started In This Chapter This chapter provides process flow information to configure Quality of Service QoS policies and provision services ...

Page 18: ...ented in lowercase and the correct compression of all leading zeros is displayed This changes visible display output compared to previous SR OS releases Previous SR OS behavior can cause issues with operator scripts that use standard IPv6 address expressions and with libraries that have standard IPv6 parsing as per RFC 5952 rules See the section on IPv6 Addresses in the Router Configuration Guide ...

Page 19: ...ter include QoS Overview on page 20 Service and Network QoS Policies on page 24 Network QoS Policies on page 25 Network Queue QoS Policies on page 27 Service Ingress QoS Policies on page 38 Service Egress QoS Policies on page 44 Queue Parameters on page 30 QoS Policies on page 21 Scheduler Policies on page 54 QoS Policy Entities on page 67 Configuration Notes on page 72 ...

Page 20: ...evice is provisioned with an encapsulation and the services are mapped to the tunnel that most appropriately supports the service needs The router supports eight forwarding classes internally named Network Control High 1 Expedited High 2 Low 1 Assured Low 2 and Best Effort The forwarding classes are discussed in more detail in Forwarding Classes on page 64 Router use QoS policies to control how Qo...

Page 21: ...vice egress and network interfaces and define Classification rules for how traffic is mapped to queues The number of forwarding class queues The queue parameters used for policing shaping and buffer allocation QoS marking interpretation There are several types of QoS policies Service ingress Service egress Network for ingress and egress Network queue for ingress and egress Slope Service ingress Qo...

Page 22: ...te for the traffic received from the core network On egress the policy maps forwarding class and profile state to DSCP and EXP values for traffic to be transmitted into the core network Network queue policies are applied on egress to network ports and on ingress to MDAs The policies define the forwarding class queue characteristics for these entities Service ingress service egress and network QoS ...

Page 23: ...ssification Maps one or more forwarding classes to the queues 44 Network Router interface Packets are marked using QoS policies on edge devices Used for classification marking of MPLS packets At ingress defines MPLS LSP EXP to FC mapping At egress defines FC to MPLS LSP EXP marking 25 Used for classification marking of IP packets At ingress defines DSCP or Dot1p to FC mapping At egress defines FC ...

Page 24: ...ess and egress traffic and for network core interfaces there is network ingress and network egress traffic The router uses QoS policies applied to a SAP for a service or to an network port to define the queuing queue attributes and QoS marking interpretation The router supports four types of service and network QoS policies Service ingress QoS policies Service egress QoS policies Network QoS polic...

Page 25: ...nables disables remarking of QoS The required elements to be defined in a network QoS policy are A unique network QoS policy ID Egress forwarding class to DSCP value mappings for each forwarding class Egress forwarding class to LSP EXP value mappings for each forwarding class Enabling disabling of egress QoS remarking A default ingress forwarding class and in profile out of profile state Optional ...

Page 26: ...1 110000 48 nc1 110000 48 110 6 110 6 5 Expedited ef EF ef 101110 46 ef 101110 46 101 5 101 5 4 High 2 h2 AF4 af41 100010 34 af42 100100 36 100 4 100 4 3 Low 1 l1 AF2 af21 010010 18 af22 010100 20 011 3 010 2 2 Assured af AF1 af11 001010 10 af12 001100 12 011 3 010 2 1 Low 2 l2 CS1 cs1 001000 8 cs1 001000 8 001 1 001 1 0 Best Effort be BE be 000000 0 be 000000 0 000 0 000 0 Table 4 Default Network...

Page 27: ...fer pool High Priority Only Buffers as a percentage of MBS Peak Information Rate PIR as a percentage of egress port bandwidth Committed Information Rate CIR as a percentage of egress port bandwidth Network queue policies are identified with a unique policy name which conforms to the standard router alphanumeric naming conventions af12 001100 12 2 Assured af Out af13 001110 14 2 Assured af Out af21...

Page 28: ...Definition Forwarding Class Queue Definition Network Control nc Queue 8 PIR 100 CIR 10 MBS 25 CBS 3 High Prio Only 10 High 1 h1 Queue 7 PIR 100 CIR 10 MBS 25 CBS 3 High Prio Only 10 Expedited ef Queue 6 PIR 100 CIR 100 MBS 50 CBS 10 High Prio Only 10 High 2 h2 Queue 5 PIR 100 CIR 100 MBS 50 CBS 10 High Prio Only 10 Low 1 l1 Queue 4 PIR 100 CIR 25 MBS 25 CBS 3 High Prio Only 10 Assured af Queue 3 P...

Page 29: ...ide Page 29 Low 2 l2 Queue 2 PIR 100 CIR 25 MBS 50 CBS 3 High Prio Only 10 Best Effort be Queue 1 PIR 100 CIR 0 MBS 50 CBS 1 High Prio Only 10 Table 5 Default Network Queue Policy Definition Continued Forwarding Class Queue Definition Continued ...

Page 30: ...r The hardware scheduler for a queue dictates how it will be scheduled relative to other queues at the hardware level When a queue is defined in a service ingress or service egress QoS policy it is possible to explicitly define the hardware scheduler to use for the queue when it is applied to a SAP Being able to define a hardware scheduler is important as a single queue allows support for multiple...

Page 31: ...ets are preferentially dropped over in profile packets at congestion points in the core 1 When defining the CIR for a queue the value specified is the administrative CIR for the queue The router has a number of native rates in hardware that it uses to determine the oper ational CIR for the queue The user has some control over how the administrative CIR is con verted to an operational CIR should th...

Page 32: ...cussed in Single Tier Scheduling on page 57 The PIR is provisioned on ingress and egress service queues within service ingress QoS policies and service egress QoS policies respectively The PIR for network queues are defined within network queue policies based on the forwarding class The PIR for the queues for the forwarding class are defined as a percentage of the network interface bandwidth When ...

Page 33: ...chanisms that enforce the CIR and PIR rates The adaptation rule always assumes that the PIR shaping parameter on the queue is the most important rate When multiple available hardware rates exist for a given CIR and PIR rate pair the PIR constraint is always evaluated before the CIR to define the granularity for both the CIR and PIR rates The adaptation rule controls the method the system uses to c...

Page 34: ...ased to 3200 Gbps A scheduler PIR and CIR rates in a scheduler policy The maximum rate a level s PIR and CIR rates and a group s PIR and CIR rates in a port scheduler policy The aggregate rate applied on egress SAPs and multi service sites but not on egress subscriber profiles or WLAN gateway configurations All queue scheduler and egress scheduler overrides relating to the above rates have also be...

Page 35: ...ass service queues the MBS can be relatively smaller than the other forwarding class queues because the high priority service packets are scheduled with priority over other service forwarding classes The MBS is provisioned on ingress and egress service queues within service ingress QoS policies and service egress QoS policies respectively The MBS for a queue is specified in Kbytes The MBS for netw...

Page 36: ...ed for high priority traffic An access ingress packet must hit an ingress QoS action in order for the ingress forwarding plane to treat the packet as high priority the default is low priority If the packet s ingress queue is above the low priority MBS the packet will be discarded unless it has been classified as high priority The priority of the packet is not retained after the packet is placed in...

Page 37: ...intains the following counters Counters for packets and octets accepted into the queue Counters for packets and octets rejected at the queue Counters for packets and octets transmitted in profile Counters for packets and octets transmitted out of profile Queue Types The expedite best effort and auto expedite queue types are mutually exclusive to each other Each defines the method that the system u...

Page 38: ... original packets are usually already marked with the in profile marking Each ingress access forwarding class may have one or multiple sub class associations for SAP ingress classification purposes Each sub class retains the chassis wide behavior defined to the parent class while providing expanded ingress QoS classification actions Sub classes are created to provide a match association that enfor...

Page 39: ...asses sub classes are now supported Each forwarding class can have one or multiple sub class associations for SAP ingress classification purposes Each sub class retains the chassis wide behavior defined to the parent class while providing expanded ingress QoS classification actions There can now be up to 64 classes and subclasses combined in a sap ingress policy With the extra 56 values the size o...

Page 40: ...lt All packets match the default rule 2 dot1p dot1p value Set when an fc name exists in the policy Other wise preserve from the previous match Set when the priority parameter is high or low Otherwise preserve from the previous match Each dot1p value must be explicitly defined Each packet can only match a single dot1p rule 3 lsp exp exp value Set when an fc name exists in the policy Other wise pres...

Page 41: ...e explicitly defined Each packet can only match a single DSCP rule 6 IP criteria Multiple entries per policy Multiple criteria per entry Set when an fc name exists in the entry s action Otherwise preserve from the previous match Set when the priority parameter is high or low in the entry action Other wise preserve from the previous match When IP criteria is specified entries are matched based on a...

Page 42: ...s prefix Destination port range IP fragment Protocol type TCP UDP etc Source port range Source IP address prefix DSCP value Table 8 Service Ingress QoS Policy MAC Match Criteria MAC Criteria IEEE 802 2 LLC SSAP value mask IEEE 802 2 LLC DSAP value mask IEEE 802 3 LLC SNAP OUI zero or non zero value IEEE 802 3 LLC SNAP PID value IEEE 802 1p value mask Source MAC address mask Destination MAC address...

Page 43: ...zero Value SNAP PID Value 802dot3 Yes Yes Yes No No No No 802dot2 llc Yes Yes Yes No Yes No No 802dot2 snap Yes Yes Yes No Noa a When a SNAP header is present the LLC header is always set to AA AA Yes Yes ethernet II Yes Yes Yes Yes No No No Table 11 Default Service Ingress Policy ID 1 Definition Characteristic Item Definition Queues Queue 1 1 one queue all unicast traffic Forward Class best effor...

Page 44: ...overriding the forwarding class When used in conjunction with QPPB QoS Policy Propagation Using BGP a QPPB assigned forwarding class takes precedence over both the normal ingress forwarding class classification rules and any egress forwarding class overrides Figure 2 Egress Forwarding CLass Override Figure 2 shows the ingress service 1 using forwarding classes AF and L1 that are overridden to L1 f...

Page 45: ...eue To define a basic egress QoS policy the following are required A unique service egress QoS policy ID A QoS policy scope of template or exclusive At least one defined default queue Optional service egress QoS policy elements include Additional queues up to a total of 8 separate queues unicast IEEE 802 1p priority value remarking based on forwarding class Each queue in a policy is associated wit...

Page 46: ... exist logically at the port and levels Each physical port has two pools objects associated Access ingress pool Access egress pool Network egress pool By default each pool is associated with slope policy default Access and network pools in network mode and access uplink pools in access uplink mode are created at the port level creation is dependent on the physical port mode network access Node lev...

Page 47: ...size the shared buffer size is equal to 0 zero and a queue cannot exceed its CBS When a queue depth exceeds the queue s CBS packets received on that queue must contend with other queues exceeding their CBS for shared buffers To resolve this contention the buffer pool uses two RED slopes to determine buffer availability on a packet by packet basis A packet that was either classified as high priorit...

Page 48: ...time a packet s probability is plotted on the RED slope 10 When a packet is removed from a queue if the buffers returned to the buffer pool are from the shared buffers the shared buffer utilization is reduced by the amount of buffers returned 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 Figure 3 RED Slope Chara...

Page 49: ...tion D is max avg 1 to 100 1 On this part of the slope the shared buffer average utilization value of max avg to 100 results in a packet discard probability of 1 Plotting any value of shared buffer average utilization will result in a value for packet discard probability from 0 to 1 Changing the values for start avg max avg and max prob allows the adaptation of the RED slope to the needs of the ac...

Page 50: ... new shared buffer average utilization the buffer pool takes a portion of the previous shared buffer average and adds it to the inverse portion of the instantaneous shared buffer utilization SBU The formula used to calculated the average shared buffer utilization is where SBAUn Shared buffer average utilization for event n SBAUn 1 Shared buffer average utilization for event n 1 SBU The instantaneo...

Page 51: ...pes for ingress and egress buffer pools controlled by the buffer policy 5 25 32 1 32 0 03125 31 32 0 96875 6 26 64 1 64 0 015625 63 64 0 984375 7 27 128 1 128 0 0078125 127 128 0 9921875 8 28 256 1 256 0 00390625 255 256 0 99609375 9 29 512 1 512 0 001953125 511 512 0 998046875 10 210 1024 1 1024 0 0009765625 1023 2024 0 9990234375 11 211 2048 1 2048 0 00048828125 2047 2048 0 99951171875 12 212 40...

Page 52: ... egress Each access port buffer pool can be associated with one slope policy ID on ingress and one slope policy ID on egress The slope policy IDs on ingress and egress can be set independently Slope policy ID default is reserved for the default slope policy The default policy cannot be deleted or changed The default slope policy is implicitly applied to all access buffer pools which do not have an...

Page 53: ...licy ID Slope policy ID 1 Policy ID 1 reserved for default slope policy High RED slope 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 TAF Time average factor 7 ...

Page 54: ... association Tier 1 schedulers cannot have a parental association When multiple schedulers and or queues share a child status with the scheduler on the parent the weight or strict parameters define how this scheduler contends with the other children for the parent s bandwidth The parent scheduler can be removed or changed at anytime and is immediately reflected on the schedulers actually created b...

Page 55: ... Provisioned Value Child Served By Above CIR Loop According to Provisioned Level Prioritizing Loop Weighted or Strict Legend Maximum and Committed Rate Parameters Bandwidth Dependency Association Bandwidth Allocation CIR Weight Determines Ratio of Bandwidth for Child When Multiple Children Are Mapped to Same Within CIR Loop Weight Determines Ratio of Bandwidth for Child When Multiple Children Are ...

Page 56: ...ress and egress queues operate within the context of a scheduler Multiple queues share the same scheduler Schedulers control the data transfer between the following queues and destinations Service ingress queues to switch fabric destinations Service egress queues to access egress ports Network ingress queues to switch fabric destinations Network egress queues to network egress interfaces There are...

Page 57: ...0 Mbps Silver CIR 20 Mbps PIR 40 Mbps Bronze CIR 0 Mbps PIR 100 Mbps In the router the CIR is used for policing of traffic in profile or out of profile and the PIR is the rate at which traffic is shaped out of the queue In single tier scheduling each queue can burst up to its defined PIR which means up to 150 Mbps 10 Mbps 40 Mbps 100 Mbps can enter the service In a simple example of a hierarchical...

Page 58: ...n the following order 1 Queues associated with the high priority scheduler operating within their CIR 2 Queues associated with the low priority scheduler operating within their CIR 3 All queues with traffic above CIR and within PIR will be serviced by a biased round robin Queues associated with a single scheduler are serviced in a round robin method If a queue reaches the configured PIR the schedu...

Page 59: ...SR OS Hierarchical Virtual Schedulers Virtual schedulers are created within the context of a hierarchical scheduler policy A hierarchical scheduler policy defines the hierarchy and parameters for each scheduler A scheduler is defined in the context of a tier Tier 1 Tier 2 Tier 3 The tier level determines the scheduler s position within the hierarchy Three tiers of virtual schedulers are supported ...

Page 60: ...cheduler and Queue Association Tier 3 Tier 2 Tier 1 Weighted Rate Limiting Scheduler Queue 8 C1 B1 A1 C2 C3 7 6 5 4 3 Queue Queue Queue Queue Queue Weighted Rate Limiting Scheduler Weighted Rate Limiting Scheduler Weighted Rate Limiting Scheduler Weighted Rate Limiting Scheduler ...

Page 61: ... on that SAP can use the schedulers created by the policy association When the object is a multi service customer site the schedulers are available to any SAPs associated with the site also see Scheduler Policies Applied to SAPs on page 62 Figure 6 Scheduler Policy on SAP and Scheduler Hierarchy Creation Service Queue Service Queue Scheduler Policy Ingress or Egress Hierarchical Schedulers Created...

Page 62: ... creates the required scheduler the status on the queue will become non orphaned Queues are associated with the configured schedulers by specifying the parent scheduler defined within the queue definition from the SAP egress policy The scheduler is used to provide bandwidth to the queue relative to the operating constraints imposed by the scheduler hierarchy Weighted Rate Limiting Scheduler Servic...

Page 63: ...of the customer ID and that the SAP was created on the correct slot The specified slot or port must already be pre provisioned configured on the system When scheduler policies are defined for ingress and egress the scheduler names contained in each policy are created according to the parameters defined in the policy Multi service customer sites are configured only to create a virtual scheduler hie...

Page 64: ...ath to a destination egress point Routers support eight 8 forwarding classes Table 17 Note that Table 17 presents the default definitions for the forwarding classes The forwarding class behavior in terms of ingress marking interpretation and egress marking can be changed by a Network QoS Policies on page 25 All forwarding class queues support the concept of in profile and out of profile Table 17 F...

Page 65: ...andwidth If the core network has sufficient bandwidth it is possible to effectively support the delay and jitter characteristics of high priority traffic without utilizing traffic engineered paths as long as the core treats high priority traffic with the proper PHB Assured Classes The assured forwarding classes are Assured af and Low 1 l1 Assured forwarding classes provide services with a committe...

Page 66: ...rvice Guide Best Effort Classes The best effort classes are Low 2 l2 and Best Effort be The best effort forwarding classes have no delivery guarantees All packets within this class are treated at best like out of profile assured service packets ...

Page 67: ...tion and at least one queue The queue is associated with a forwarding class QoS policies can be applied to the following service types Epipe Both ingress and egress policies are supported on an Epipe service access point SAP VPLS Both ingress and egress policies are supported on a VPLS SAP IES Both ingress and egress policies are supported on an IES SAP QoS policies can be applied to the following...

Page 68: ...ailable bandwidth is distributed to the child queues and schedulers using a within CIR distribution phase and an above CIR distribution phase Distribution in each phase is based on a combination of the strict priority of each child and the relative weight of the child at that priority level Separate priority and weight controls are supported per child for each phase CBS The Committed Burst Size CB...

Page 69: ...meter is ignored A CIR weight of zero forces the child to receive bandwidth only after all other children at that level have received their within CIR bandwidth When several children share a CIR weight of zero all are treated equally Child Child is a logical state of a queue or scheduler that has been configured with a valid parent scheduler association The child parent association is used to buil...

Page 70: ...sociations for queues are only checked once when an instance of the queue is created on a SAP Queue A queue is where packets that will be forwarded are buffered before scheduling Packets are not actually forwarded through the schedulers they are forwarded from the queues directly to ingress or egress interfaces The association between the queue and the virtual schedulers is intended to accomplish ...

Page 71: ...t parent to distribute to its child members Weight The weight parameter defines the weight within the above CIR level given to a child queue or scheduler When several children share the same level on a parent scheduler the ratio of bandwidth give to an individual child is dependent on the ratio of the weights of the active children A child is considered active when a portion of the offered load is...

Page 72: ...e created for service ingress service egress network network queue slope policies Scheduler policies must be explicitly created and applied to a port Associating a service or access ports with a QoS policy other than the default policy is optional A network queue service egress and service ingress QoS policy must consist of at least one queue Queues define the forwarding class CIR and PIR associat...

Page 73: ...s Section This section provides information to configure network QoS policies using the command line interface Topics in this section include Overview on page 74 Basic Configurations on page 77 Default Network Policy Values on page 78 Service Management Tasks on page 79 ...

Page 74: ... classes which and the packet marking criteria New non default network policy parameters can be modified The no form of the command reverts the object to the default values Changes made to a policy are applied immediately to all where the policy is applied For this reason when a policy requires several changes it is recommended that you copy the policy to a work area policy id The work in progress...

Page 75: ...fic are Routing protocols OSPF BGP etc Forwarding class Network Control NC DSCP value NC1 not applicable for ARP IS IS and PPPoE 802 1p value 7 Management protocols SSH SNMP etc Forwarding class Assured Forwarding AF DSCP value AF41 NOTE The ICMP entry under sgt qos is not referenced for ICMP ECHO_REQUEST 8 and ECHO_RESPONSE 0 packet types ...

Page 76: ...e 0b101110 ef af11 10 0x0a 0b001010 assured af12 12 0x0c 0b001100 assured af13 14 0x0e 0b001110 assured af21 18 0x12 0b010010 l1 af22 20 0x14 0b010100 l1 af23 22 0x16 0b010110 l1 af31 26 0x1a 0b011010 l1 af32 28 0x1c 0b011100 l1 af33 30 0x1d 0b011110 l1 af41 34 0x22 0b100010 h2 af42 36 0x24 0b100100 h2 af43 38 0x26 0b100110 h2 default 0 The default forwarding class mapping is used for all DSCP nam...

Page 77: ...ng class name represents an egress queue Specify forwarding class criteria to define the egress characteristics of the queue and the marking criteria of packets flowing through it LSP EXP The value is used for all packets requiring marking that egress on this forwarding class queue that are in or out of profile Ingress criteria Default action Defines the default action to be taken for packets that...

Page 78: ...identified as policy id Default policies cannot be modified or deleted The following displays default network policy parameters Table 18 Network Policy Defaults Field Default description Default network QoS policy scope template ingress default action fc be profile out egress remarking fc af fc be fc ef fc h1 fc h2 fc l1 fc l2 fc nc ...

Page 79: ... Management Tasks Deleting QoS Policies You can replace the default policy with a non default policy but you cannot remove default policies from the configuration When you remove a non default policy the policy association reverts to the appropriate default network policy ...

Page 80: ...ion must be specified or an error occurs if the destination policy ID exists CLI Syntax config qos copy network source policy id dest policy id overwrite The following output displays the copied policies A ALA 12 config qos info detail network 1 create description Default network QoS policy scope template ingress default action fc be profile out network 600 create description Default network QoS p...

Page 81: ...isting policies except the default policies and entries in the CLI The changes are applied immediately to all 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 82: ...Editing QoS Policies Page 82 7950 XRS Quality of Service Guide ...

Page 83: ...ection This section provides information to configure network queue QoS policies using the command line interface Topics in this section include Overview on page 84 Basic Configurations on page 85 Default Network Queue Policy Values on page 89 Service Management Tasks on page 93 ...

Page 84: ... queue policy The default policies can be copied but they cannot be deleted or modified The default policy is identified as network queue default Default network queue policies are applied to MDA network ingress ports You must explicitly create and then associate other network queue QoS policies ...

Page 85: ... Enter a network queue policy name The system will not dynamically assign a name Include a description The description provides a brief overview of policy features Use the following CLI syntax to create a network queue QoS policy Network Queue FC CLI Syntax config qos network queue policy name description description string queue queue id rate A ALA 1 config qos network queue default A ALA 1 confi...

Page 86: ... create rate 100 cir 10 mbs 25 cbs 3 high prio only 10 exit queue 9 multipoint create mbs 50 cbs 1 high prio only 10 exit queue 10 multipoint create rate 100 cir 5 mbs 50 cbs 1 high prio only 10 exit queue 11 multipoint create rate 100 cir 5 mbs 50 cbs 1 high prio only 10 exit queue 12 multipoint create rate 100 cir 5 mbs 25 cbs 1 high prio only 10 exit queue 13 multipoint create rate 100 cir 100 ...

Page 87: ...100 cir 10 mbs 25 cbs 1 high prio only 10 exit fc af create multicast queue 11 queue 3 exit fc be create multicast queue 9 queue 1 exit fc ef create multicast queue 14 queue 6 exit fc h1 create multicast queue 15 queue 7 exit fc h2 create multicast queue 13 queue 5 exit fc l1 create multicast queue 12 queue 4 exit fc l2 create multicast queue 10 queue 2 exit fc nc create multicast queue 16 queue 8...

Page 88: ...ality of Service Guide 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 ...

Page 89: ...uality of Service Guide Page 89 Default Network Queue Policy Values The default network queue policies are identified as policy id default The default policies cannot be modified or deleted The following displays default policy parameters ...

Page 90: ...Applying Network Queue Policies Page 90 7950 XRS Quality of Service Guide ...

Page 91: ...ices Spoke SDPs in VPLS and Xpipe services Spoke SDP under an IP interface in an IES or VPRN service Spoke SDPs in a VPRN service Automatically created bindings using the auto bind tunnel command in a VPRN service IPv6 over IPv4 tunnels VXLAN bindings egress VTEP VNI The only exception is for traffic received on a Draft Rosen tunnel for which classification on the outer IP header only is supported...

Page 92: ...twork IP interface in the following cases Mesh SDPs in VPLS services Spoke SDPs in VPLS and Xpipe services Spoke SDP under an IP interface in an IES or VPRN service Spoke SDPs in a VPRN service Automatically created bindings using the auto bind tunnel command in a VPRN service IPv6 over IPv4 tunnels VXLAN bindings egress VTEP VNI Attempting to apply a network QoS policy containing an ipv6 criteria...

Page 93: ...ting QoS Policies A network queue policy is associated by default with network ingress ports You can replace the default policy with a customer configured policy but you cannot entirely remove a QoS policy 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 conf...

Page 94: ...licies You can copy an existing network queue policy rename it with a new policy ID name or overwrite an existing network queue policy The overwrite option must be specified or an error occurs if the destination policy ID exists CLI Syntax config qos copy network queue source policy id dest policy id overwrite ...

Page 95: ...ting policies except the default policies and entries in the CLI The changes are applied immediately to all interfaces 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 96: ...Editing QoS Policies Page 96 7950 XRS Quality of Service Guide ...

Page 97: ...on Commands config qos network queue policy name description description string no description queue queue id create adaptation rule no adaptation rule avg frame overheadavg frame overheadcbscbshigh prio onlyhigh prio onlymbsmbsport parentport parentrate no rate Operational Commands config qos copy network queue src name dst name overwrite Show Commands show qos network queue network queue policy ...

Page 98: ...Command Hierarchies Page 98 7950 XRS Quality of Service Guide ...

Page 99: ...iguration context The description command associates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 ...

Page 100: ...ers network queue Indicates that the source policy ID and the destination policy ID are network queue policy IDs Specify the source policy ID that the copy command will attempt to copy from and specify the destination policy ID to which the command will copy a duplicate of the policy overwrite specifies to replace the existing destination policy Everything in the existing destination policy will b...

Page 101: ...igure a network queue policy Network queue policies on the Ethernet port define network egress queuing Default default Parameters 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 If the string contains special characters spaces etc the entire string must be enclosed within double quotes ...

Page 102: ...ividually the system attempts to find the best operational rate depending on the defined constraint The no form of the command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy When a specific adaptation rule is removed the default constraints for pir and cir apply Default adaptation rule closest closest Parameters adapta...

Page 103: ... Information Rate PIR and the administrative Committed Information Rate CIR parameters for the queue Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate The actual rate sustained by the queue can be limited by oversubscription factors or available egress bandwidth The CIR defines the percentage at which the system prioritizes the queue over other queues c...

Page 104: ...ters If the string contains special characters spaces etc the entire string must be enclosed within double quotes detail Includes each queue s rates and adaptation rule and cbs details It also shows FC to queue mapping details Table 19 Network Queue Labels and Descriptions Label Description Policy The policy name that uniquely identifies the policy Description A text string that helps identify the...

Page 105: ...in profile dscp name no dscp in profile dscp out profile dscp name no dscp out profile lsp exp in profile lsp exp value no lsp exp in profile lsp exp out profile lsp exp value no lsp exp out profile ingress default action fc fc name profile in out no dot1p dot1p priority dscp dscp name fc fc name profile in out no dscp dscp name no fc fc name fp redirect group broadcast policer policer id no fp re...

Page 106: ...ask ip prefix list prefix list name no src ip src port lt gt eq src port number no src port start end renum old entry id new entry id no ipv6 criteria The profile reclassification action is mandatory Packets matching the IP flow reclassification entry will be explicitly reclassified to either in profile or out of profile entry entry id create no The profile reclassification action is mandatory Pac...

Page 107: ...S Quality of Service Guide Page 107 no src port start end renum old entry id new entry id Operational Commands config qos copy network src pol dst pol overwrite Show Commands show qos network policy id detail ...

Page 108: ...Command Hierarchies Page 108 7950 XRS Quality of Service Guide ...

Page 109: ...sociates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 characters long composed of printable 7 bit ...

Page 110: ...rwritten with the contents of the source policy If overwrite is not specified an error will occur if the destination policy ID exists SR config qos copy network 1 427 MINOR CLI Destination 427 exists use overwrite SR config qos copy network 1 427 overwrite scope Syntax scope exclusive template no scope Context config qos network policy id Description This command configures the network policy scop...

Page 111: ...e of a policy is defined as template the policy can be applied to multiple interfaces on the router 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 ...

Page 112: ...the remarking parameter is defined for the egress interface the egress QoS policy also defines the IP DSCP or MPLS EXP bit marking based on the forwarding class and the profile state Network policy id 1 exists as the default policy that is applied to all network interfaces by default The network policy id 1 cannot be modified or deleted It defines the default DSCP to FC mapping and MPLS EXP to FC ...

Page 113: ...id 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 The no form of this command deletes the network policy A policy cannot be deleted until it is removed from all entities where it is applied The default network policy policy id 1 cannot be deleted Default System Default Netw...

Page 114: ...t Context config qos network ingress Description This command defines or edits the default action to be taken for packets that have an undefined bits set The default action command specifies the forwarding class to which such packets are assigned Multiple default action commands will overwrite each previous default action command Default default action fc be profile out Parameters fc fc name Speci...

Page 115: ...face will result in an error The no form of this command deletes all the entries specified under this node Once IP criteria entries are removed from a network ingress policy the IP criteria is removed from all network interfaces where that policy is applied This command is supported on FP2 and higher based hardware and is otherwise ignored ipv6 criteria Syntax no ip criteria Context config qos net...

Page 116: ...he action command must be executed for the match criteria to be added to the active list of entries Each time action is executed on a specific entry ID the previous entered values for fc fc name and profile are overridden with the newly defined parameters The no form of the command removes the entry from the active entry list Removing an entry on a policy immediately removes the entry from all net...

Page 117: ...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 The no form of this command removes the specified entry from the policy Entries removed from the policy are immediately removed from all services where that policy is applied Default none...

Page 118: ...is possible that a network QoS policy includes the dscp map command the dot1p map command and an IP match criteria When multiple matches occur for the traffic the order of precedence is used to arrive at the final action The order of precedence is as follows 1 802 1p bits 2 DSCP 3 IP Quintuple The no form of this command removes the match criteria for the entry id Parameters protocol protocol idSp...

Page 119: ... multiple matches occur for the traffic the order of precedence is used to arrive at the final action The order of precedence is as follows 1 802 1p bits 2 DSCP 3 IP Quintuple The no form of this command removes the match criteria for the entry id Parameters next header next header Specifies the next meader to match The protocol type such as TCP UDP OSPF is identified by its respective protocol nu...

Page 120: ...dress netmask dst ip ipv6 address prefix length ipv6 address ipv6 address mask no dst ip Context config qos network ingress ip criteria entry match config qos network ingress ipv6 criteria entry match Description This command configures a destination address range to be used as a network ingress QoS policy match criterion To match on the destination address specify the address and its associated m...

Page 121: ... The range of TCP or UDP port values to match specified as between the start and end destination port values inclusive Values 1 65535 decimal fragment Syntax fragment true false no fragment Context config qos ingress ip criteria entry match Description This command configures fragmented or non fragmented IP packets as a network ingress QoS policy match criterion The no form of this command removes...

Page 122: ...fragment of the fragmented IPv6 packet non first only Matches if a packet is a non initial fragment of the fragmented IPv6 packet src ip Syntax src ip ip address mask ip address ipv4 address mask ip prefix list prefix list name src ip ipv6 address prefix length ipv6 address ipv6 address mask no src ip Context config qos network ingress ip criteria entry match config qos network ingress ipv6 criter...

Page 123: ...t Syntax src port lt gt eq src port number src port range start end Context config qos network ingress ip criteria entry match config qos network ingress ipv6 criteria entry match Description This command configures a source TCP or UDP port number or port range for a network ingress QoS policy match criterion The no form of this command removes the source port match criterion Default No src port m...

Page 124: ...o version of this command removes the redirection of the FC Parameters policer policer id The specified policer id must exist within the queue group template applied to the ingress context of the forwarding plane Values 1 32 fp redirect group Syntax fp redirect group unknown policer policer id no fp redirect group unknown policer Context config qos network ingress fc Description This command is us...

Page 125: ...applied to the ingress context of a spoke sdp or a network IP interface The no version of this command removes the redirection of the FC Parameters policer policer id The specified policer id must exist within the queue group template applied to the ingress context of the forwarding plane Values 1 8 Network Egress QoS Policy Commands egress Syntax egress Context config qos network policy id Descri...

Page 126: ...ides the default parameters for that forwarding class to the values defined in the network default policy The no form of this command removes the forwarding class associated with this as appropriate The forwarding class reverts to the defined parameters in the default network policy If the fc name is removed from the network policy that forwarding class reverts to the factory defaults Default Unde...

Page 127: ...ption dscp Syntax dscp dscp name fc fc name no dscp dscp name Context config router sgt qos Description This command creates a mapping between the DiffServ Code Point DSCP of the self generated traffic and the forwarding class Self generated traffic that matches the specified DSCP will be assigned to the corresponding forwarding class Multiple commands can be entered to define the association of s...

Page 128: ... af41 af42 af43 cp11 cp13 cp15 cp17 cp19 cp21 cp23 cp25 cp27 cp29 cp31 cp33 cp35 cp37 cp39 cp41 cp42 cp43 cp44 cp45 cp47 cp49 cp50 cp51 cp52 cp53 cp54 cp55 cp57 cp58 cp59 cp60 cp61 cp62 cp63 fc fc name Specify the forwarding class name All packets with DSCP value or MPLS EXP bits that is not defined will be placed in this forwarding class Default None the fc name must be specified Values be l2 af ...

Page 129: ... QoS Network Output Fields Label Description Policy Id The ID that uniquely identifies the policy Remark True Remarking is enabled for all packets that egress this router where the network policy is applied The remarking is based on the forwarding class to bit mapping defined under the egress node of the network QoS policy Description A text string that helps identify the policy s context in the c...

Page 130: ...h to be used by this flow Frame based Specifies that the meters associated with this policy account for the packet framing overheads such as for Ethernet the IFG and preamble while accounting the band width to be used by the flow Bit Mapping Out of Profile Displays the value used for out of profile traffic In Profile Displays the value used for in profile traffic Port Id Specifies the physical por...

Page 131: ...ingress and egress QoS policies using the command line interface Topics in this section include Overview on page 132 Egress SAP Forwarding Class and Forwarding Profile Overrides on page 133 DEI Egress Remarking on page 134 Default Service Egress and Egress Policy Values on page 141 Basic Configurations on page 144 Service Management Tasks on page 159 ...

Page 132: ...fied 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 For example the default SAP ingress policy is applied to access ingress SAPs The default SAP egress policy is applied to access egress SAPs You must explicitly associate other QoS policies For information about the tasks and commands necessary ...

Page 133: ...can be defined each with an explicit forwarding class or profile override parameters The reclassification logic for each entry follows the same basic hierarchical behavior as the classification rules within the SAP ingress QoS policy IP precedence and DSCP have the lowest match priority while the IP criteria quintuple entries have the highest When an optional parameter such as profile for IP prece...

Page 134: ...rities that could be indicated using the 3 802 1p bits Now all the previously introduced traffic types will be marked as drop eligible Customers can continue to use the dot1p markings with the enhancement of changing the dot1p value used in access based on the in out profile information The following commands can be used to remark the DE values at a SAP egress CLI Syntax sap egress policy id creat...

Page 135: ...for the packets that are within the CIR limits and must be given priority in case of congestion If the DEI is not used or backwards compliance is required the DE bit should be set to zero on transmission and ignored on reception When the DE bit is set to 1 DE TRUE the related packet is discard eligible This is the case for the packets that are sent above the CIR limit but below the PIR In case of ...

Page 136: ...example for packets ingressing the SAP connected to 802 1ad access read the DE indication and perform classification color aware metering policing marking of the related backbone QoS fields and selective discarding of the frames throughout the queueing system based on their discard eligibility In addition packets egressing the SAP towards the 802 1ad access provide proper DE indication by marking ...

Page 137: ...ion for a dedicated DE field If both are included then the QoS information from the BVID is to be used Egress FC Based Remarking FC based forwarding can be used in a network using core markings of dot1p and may not support DE in all devices The expectation is that devices beyond the network edge will continue to adhere to the end to end QoS policies using dot1p in the packet Dot1p marking is perfo...

Page 138: ...ceived at ingress The configuration of qinq mark top only under the SAP egress takes precedence over the use of the dot1p inner in the policy i e the inner VLAN tag is not remarked when qinq mark top only is configured the marking used for the inner VLAN tag is based on the current default which is governed by the marking of the packet received at the ingress to the system If qinq mark top only is...

Page 139: ...cessing Ingress into the PE1 SAP The following steps related to DEI are involved in the QoS processing as the packet moves from left to right Table 21 Classification to and Re Marking from PHB To From Classify Ingress Based on PHB Mark Egress To Customer Access Network SAP dot1p DE FC in out dot1p DE DSCP FC in out DSCP ToS FC in out ToS IP criteria FC in out IP criteria MAC criteria FC in out MAC...

Page 140: ... the packet leaves PE1 via SDP the DE indication must be copied onto the appropriate tunnel QoS fields outer VLAN ID and or EXP bits using the internal PHB per hop behavior of the packet for example the FC and Profile 3 As the packet arrives at PE2 ingress into the related SDP the DE indication is used to classify the packets into an internal PHB 4 Egress from the PE2 SAP the internal PHB may be u...

Page 141: ...ess Policy on page 142 SAP Egress Policy A ALA 7 config qos sap egress info detail no description scope template queue 1 auto expedite create no parent adaptation rule pir closest cir closest rate max cir 0 cbs default mbs default high prio only default exit A ALA 7 config qos sap egress Table 22 SAP Egress Policy Defaults Field Default description Default SAP egress QoS policy scope template queu...

Page 142: ...ate no parent adaptation rule pir closest cir closest rate max cir 0 mbs default cbs default high prio only default exit default fc be default priority low A ALA 7 config qos sap ingress Table 23 SAP Ingress Policy Defaults Field Default description Default SAP ingress QoS policy scope template queue 1 1 priority mode auto expedite parent no parent adaptation rule adaptation rule pir closest cir c...

Page 143: ...ss and Ingress QoS Policies 7950 XRS Quality of Service Guide Page 143 cbs default mbs default high prio only default default fc be default priority low Table 23 SAP Ingress Policy Defaults Continued Field Default ...

Page 144: ... 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 queue Have at least one multipoint forwarding class queue Create Service Egress and Ingress QoS Policies Configuring and applying QoS policies is optional If no QoS policy is explicitly applied to a SAP or IP interface...

Page 145: ...efined Specify the forwarding class The forwarding class name or names associated with the egress queue The egress queue for the service traffic is selected based on the forwarding classes that are associated with the queue A new queue ID value The system will not dynamically assign a value Define queue parameters Queues support explicit and auto expedite hardware queue scheduling and parent virtu...

Page 146: ...e parameters Egress queues support explicit and auto expedite hardware queue scheduling and parent virtual scheduler definition The following displays an egress QoS policy configuration A ALA 7 config qos info sap egress 105 create description SAP egress policy queue 1 create parent scheduler tier1 exit queue 2 create exit queue 3 expedite create parent test1 exit fc af create queue 1 exit fc ef c...

Page 147: ...licy The queue to which the forwarding class for the traffic is mapped This could be a queue group SAP or subscriber queue This requires the use of the use fc mapped queue parameter in the criteria action statement If the forwarding class is modified in the action statement then new forwarding class selects the queue to be used The number of configuration combinations of a policer and one of the a...

Page 148: ...s SAP The configuration would be as follows sap egress 10 create queue 1 create exit policer 1 create exit ip criteria entry 10 create match dscp ef exit action policer 1 exit exit exit l 0617 DSCP EF Traffic Other Traffic FC BE Policer 1 queue 1 policer output queues queue group ...

Page 149: ...efault multicast forwarding type queues mapping for fc fc name Modify the unknown default value to override the default unknown unicast forwarding type queues mapping for fc fc name Modify the broadcast queue default value to override the default broadcast forwarding type queues mapping for fc fc name Configure precedence value for the forwarding class or enqueuing priority when a packet is marked...

Page 150: ...ALA 7 config qos info echo QoS Policy Configuration sap ingress 100 create description Used on VPN sap queue 1 create exit queue 2 multipoint create exit queue 10 create parent VPN_be rate 11000 exit queue 12 create parent VPN_priority rate 11000 exit queue 13 create parent VPN_reserved rate 1 exit queue 15 create parent VPN_video rate 1500 cir 1500 exit queue 16 create parent VPN_voice rate 2500 ...

Page 151: ...y of Service Guide Page 151 rate 1 exit queue 25 multipoint create parent VPN_video rate 1500 cir 1500 exit queue 26 multipoint create parent VPN_voice rate 2500 cir 2500 exit queue 27 multipoint create parent VPN_nc rate 100 cir 36 exit A ALA 7 config qos ...

Page 152: ...eue 10 broadcast queue 20 multicast queue 20 unknown queue 20 exit fc ef create queue 13 broadcast queue 23 multicast queue 23 unknown queue 23 exit fc h1 create queue 15 broadcast queue 25 multicast queue 25 unknown queue 25 exit fc h2 create queue 16 broadcast queue 26 multicast queue 26 unknown queue 26 exit fc nc create queue 17 broadcast queue 27 multicast queue 27 unknown queue 27 exit prec ...

Page 153: ...in the SAP ingress QoS policy The following displays an ingress IP criteria configuration A ALA 7 config qos info echo QoS Policy Configuration sap ingress 100 create ip criteria entry 10 create description Entry 10 FC AF match protocol 6 src ip 10 10 10 103 24 exit action fc af priority high exit entry 20 create description Entry 20 FC BE match protocol 17 dst port eq 255 exit no action exit exit...

Page 154: ...e forwarding class or enqueuing priority with a specific MAC criteria entry ID A description The description provides a brief overview of policy features Match criteria for ingress SAP QoS policy Optionally specify an IP protocol to be used as an ingress SAP QoS policy match criterion The following displays an ingress MAC criteria configuration A ALA 7 config qos info echo QoS Policy Configuration...

Page 155: ...processing takes precedence over this feature This could be used for example when it is required that ingress OAM traffic is not subject to the same QOS control as other customer traffic on a given SAP The OAM traffic could be classified based on its source MAC address for example with an OUI of 00 xx yy as configured below and directed to policer 1 while the remainder of the customer s traffic is...

Page 156: ...Basic Configurations Page 156 7950 XRS Quality of Service Guide exit exit ...

Page 157: ...auses the forwarding class and drop priority of incoming traffic to be determined by the mapping result of the EXP bits in the top label The following example displays FC mapping based on EXP bits A Dut T config qos sap ingress info queue 1 create exit queue 2 create exit queue 3 create exit queue 11 multipoint create exit fc af create queue 2 exit fc be create queue 1 exit fc ef create queue 3 ex...

Page 158: ...efer to the Services Guide for information about configuring service parameters IES The following output displays an IES service configuration with SAP ingress policy 100 and SAP egress 105 applied to the SAP A ALA 7 config service info ies 88 customer 8 vpn 88 create interface Sector A create sap 1 1 1 2 2 create ingress qos 100 exit egress qos 105 exit exit exit no shutdown exit ...

Page 159: ...u can replace the default policy with a customer configured policy but you cannot entirely remove the policy from the SAP configuration When you remove a non default service egress or ingress policy the association reverts to the default policy id 1 A QoS policy cannot be deleted until it is removed from all SAPs where they are applied A ALA 7 config qos no sap ingress 100 MINOR CLI SAP ingress po...

Page 160: ...ress source policy id dest policy id overwrite The following output displays the copied policies A ALA 7 config qos info exit sap ingress 100 create description Used on VPN sap queue 1 create exit queue 2 multipoint create exit queue 10 create parent VPN_be rate 11000 exit sap ingress 101 create description Used on VPN sap queue 1 create exit queue 2 multipoint create exit queue 10 create parent V...

Page 161: ... whereas queue depth monitoring shows the variation in queue depth over a period of time It is applicable to SAP ingress unicast and multipoint queues and SAP egress queues and for ingress and egress access and network queue group queues used by any service or network interfaces The monitoring uses a polling mechanism by the line card CPU Consequently the results provided are statistical in nature...

Page 162: ...al For example in the above output the queue depth was in the range of 51 to 60 for 3 22 percent of the polls the polling was performed over an elapsed time of 11 minutes and 48 seconds and the average polling interval was 99ms The monitoring is performed on the hardware queues corresponding to the configured queue It is possible that the set of related hardware queues for a given configured queue...

Page 163: ...to the monitoring is bounded consequently average polling interval will increase as more queues are monitored on the line card If the MBS of a queue is modified the occupancy information is cleared and the elapsed timers reset to zero Issuing a clear card will also clear this information Note that packet drops caused at the pool level rather than at the queue level would result in lower queue dept...

Page 164: ...Queue Depth Monitoring Page 164 7950 XRS Quality of Service Guide ...

Page 165: ...rity low high no dot1p dot1p priority dscp dscp name fc fc name priority low high no dscp dscp name FC Commands no fc fc name policer policer id fp redirect group no policer broadcast policer policer id fp redirect group no broadcast policer broadcast queue queue id group queue group name no broadcast queue no de 1 out profile egress fc fc name no egress fc in remark dscp dscp name in remark prec ...

Page 166: ...priority low high hsmda counter override counter id no lsp exp lsp exp value no mac criteria no entry entry id action fc fc name priority low high policer policer id no action description description string no description match frame type 802dot3 802dot2 llc 802dot2 snap ether net II no match dot1p dot1p value dot1p mask no dot1p dsap dsap value dsap mask no dsap dst mac ieee address ieee address ...

Page 167: ... no cir offered limited profile cir offered profile cir offered priority cir offered total cir offered profile capped cir offered limited capped cir no stat mode adv config policy policy name no adv config policy burst limit no burst limit cbs size in kbytes no cbs high prio only percent no high prio only mbs size bytes kilobytes no mbs packet byte offset add bytes subtract bytes no packet byte of...

Page 168: ... in profile dot1p value out profile dot1p value dscp dscp name in profile dscp name out profile dscp name no dscp hsmda queue 1 8 no queue policer policer id port redirect group queue queue queue id group queue group name instance instance id queue group queue id no policer prec ip prec value hsma counter override counter id fc fc name profile in out no prec ip prec value queue queue id group queu...

Page 169: ...nt src ip ip address mask ip address ipv4 address mask no src ip src port lt gt eq src port number src port range start end no src portport renum old entry id new entry id no ipv6 criteria entry entry id create no entry entry id action hsmda counter override counter id fc fc name profile in out policer policer id port redirect group queue queue queue id queue queue id use fc mapped queue no action...

Page 170: ...capped no profile out preserve rate max kilobits per second cir max kilobits per second no rate stat mode no stats minimal offered profile no cir offered profile cir offered total cir no stat mode policy name policy name no policy name prec ip prec value hsmda counter override counter id fc fc name profile in out no prec ip prec value queue queue id multipoint queue type queue mode pool pool name ...

Page 171: ...ific packet byte offset add add bytes packet byte offset subtract sub bytes no packet byte offset wred queue policy slope policy name no wred queue scope exclusive template no scope config qos match list ip prefix list ip prefix list name create no ip prefix list ip prefix list name description string no description prefix ip prefix prefix length no prefix ip prefix prefix length ...

Page 172: ...hies Page 172 7950 XRS Quality of Service Guide Operational Commands config qos copy sap egress src pol dst pol overwrite copy sap ingress src pol dst pol overwrite Show Commands show qos sap ingress policy id detail ...

Page 173: ...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 Parameters description string A text string describing the entity Allowed values are any string up to 80 characters long com...

Page 174: ... that the copy command will attempt to copy from and specify the destination policy ID to which the command will copy a duplicate of the policy Values 1 65535 overwrite Specifies to replace the existing destination policy Everything in the existing destination policy will be overwritten with the contents of the source policy If overwrite is not specified an error will occur if the destination poli...

Page 175: ...5 correctly from most to least explicit Parameters old entry number Enter the entry number of an existing entry Default none Values 1 65535 new entry number Enter the new entry number to be assigned to the old entry Default none Values 1 65535 ...

Page 176: ...riteria The IP and MAC criteria are mutually exclusive and cannot be part of the same SAP ingress policy It is possible that a SAP ingress policy will include the dscp map command the dot1p map command and an IP or MAC match criteria When multiple matches occur for the traffic the order of precedence will be used to arrive at the final action The order of precedence is as follows 1 802 1p bits 2 D...

Page 177: ...after which a policy name can be assigned and used as an alias to reference the policy during configuration changes Saved configurations and display output from the info and most show commands will show the policy id not the policy name where the policies are referenced Default no policy name Parameters policy name Policy names may not begin with a number 0 9 or the underscore _ character e g _myP...

Page 178: ...ssification rule all packets received on an ingress SAP using this ingress QoS policy will be classified to the default forwarding class Optionally the default ingress enqueuing priority for the traffic can be overridden as well The default forwarding class is best effort be The default fc settings are displayed in the show configuration and save output regardless of inclusion of the detail keywor...

Page 179: ...efined sub class in a classification command will result in an execution error and the command will fail The no form of the command removes all the explicit queue mappings for fc name forwarding types The queue mappings revert to the default queues for fc name To successfully remove a sub class all associations with the sub class in the classification commands within the policy must first be remov...

Page 180: ...rding class is not specified in the rule a matching packet preserves or inherits the existing forwarding class derived from earlier matches in the classification hierarchy When the enqueuing priority is not specified in the rule a matching packet preserves or inherits the existing enqueuing priority derived from earlier matches in the classification hierarchy The dot1p priority is derived from the...

Page 181: ...hen the list is stored in the configuration the dscp names are sorted by their DSCP value in ascending numerical order consequently the order in the configuration may not be exactly what the user entered Adding a DSCP rule on the policy forces packets that match the DSCP value specified to override the forwarding class and enqueuing priority based on the parameters included in the DSCP rule When t...

Page 182: ... the previous forwarding class and enqueuing priority is completely overridden by the new parameters or defined to be inherited when a forwarding class or enqueuing priority parameter is missing A maximum of 64 DSCP rules are allowed on a single policy and a maximum of 8 dscp names can be specified in a single statement The specified name must exist as a dscp name SR OS software provides names for...

Page 183: ...g classes in the system Specifying the fc name is optional When a packet matches the rule the forwarding class is only overridden when the fc fc name parameter is defined on the rule If the packet matches and the forwarding class is not explicitly defined in the rule the forwarding class is inherited based on previous rule matches The sub class name parameter is optional and used with the fc name ...

Page 184: ...egress Description This command defines IP Differentiated Services Code Point DSCP names that must be matched to perform the associated reclassification actions The specified name must exist as a dscp name SR OS software provides names for the well known code points A list of up to 8 dscp names can be entered on a single command The lists of dscp names within the configuration are managed by the s...

Page 185: ...gress SAP is created on an HSMDA the egress classification rule will override the default queue accounting function for the packet By default the HSMDA uses each queues default queue counters for packets mapped to the queue The hsmda counter override keyword is used to map the packet to an explicit exception counter One of eight counters may be used When the packet is mapped to an exception counte...

Page 186: ...00 1C cs1 8 0010 0000 20 cp9 9 0010 0100 24 af11 10 0010 1000 28 cp11 11 0010 1100 2C af12 12 0011 0000 30 cp13 13 0011 0100 34 af13 14 0011 1000 38 cp15 15 0011 1100 3C cs2 16 0100 0000 40 cp17 17 0100 0100 44 af21 18 0100 1000 48 cp19 19 0100 1100 4C af22 20 0101 0000 50 cp21 21 0101 0100 54 af23 22 0101 1000 58 cp23 23 0101 1100 5C cs3 24 0110 0000 60 cp25 25 0110 0100 64 af31 26 0110 1000 68 c...

Page 187: ...is optional When specified packets matching the IP DSCP value corresponding to a specified dscp name will be explicitly reclassified to either in profile or out of profile regardless of the ingress profiling decision The explicit profile reclassification may be overwritten by an ip criteria reclassification match To remove the profile reclassification action for the specified dscp name the dscp co...

Page 188: ...ute the actions in accordance with the accompanying action command For this reason entries must be sequenced correctly from most to least explicit The no form of this command deletes all the entries specified under this node Once IP criteria entries are removed from a SAP ingress policy the IP criteria is removed from all services where that policy is applied ip criteria Syntax no ip criteria Cont...

Page 189: ...he policy forces packets that match the MPLS LSP EXP specified to override the forwarding class and enqueuing priority based on the parameters included in the lsp exp rule When the forwarding class is not specified in the rule a matching packet preserves or inherits the existing forwarding class derived from earlier matches in the classification hierarchy When the enqueuing priority is not specifi...

Page 190: ...priority is not explicitly defined in the rule the enqueuing priority is inherited based on previous rule matches high The high parameter is used in conjunction with the priority parameter Setting the enqueuing parameter to high for a packet increases the likelihood of enqueuing the packet when the ingress queue is congested Ingress enqueuing priority only affects ingress SAP queuing once the pack...

Page 191: ... policy unless any forwarding classes that are mapped to the policer are first moved to other policers or queues The system will allow a policer to be created on a SAP QoS policy regardless of the ability to support policers on objects where the policy is currently applied The system only scans the current objects for policer support and sufficient resources to create the policer when a forwarding...

Page 192: ...policer control policies or other objects If the command is executed without the description sting present any existing description string will be unaffected Default None adv config policy Syntax no adv config policy policy name Context config qos sap ingress policer config qos sap egress policer Description This command specifies the advanced QoS policy The advanced QoS policy contains only queue...

Page 193: ...hardware also needs to adapt the given mbs and cbs values into the PIR bucket violate threshold discard and the CIR bucket exceed threshold out of profile The hardware may not have an exact threshold match which it can use In R8 0 the system treats the mbs and cbs values as minimum threshold values The no form of this command is used to return the policer s metering and profiling hardware adaptati...

Page 194: ...the CIR bucket depth hovers around the 0 depth with spikes up to the maximum packet size in the offered load If the forwarding rate increases beyond the profiling rate the amount of data allowed to be in profile above the rate is capped by the threshold The policer s cbs size defined in the QoS policy may be overridden on an sla profile or SAP where the policy is applied The no form of this comman...

Page 195: ...packets and un trusted high priority packets use the policer s high priority violate threshold while trusted out of profile and un trusted low priority packets use the policer s low priority violate threshold At egress in profile packets use the policer s high priority violate threshold and out of profile packets use the policer s low priority violate threshold The PIR bucket s violate threshold r...

Page 196: ...ortions of packet headers Both the policing metering and profiling throughput is affected by the offset as well as the stats associated with the policer When child policers are adding to or subtracting from the size of each packet the parent policer s min thresh separation value should also need to be modified by the same amount The policer s packet byte offset defined in the QoS policy may be ove...

Page 197: ... to an arbiter name exists on the SAP the system will scan the available arbiters on the SAP If an arbiter exists with the appropriate name the policer to arbiter association is created If the specified arbiter does not exist either because a policer control policy is not currently applied to the SAP or the arbiter name does not exist within the applied policy the policer is placed in an orphan st...

Page 198: ...no percent rate Context config qos sap egress policer config qos sap ingress policer Description The percent rate command within the SAP ingress and egress QOS policy enables supports for a policer s PIR and CIR rate to be configured as a percentage of the immediate parent root policer arbiter rate or the FP capacity This enables the same QOS policy to be used on SAPs on different FPs without need...

Page 199: ...e the CIR output state when an explicit in profile packet is handled by an ingress or egress policer The profile capped mode makes two changes At egress soft in profile packets packets received from ingress as in profile are treated the same as explicit in profile unless explicitly reclassified as out of profile and have an initial policer state of in profile At both ingress and egress any packet ...

Page 200: ...at conforming packets impact the bucket depth while exceeding or violating packets do not The policer s adaptation rule command settings are used by the system to convert the specified rates into hardware timers and decrement values for the policer s buckets By default the policer s metering rate is max and the profiling rate is 0 Kbps all packets out of profile The rate settings defined for the p...

Page 201: ...mapped to the counters While a no stats mode is supported which prevents any packet accounting the use of the policer s parent command requires at the policer s stat mode to be set at least to the minimal setting so that offered stats are available for the policer s Fair Information Rate FIR to be calculated Once a policer has been made a child to a parent policer the stat mode cannot be changed t...

Page 202: ... subtracting the discard counter from the offered counter The counters do not differentiate possible offered types profile or priority and do not count green or yellow output This does not prevent the policer from supporting different offered packet types and does not prevent the policer from supporting a CIR rate This counter mode is useful when only the most basic accounting information is requi...

Page 203: ...R rate The counters are used in the following manner 1 offered in profile in 2 offered out profile out priority high low 3 dropped in Same as 1 4 dropped out Same as 2 5 forwarded in Derived from 1 3 6 forwarded out Derived from 2 4 When collect stats is enabled the counters are used by the system to generate the following statistics a offered in 1 b offered out 2 c discard in 3 d discard out 4 e ...

Page 204: ...orward low 6 With offered priority no cir enabled as the policer stat mode the SAP offered stats for the policer returned via MIB query and CLI show commands will return the following values i offered high 1 ii offered low 2 iii offered undefined 0 iv offered managed 0 IMPM managed packets are not redirected from the policer Counter 0 indicates that the SAP policer statistic returns a value of zer...

Page 205: ...lue of zero offered profile cir Counter resource allocation 4 The offered profile cir mode allocates four forwarding plane offered counters and four traffic manager discard counters The offered profile cir mode is most useful when the policer is receiving trusted out of profile and in profile traffic and is also receiving un trusted packets that are being applied to a defined CIR profiling rate Th...

Page 206: ...ffered managed 0 IMPM managed packets are not redirected from the policer Counter 0 indicates that the SAP policer statistic returns a value of zero offered priority cir Counter resource allocation 4 The offered priority cir mode allocates four forwarding plane offered counters and four traffic manager discard counters The offered priority cir mode is most useful when the policer is receiving only...

Page 207: ...ates that the SAP policer statistic returns a value of zero offered total cir Counter resource allocation 2 The offered total cir mode allocates two forwarding plane offered counters and two traffic manager discard counters The offered total cir mode is most useful when the policer is not receiving trusted in profile or out of profile traffic and both high and low priority classifications are not ...

Page 208: ...ters in the traffic manager The offered profile capped cir mode is similar to the offered profile cir mode except that it includes support for profile in and soft in profile that may be output as out of profile due to enabling profile capped mode on the ingress policer The impact of using offered profile capped cir stat mode while profile capped mode is disabled are that one of the counting resour...

Page 209: ... offered profile capped cir mode except that it combines profile out and soft out of profile and eliminates the offered undefined statistic The impact of using offered limited capped cir stat mode while profile capped mode is disabled are that one of the counting resources in the forwarding plane and traffic manager will not be used and soft in profile will be treated as offered in instead of offe...

Page 210: ...p prec value is derived from the most significant three bits in the IP header ToS byte field precedence bits The three precedence bits define 8 Class of Service CoS values commonly used to map packets to per hop Quality of Service QoS behavior The precedence bits are also part of the newer DiffServ Code Point DSCP method of mapping packets to QoS behavior The DSCP uses the most significant six bit...

Page 211: ...g priority for all packets received on an ingress SAP using this policy that match this rule Specifying the priority is optional When a packet matches the rule the enqueuing priority is only overridden when the priority parameter is defined on the rule If the packet matches and priority is not explicitly defined in the rule the enqueuing priority is inherited based on previous rule matches high Th...

Page 212: ...ed packets matching the IP precedence value will be explicitly reclassified to the forwarding class specified as fc name regardless of the ingress classification decision The explicit forwarding class reclassification may be overwritten by a higher priority dscp or ip criteria reclassification match The fc name defined must be one of the eight forwarding classes supported by the system To remove t...

Page 213: ...ware schedulers The expedited hardware schedulers are used to enforce expedited access to internal switch fabric destinations The hardware status of the queue must be defined at the time of queue creation within the policy The queue command allows the creation of multipoint queues Only multipoint queues can receive ingress packets that need flooding to multiple destinations By separating the unica...

Page 214: ...lues 1 32 queue type The expedite best effort and auto expedite queue types are mutually exclusive to each other Each defines the method that the system uses to service the queue from a hardware perspective While parental virtual schedulers can be defined for the queue they only enforce how the queue interacts for bandwidth with other queues associated with the same scheduler hierarchy An internal...

Page 215: ...es not have the functionality to support the profiled traffic and in such cases the queue will have a degraded performance However the converse is not valid and a queue in profile mode should be capable of supporting the different priorities of traffic Default priority mode pool name The specified pool name identifies a named pool where the policy will be applied Each queue created within the syst...

Page 216: ...within the for warding class to the specified queue id within the queue group name When the policy is applied all packets matching the forwarding class and forwarding type will be redirected to the queue within the specified queue group The queue group name are configured in the config qos queue group tem plates egress and ingress contexts de 1 out profile Syntax no de 1 out profile Context config...

Page 217: ...AP The no form of the command disables the color profile mode of operation on all SAPs this ingress QoS policy is applied Default no de 1 out profile egress fc Syntax egress fc fc name no egress fc Context config qos sap ingress fc Description This command configures the forwarding class to be used by the egress QOS processing It overrides the forwarding class determined by ingress classification ...

Page 218: ...meters dscp dscp name This parameter is one of two mutually exclusive settings that are applicable to the in remark command The in remark command can be configured to either remark the DiffServ Code Point DSCP six bit value or the three Precedence bits The dscp parameter specifies that the matching packets DSCP bits should be overridden with the value represented by dscp name 32 characters maximum...

Page 219: ... left as default they will track the defined queue for the multicast forwarding type The no form of the command sets the multicast forwarding type queue id back to the default queue for the forwarding class If the broadcast and unknown forwarding types were not explicitly defined to a multipoint queue they will also be set back to the default multipoint queue queue 11 Parameters queue id The queue...

Page 220: ...cation command that maps the packet to a particular forwarding class or sub class only to have a more explicit higher priority match override the association Only the highest priority match forwarding class or sub class association will drive the out of profile marking The out remark command is only applicable to ingress IP routed packets that are considered out of profile The profile of a SAP ing...

Page 221: ...p27 af32 cp29 af33 cp31 cs4 cp33 af41 c p35 af42 cp37 af43 cp39 cs5 cp41 cp42 cp43 cp44 cp45 e f cp47 nc1 cp49 cp50 cp51 cp52 cp53 cp54 cp55 nc2 cp57 cp58 cp59 cp60 cp61 cp62 cp63 Default None an explicit valid DSCP name must be specified prec ip prec value This parameter is one of two mutually exclusive settings that are applicable to the out remark command The out remark command can be configure...

Page 222: ... unknown policer Syntax unknown policer policer id fp redirect group no unknown policer policer id profile Syntax profile in out no profile Context config qos sap igress fc Description This command places a forwarding class or sub class into a color aware profile mode Normally packets associated with a class are considered in profile or out of profile solely based on the dynamic rate of the ingres...

Page 223: ...e queue associated with the class to preserve order within flows Out of profile packets will not count against the CIR of the queue allowing other classes using the queue that are not configured with an explicit profile to be measured against the full CIR unknown queue Syntax unknown queue queue id group queue group name no unknown queue Context config qos sap ingress fc fc name Description This c...

Page 224: ...matching the forwarding class and forwarding type will be redirected to the queue within the specified queue group The queue group name are configured in the config qos queue group tem plates egress and ingress contexts This parameter is used when policy based queue group redirection is desired That is the specific queue group to redirect to is named in the QoS policy instance instance id This par...

Page 225: ... in scheduling class 2 And so on up to scheduling class 8 Each scheduling class is either mapped directly to a strict scheduling priority level based on the class ID or the class may be placed into a weighted scheduling class group providing byte fair weighted round robin scheduling between the members of the group Two weighted groups are supported and each may contain up to three consecutive sche...

Page 226: ...based on the Ether net DLC header payload and the 4 byte CRC everything except the preamble and inter frame gap As an example the packet byte offset command can be used to add the frame encapsulation overhead 20 bytes to the queues accounting functions The accounting functions affected include Offered High Priority In Profile Octet Counter Offered Low Priority Out of Profile Octet Counter Discarde...

Page 227: ...eue The command does not affect overrides that may exist on SAPs or subscriber profiles associated with the queue Parameters add add bytes Indicates that the byte value should be added to the packet for queue and queue group level accounting functions Either the add or subtract keyword must be specified The corresponding byte value must be specified when executing the packet byte offset command Th...

Page 228: ... Values 1 32 slope policy Syntax slope policy hsmda slope policy name no slope policy Context config qos sap egress hsmda queues queue Description This command associates an existing HSMDA slope policy to the QoS policy HSMDA queue The specified hsmda slope policy name must exist for the command to succeed If the policy name does not exist the command has no effect on the existing slope policy ass...

Page 229: ...cifies where based on MBS utilized the discard probability rises to 100 This is the first portion of the knee coordinates and is meaningless without the Maximum Probability parameter Maximum Probability This is defined as a percentage of discard probability and in conjunction with maximum utilization completes the knee coordinate where the discard probability deviates from the slope and rises to 1...

Page 230: ...lope policy name Specifies an existing slope policy within the system If a slope policy with the specified name does not exist the slope policy command will fail without modifying the slope behavior on the queue Once a slope policy is associated with an HSMDA queue the policy cannot be deleted Default hsmda default ...

Page 231: ...e fc fc name and match protocol fields should not be defined when executing action This allows packets matching the entry to preserve the forwarding class and enqueuing priority derived from previous classification rules Each time action is executed on a specific entry ID the previous entered values for fc fc name and priority areoverridden with the newly defined parameters or inherits previous ma...

Page 232: ...queuing parameter to low for a packet decreases the likelihood to enqueue the packet when the queue is congested The enqueuing priority only affects ingress SAP queuing When the packet is placed in a buffer on the ingress queue the significance of the enqueuing priority is lost Default Inherit policer id A valid policer id must be specified The parameter policer id references a policer id that has...

Page 233: ... hsmda counter override keyword is optional When specified and the egress SAP is created on an HSMDA the egress classification rule will override the default queue accounting function for the packet By default the HSMDA uses each queues default queue counters for packets mapped to the queue The hsmda counter override keyword is used to map the packet to an explicit exception counter One of eight c...

Page 234: ...atching the IP precedence value will be mapped to the defined HSMDA exception counter id for the packets queue group The default behavior is to use the default counter on the queue group for the queue to which the packet is mapped The hsmda counter override action may be overwritten by an ip criteria reclassification rule match The specified counter id must be specified as an integer between 1 and...

Page 235: ... 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 The no form of this command removes the specified entry from the policy Entries removed from the policy are immediately removed from a...

Page 236: ...scription icmp 1 Internet Control Message igmp 2 Internet Group Management ip 4 IP in IP encapsulation tcp 6 Transmission Control egp 8 Exterior Gateway Protocol igp 9 any private interior gateway used by Cisco for their IGRP udp 17 User Datagram rdp 27 Reliable Data Protocol idrp 45 Inter Domain Routing Protocol rsvp 46 Reservation Protocol gre 47 General Routing Encapsulation iso ip 80 ISO Inter...

Page 237: ...fic the order of precedence is used to arrive at the final action The order of precedence is as follows 1 802 1p bits 2 DSCP 3 IP Quintuple or MAC headers The no form of this command removes the match criteria for the entry id Parameters next header next header Specifies the next meader to match match Syntax match frame type 802dot3 802dot2 llc 802dot2 snap ethernet II no match Context config qos ...

Page 238: ...pe keyword configures an Ethernet frame type to be used for the MAC filter match criteria Default 802dot3 Values 802dot3 802dot2 llc 802dot2 snap ethernet_II 802dot3 Specifies the frame type is Ethernet IEEE 802 3 802dot2 llc Specifies the frame type is Ethernet IEEE 802 2 LLC 802dot2 snap Specifies the frame type is Ethernet IEEE 802 2 SNAP ethernet_II Specifies the frame type is Ethernet Type II...

Page 239: ...t can only be specified by its name Values be cp1 cp2 cp3 cp4 cp5 cp6 cp7 cs1 cp9 af11 cp11 af12 cp13 af13 cp15 cs2 cp17 af21 cp19 af22 cp21 af23 cp23 cs3 cp25 af31 cp27 af32 cp29 af33 cp31 cs4 cp33 af41 c p35 af42 cp37 af43 cp39 cs5 cp41 cp42 cp43 cp44 cp45 ef cp47 nc1 cp49 cp50 cp51 cp52 cp53 cp54 cp55 nc2 cp57 cp58 cp59 cp60 cp61 cp62 cp63 hsmda Syntax hsmda Context config qos sap egress fc Des...

Page 240: ...ll packets regardless of the packets destination MAC address Each forwarding class has a default queue ID based on the intrinsic hierarchy between the forwarding classes as represented in Table 26 Executing the queue command within the HSMDA context of a forwarding class with a different queue ID than the default overrides the default mapping Multiple forwarding classes may be mapped to the same H...

Page 241: ...low priority packets use the policer s low priority violate threshold At egress in profile packets use the policer s high priority violate threshold and out of profile packets use the policer s low priority violate threshold The PIR bucket s violate threshold represent the maximum burst tolerance allowed by the policer If the policer s offered rate is equal to or less than the policer s defined ra...

Page 242: ...he value is interpreted as the queue s MBS value given in kilobytes Values 1 39321600 Default kilobyte dst ip Syntax dst ip ip address mask ip address ipv4 address tmask ip prefix list prefix list name no dst ip Context config qos sap ingress ip criteria entry match config qos sap egress ip criteria entry match config qos sap ingress ipv6 criteria entry match config qos sap egress ipv6 criteria en...

Page 243: ...ap egress ipv6 criteria entry match Description This command configures a destination TCP or UDP port number or port range for a SAP QoS policy match criterion The no form of this command removes the destination port match criterion Default none Parameters lt gt eq dst port number The TCP or UDP port numbers to match specified as less than lt greater than gt or equal to eq to the destination port ...

Page 244: ...ch will occur for all packets that contain an IPv6 Fragmentation Extension Header false Specifies to match on all non fragmented IP packets Non fragmented IPv6 packets are packets that do not contain an IPv6 Fragmentation Extension Header first only Matches if a packet is an initial fragment of the fragmented IPv6 packet non first only Matches if a packet is a non initial fragment of the fragmente...

Page 245: ...ch criterion in hex digits Values ipv6 address 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 d 0 255 D prefix Specifies the IPv6 prefix length for the ipv6 address expressed as a decimal integer Values 1 128 mask Specifies the eight 16 bit hexadecimal pieces representing bit match criteria Values x x x x x x x eight 16 bit pieces src port Syntax src port lt gt eq src port numb...

Page 246: ...cy Match Commands Page 246 7950 XRS Quality of Service Guide range start end 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 ...

Page 247: ...e from 4 up to 7 specify p value of 4 and a mask of 0b100 for value and mask Default 7 decimal exact match Values 1 7 decimal dsap Syntax dsap dsap value dsap mask no dsap Context config qos sap ingress mac criteria entry Description Configures an Ethernet 802 2 LLC DSAP value or range for an ingress SAP QoS policy match criterion This is a one byte field that is part of the 802 2 LLC header of th...

Page 248: ...ion 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 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...

Page 249: ...e the dsap ssap or snap pid fields as match criteria The snap pid field etype field ssap and dsap fields are mutually exclusive and cannot be part of the same match criteria 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 hexadecim...

Page 250: ...policy entry based on a snap pid match criteria The no form of this command removes the snap pid value as the match criteria Default none Parameters smap pid The two byte snap pid value to be used as a match criterion in hexadecimal Values 0x0000 0xFFFF src mac Syntax src mac ieee address ieee address mask no src mac Context config qos sap ingress mac criteria entry Description This command config...

Page 251: ... the 802 2 LLC header of the IEEE 802 3 Ethernet Frame The snap pid field etype field ssap and dsap fields are mutually exclusive and cannot be part of the same match criteria The no form of this command removes the ssap match criterion Default none Parameters ssap value The 8 bit ssap match criteria value in hex Values 0x00 0xFF hex ssap mask This is optional and can be used when specifying a ran...

Page 252: ...1p 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 parent location Syntax parent location default sla no parent location Context config qos sap egress Description This command determines the expected location of the parent schedulers for queues configured with a parent command within the sap egress po...

Page 253: ...g is successful A policer defined within the sap egress policy is not actually created on an egress SAP or a subscriber using an sla profile where the policy is applied until at least one forwarding class is mapped to the policer If insufficient policer resources exist to create the policer for a SAP or subscriber or egress policing is not supported on the port associated with the SAP or subscribe...

Page 254: ...te queue group name the policer command will fail While a queue id within an egress queue group template is referenced by a sap egress QoS policy forwarding class policer command the queue cannot be deleted from the queue group template If an egress policed packet is discarded by the egress port queue group queue the source policer discard stats are incremented This means that the discard counters...

Page 255: ...ue group queue id The queue group queue id is optional when the group queue group name parameter is specified and is used to override the forwarding class mapping within the group s egress queue group template The specified group queue id must exist within the group s egress queue group template or the policer command will fail Values 1 8 Default Derived from forwarding class assignment in queue g...

Page 256: ...e next lowest hardware supported rate is used The min keyword tells the system that the defined rate is the minimum rate that should be given to the policer If the hardware cannot exactly match the given rate the next highest hardware supported rate is used The closest keyword tells the system that the defined rate is the target rate for the policer If the hardware cannot exactly match the given r...

Page 257: ... to configure the policer s CIR leaky bucket s exceed threshold The CIR bucket s exceed threshold represents the committed burst tolerance allowed by the policer If the policer s forwarding rate is equal to or less than the policer s defined CIR the CIR bucket depth hovers around the 0 depth with spikes up to the maximum packet size in the offered load If the forwarding rate increases beyond the p...

Page 258: ...y packets use the policer s high priority violate threshold while trusted out of profile and un trusted low priority packets use the policer s low priority violate threshold At egress in profile packets use the policer s high priority violate threshold and out of profile packets use the policer s low priority violate threshold The PIR bucket s violate threshold represent the maximum burst toleranc...

Page 259: ...ch packet the parent policer s min thresh separation value should also need to be modified by the same amount The policer s packet byte offset defined in the QoS policy may be overridden on an sla profile or SAP where the policy is applied The no version of this command is used to remove per packet size modifications from the policer Parameters add bytes The add keyword is mutually exclusive to th...

Page 260: ...e a policer control policy is not currently applied to the SAP or the arbiter name does not exist within the applied policy the policer is placed in an orphan state Orphan policers operate as if they are not parented and are not subject to any bandwidth constraints other than their own PIR When a policer enters the orphan state it is flagged as operationally degraded due to the fact that it is not...

Page 261: ...eshold associated with the packet the packet is considered to be conforming to the bucket s rate If the bucket depth is equal to or greater than the threshold the packet is considered to be in the exception state For the CIR bucket the exception state is exceeding the CIR rate while the PIR bucket s exception state is violating the PIR bucket rate If the packet is violating the PIR the packet is m...

Page 262: ...r for the policer An egress policer has multiple types of offered packets soft in profile and out of profile from ingress and hard in profile and out of profile due to egress profile overides and each of these offered types is interacting with the policer s metering and profiling functions resulting in colored output packets green yellow and red Due to the potential large number of egress policers...

Page 263: ...l When collect stats is enabled the lack of counters causes the system to generate the following statistics a offered in 0 b offered out 0 c discard in 0 d discard out 0 e forward in 0 f forward out 0 Counter 0 indicates that the accounting statistic returns a value of zero minimal Counter resource allocation 1 The default stat mode for a policer is minimal The minimal mode allocates 1 forwarding ...

Page 264: ... out 3 dropped in Same as 1 4 dropped out Same as 2 5 forwarded in Derived from 1 3 6 forwarded out Derived from 2 4 When collect stats is enabled the counters are used by the system to generate the following statistics a offered in 1 b offered out 2 c discard in 3 d discard out 4 e forward in 5 f forward out 6 offered profile cir Counter resource allocation 3 The offered profile cir mode allocate...

Page 265: ...ority classifications are not being used on the un trusted packets and the offered packets are being applied to a defined CIR profiling rate This mode does not prevent the policer from receiving trusted in profile or out of profile packets and does not prevent the use of priority high or low classifications on the un trusted packets The counters are used in the following manner 1 offered that turn...

Page 266: ...lowing manner 1 offered in that stayed green profile in soft in profile 2 offered in that turned yellow or red profile in soft in profile 3 offered soft out that turned green soft out of profile 4 offered soft out that turned yellow or red soft out of profile 5 offered out that turned yellow or red profile out 6 dropped in that stayed green Same as 1 7 dropped in that turned yellow or red Same as ...

Page 267: ...stead of offered undefined The counters are used in the following manner 1 offered in that stayed green profile in soft in profile 2 offered in that turned yellow or red profile in soft in profile 3 offered out that turned green soft out of profile 4 offered out that turned yellow or red profile out soft out of profile 5 dropped in that stayed green Same as 1 6 dropped in that turned yellow or red...

Page 268: ...ut profile is specified the command will remark different PREC values depending on whether the packet was classified to be in or out of profile ingress to the node The hsmda counter override keyword is optional When specified and the egress SAP is created on an HSMDA the egress classification rule will override the default queue accounting function for the packet By default the HSMDA uses each que...

Page 269: ...he policy cannot be changed if the policy is applied to one or more services The no form of this command sets the scope of the policy to the default of template Default template Parameters exclusive When the scope of a policy is defined as exclusive the policy can only be applied to a single SAP Attempting to assign the policy to a second SAP will result in an error message If the policy is remove...

Page 270: ...gress SAPs when an explicit policy is not specified or removed The system sap egress policy can be modified but not deleted Using the no sap egress command on policy id 1 causes it to revert to its factory default parameters The factory default settings for sap egress policy id 1 define a single queue with PIR set to the maximum value and a CIR set to 25 The single queue is the default queue and a...

Page 271: ...x no dot1p dot1p value in profile dot1p value out profile dot1p value Context config qos sap egress fc fc name Description This command explicitly defines the egress IEEE 802 1P dot1p bits marking for fc name When the marking is set all packets of fc name that have either an IEEE 802 1Q or IEEE 802 1P encapsulation use the explicitly defined dot1p value If the egress packets for fc name are not IE...

Page 272: ...he marking of the DE bit in the inner VLAN tag for fc fc name on a qinq SAP according to the in and out of profile status of the packet If no de value is present the default values are used for the marking of the DE bit for example 0 for in profile packets 1 for out of profile ones see IEEE 802 1ad 2005 standard If the de value is included in the command line then this value is used for all the in...

Page 273: ...Description This command explicitly defines the egress inner VLAN tag IEEE 802 1P dot1p bits marking for fc name When the marking is set all packets of fc name that have either an inner IEEE 802 1Q or IEEE 802 1P encapsulation on a qinq SAP will use the explicitly defined dot1p value If the egress packets for fc name are not IEEE 802 1Q or IEEE 802 1P qinq encapsulated this command has no effect T...

Page 274: ...fined dot1p value If the egress packets for fc name are not IEEE 802 1Q or IEEE 802 1P encapsulated this command has no effect The optional in profile dot1p value out profile dot1p value parameters on the dot1p outer command adds the capability to mark the in and out of profile status on an egress qinq or dot1p SAP The command with the additional parameters may be used on the SAP when the internal...

Page 275: ... the context in the configuration file The no form of the command removes any description string from the context Default none Parameters string The description character string 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 match list Sy...

Page 276: ...ption This command adds an IPv4 address prefix to an existing IPv4 address prefix match list The no form of this command deletes the specified prefix from the list To add set of unique prefixes execute the command with all unique prefixes The prefixes are allowed to overlap IPv4 address space An IPv4 prefix addition will be blocked if resource exhaustion is detected anywhere in the system because ...

Page 277: ...ate defined within the queue queue id rate command The pir parameter requires a qualifier that 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 con...

Page 278: ...contains special characters spaces etc the entire string must be enclosed within double quotes burst limit Syntax burst limit default size byte kilobyte no burst limit Context config qos sap ingress queue config qos sap egress queue Description The queue burst limit command is used to define an explicit shaping burst size for a queue The configured size defines the shaping leaky bucket threshold l...

Page 279: ...ver the queue s shaping rate The burst limit command is supported under the sap ingress and sap egress QoS policy queues The command is also supported under the ingress and egress queue group templates queues The no form of this command is used to restore the default burst limit to the specified queue This is equivalent to specifying burst limit default within the QoS policies or queue group templ...

Page 280: ...CBS is capped to the value of the MBS or the minimum CBS value If the MBS and CBS values are configured to be equal or nearly equal this will result in the CBS being slightly higher than the value configured The no form of this command returns the CBS size to the default value Default default Parameters size in kbytes The size parameter is an integer expression of the number of kilobytes reserved ...

Page 281: ... total amount of buffering available When congestion occurs and buffers become scarce access to buffers is controlled by the RED slope a packet is associated with A queue that has not exceeded its MBS size is not guaranteed that a buffer will be available when needed or that the packets RED slope will not force the discard of the packet Setting proper CBS parameters and controlling CBS oversubscri...

Page 282: ...that the packets RED slope will not force the discard of the packet Setting proper CBS parameters and controlling CBS oversubscription is one major safeguard to queue starvation when a queue does not receive its fair share of buffers Another is properly setting the RED slope parameters for the needs of services on this port If the CBS value is larger than the MBS value an error will occur preventi...

Page 283: ...ted with the queue for scheduling profiling and accounting purposes From the queue s perspective the packet size is reduced by the amount being subtracted from the size of each packet Note that the minimum resulting packet size used by the system is 1 byte Values Values 0 64 in steps of 2 Default None parent Syntax parent scheduler name weight weight level level cir weight cir weight cir level cir...

Page 284: ...ly created on For the duration where scheduler name does not exist on the egress SAP the queue operates in an orphaned state Values 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 Default None Each parental association must be explicitly defined weight weigh...

Page 285: ... highest weight When the cir weight parameter is set to a value of 0 the default value the queue or scheduler does not receive bandwidth during the port schedulers within cir pass and the cir level parameter is ignored If the cir weight parameter is 1 or greater the cir level parameter comes into play Values 0 100 cir level cir level Defines the port priority the queue or scheduler will use to rec...

Page 286: ...ate commands override one another If the current rate for a queue is defined using the percent rate command and the rate command is executed the percent rate values are deleted In a similar fashion the percent rate command causes any rate command values to be deleted A queue s rate may dynamically be changed back and forth from a percentage to an explicit rate at anytime Queue rate overrides can o...

Page 287: ...ation to be removed and replaced by the defined intermediate scheduler name Changing the parent context on a SAP egress policy queue may cause a SAPor context of the queue policy associated with a SAP or to enter an orphaned state If an instance of a queue is created on a port that does not have a port scheduler enabled and the sap egress policy creating the queue has a port parent association the...

Page 288: ... CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth For SAP ingress the CIR also defines the rate that packets are considered in profile by the system In profile packets are preferentially queued by the system at egress and at subsequent next hop nodes where the packet can traverse To be properly handled as in or out of profile through...

Page 289: ...e intended rate The actual rate sustained by the queue can be limited by oversubscription factors or available egress bandwidth The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth In profile packets are preferentially queued by the system at egress and at subsequent next hop nodes where the packet can traverse To be properly handled...

Page 290: ...thin the XP family utilize the Q2 for traffic management queuing functions When the SAP egress QoS policy is applied to a SAP on an IOM3 XP any commands and parameters defined within the xp specific context will either override or augment the generic commands and parameters defined for the specific queue ID In the event that the QoS policy is applied to a SAP on a non IOM3 XP the commands and para...

Page 291: ... queue When a policy is not explicitly defined the default slope policy is used The slope policy enables disables and defines the relative geometry of the high and low WRED slopes in the pool The policy also specifies the time average factor used by the pool when calculating the weighted average pool depth As packets attempt to enter the egress queue they are associated with either the high or low...

Page 292: ...pe Exclusive Implies that this policy can only be applied to a single SAP Template Implies that this policy can be applied to multiple SAPs on the router Description A text string that helps identify the policy s context in the con figuration file Default FC Specifies the default forwarding class for the policy Priority Specifies the enqueuing priority when a packet is marked with a dot1p value sp...

Page 293: ...fied using the rate command without exceeding the operational PIR PIR Admin Specifies the administrative Peak Information Rate PIR parameters for the queue The PIR defines the maximum rate that the queue can transmit packets through the switch fabric for SAP ingress queues or out an egress interface for SAP egress queues PIR Oper The administrative PIR specified by the user PIR Rule min The operat...

Page 294: ...nt Specifies the parent scheduler that governs the available band width given the queue aside from the queue s PIR setting Dot1p Specifies the forwarding class or enqueuing priority when a packet is marked with a dot1p value specified FC Specifies the forwarding class overrides Priority The optional priority setting overrides the default enqueuing pri ority for the packets received on an ingress S...

Page 295: ...ast forwarding type queue mapping BCastQ Specifies the default broadcast forwarding type queue mapping UnknownQ Specifies the default unknown unicast forwarding type queue mapping Match Criteria Specifies an IP or MAC criteria entry for the policy Entry Source IP Specifies a source IP address range used for an ingress SAP QoS policy match Source Port Specifies a source TCP or UDP port number or po...

Page 296: ...d as a Service Ingress QoS policy match ESnap oui zero Specifies an IEEE 802 3 LLC SNAP Ethernet Frame OUI zero or non zero value to be used as a Service Ingress QoS policy match DSAP Specifies an Ethernet 802 2 LLC DSAP value or range for an ingress SAP QoS policy match SSAP Specifies an Ethernet 802 2 LLC DSAP value or range for an ingress SAP QoS policy match FC Specifies the entry s forwarding...

Page 297: ...per The operational value derived by computing the CIR value from the administrative CIR and PIR values and their corresponding adaptation rules CIR Rule min The operational CIR for the queue will be equal to or greater than the administrative rate specified using the rate com mand except where the derived operational CIR is greater than the operational PIR If the derived operational CIR is greate...

Page 298: ...of buffer space for the queue used exclusively by high priority packets PIR Lvl Wt Specifies the priority level of the scheduler when compared to other child schedulers and queues vying for bandwidth on the parent schedulers during the above CIR distribution phase of bandwidth allocation Weight defines the relative weight of this scheduler in compari son to other child schedulers and queues at the...

Page 299: ... egress IEEE 802 1P dot1p bits marking for fc name Default Specifies that the default dot1p value 0 is used Service Association Service Id The unique service ID number which identifies the service in the service domain Customer Id Specifies the customer ID which identifies the customer to the service SAP Specifies the a Service Access Point SAP within the service where the policy is applied Mirror...

Page 300: ...fix Name ip prefix list 1 Description IPv4 prefix list IP Prefixes 10 0 0 0 8 192 168 0 0 16 No of Prefixes 2 A PE queue Syntax queue from sap sap id queue group port id queue group name network mda id port id system card slot number mda mda id port port id ingress egress id queue id Context show qos Description The show qos queue command outputs the Burst Control Group BCG name and slowest accura...

Page 301: ...ort id is not provisioned on the system or the specified queue group name is not found on the ports specified direction the system should return The specified queue group does not exist network mda id port id The network keyword is used to specify that the system should find and display the queue informationfor the queues associated with the specified mda id or port id If the ingress direction qua...

Page 302: ...ing decrement operation will leave the bucket If the system takes longer than 81 92ms the decrement result will be greater than 10Kbytes and part of the decrement result will be lost The net result is from less than timely updates is that the queue will not be returned to the scheduler context fast enough and some shaping bandwidth for the queue will be lost underrun the shaping rate Each Q2 based...

Page 303: ... return The specified BCG does not exist member queues at risk only The member queues optional keyword is used to include a list of all queues attached to the specified burst control group name The optional at risk only keyword may be added to limit the displayed queues to only include queues that are considered at risk for inaccurate shaping based on either the 100 worst case scheduling bandwidth...

Page 304: ...Service Queue QoS Policy Commands Page 304 7950 XRS Quality of Service Guide ...

Page 305: ...ection on page 306 Pseudowire Shaping for Layer 2 and Layer 3 Services on page 309 Queue Group Templates and Port Queue Groups on page 313 Access SAP Forwarding Class Based Redirection on page 317 Network IP Interface Forwarding Class Based Redirection on page 325 Queue Group Behavior on LAG on page 341 Configuring Ingress Egress PW Shaping Using Spoke SDP Forwarding Class Based Redirection on pag...

Page 306: ...eue groups per egress port These queue groups may only contain queues Network ingress supports the creation of multiple queue groups at the ingress forwarding plane level of the IOM IMM XMA These queue groups may only contain policers Network egress supports the creation of multiple queue groups per egress port These queue groups may contain queues only or queues and policers Supported Platforms Q...

Page 307: ...P queues to perform shaping to control burst sizes and forwarding rates based on the SAPs defined SLA This is especially beneficial when a provider is enforcing a sub line rate bandwidth limit and the customer does not have the ability to shape at the CE However there are cases where per SAP queuing is not preferred Per SAP queuing requires a more complex provisioning model in order to properly co...

Page 308: ... class queues are available by default and all IP interfaces on the port share the queues Creating a network queue group allows one or more IP interfaces to selectively redirect forwarding classes to the group in order to override the default behavior Using network egress queue groups it is possible to provide dedicated queues for each IP interface Note that non IPv4 non IPv6 non MPLS packets will...

Page 309: ... One or more instances of the same template can be created 3 Configure FC to policer mappings together with the policer redirect to a queue group in the ingress context of a network QoS policy No queue group name is specified in this step which means the same network QoS policy can redirect different PWs to different queue group templates 4 Apply this network QoS policy to the ingress context of a...

Page 310: ...e is specified in this step which means the same network QoS policy can redirect different PWs to different queue group templates 4 Apply this network QoS policy to the egress context of a spoke sdp inside a service or to the egress context of a PW template and specify the redirect queue group name One or more spoke sdps can have their FCs redirected to use queues only or queues and policers in th...

Page 311: ...ffic from all such bindings is treated as a single entity per forwarding class with regard to ingress QoS control Any fp redirect group multicast policer broadcast policer or unknown policer commands in the network QoS policy are ignored for this traffic IP multicast traffic would use the ingress network queues or queue group related to the network interface Ingress classification is based on the ...

Page 312: ... arriving on bindings in that VPRN The IP and IPv6 criteria statements are not supported in the applied network QoS policy This is supported for all available transport tunnel types and is independent of the label mode vrf or next hop used within the VPRN It is also supported for Carrier Supporting Carrier VPRNs The ingress network interfaces on which the traffic is received must be on FP2 and hig...

Page 313: ... and redirection is configured on egress a set of 8 HSMDA queues could be configured as a part of the queue group template These correspond to 8 hardware queues on the HSMDA When all eight 8 egress fcs are mapped to the queue group instantiated in the egress port the per sap hsmda queue group resource is freed Port Queue Groups Once an ingress or egress queue group template is defined a port based...

Page 314: ...ord rate in Kbps When the queue rate is configured with percent rate a port limit is applied specifically the percent rate is relative to the rate of the port to which the queue is attached A PE config qos qgrps egr qgrp queue percent rate no percent rate percent rate pir percent cir cir percent pir percent 0 01 100 00 cir percent 0 00 100 00 ...

Page 315: ...p with the same name may be created on an ingress forwarding plane of an IOM IMM XMA Forwarding plane queue groups are named objects that act as a container for a group of policers Queues are not supported in forwarding plane queue groups Only hierarchical policers are supported in the forwarding plane queue group rather than queues These policers may be configured to use profile aware behavior Th...

Page 316: ...his is termed SAP based redirection Policy based redirection allows different forwarding classes in the same QoS policy to be redirected to different queue groups but it requires at least one QoS policy to be configured per queue group instance SAP based redirection can require less QoS policies to be configured since the policy does not have to name the queue group However if redirected all forwa...

Page 317: ...ust be created for egress forwarding class redirection Optionally you can create the queues in a template by using default parameters Individual queues must be created before they are associated with a forwarding class The default queue parameters may be overridden on each port based queue group 2 Create an ingress or egress queue group instance with the same name as the template on the port assoc...

Page 318: ...ociated with a forwarding class The default queue parameters may be overridden on each port based queue group 2 Create an ingress queue group instance on the forwarding plane of the IOM IMM XMA or an egress port queue group with the same name as the template on the port associated with the SAP On ingress config card fp ingress access queue group queue group name instance instance id create On egre...

Page 319: ...gress forwarding plane or the egress port must be specified at this time On ingress config service epipe sap sap id ingress qos sap ingress policy id fp redirect group queue group name instance instance id On egress config service epipe sap sap id egress qos sap egress policy id port redirect group queue group name instance instance id Note that redirection to a queue group on the HSMDA supports t...

Page 320: ...rection will fail When a SAP ingress QoS policy forwarding class redirection is removed from a queue group queue ID If the forwarding class is being moved to another queue group queue ID that does not exist within an ingress queue group template the redirection removal from the current queue group queue ID will fail If the forwarding class is being moved to a local queue ID within the SAP ingress ...

Page 321: ...rrent queue group ID will fail If the above operation is successful then The system decrements the association counter for the egress queue group template with the same name as the queue group previously specified in the forwarding class redirection The system decrements the queue ID association counter within the queue group template for the queue ID previously specified in the forwarding class r...

Page 322: ...AP the redirection will fail If a redirected policer ID in the SAP ingress QoS policy does not match a policer ID in the named ingress queue group template the redirection will fail If the SAP ingress QoS policy is currently applied to a non Ethernet port or an Ethernet port where the specified ingress queue group instance does not exist on the forwarding plane the redirection will fail If the ope...

Page 323: ...ingress SAP For the SAP based provisioning model the rules for redirecting a forwarding class queue to an egress port queue group are similar to those on ingress If an egress QoS policy containing one or more redirections is applied to a SAP but either no queue group instance is specified at association time or a named queue group instance is specified and either the queue group name or the instan...

Page 324: ...ccounting policy applied to the queue group Forwarding Plane Queue Groups When a forwarding class is redirected to a forwarding plane queue group queue or policer the packets sent to the queue or policer are statistically tracked by a set of counters associated with the queue group queue policer and not with any of the counters associated with the SAP This means that it is not possible to perform ...

Page 325: ...e ingress and or egress queue group instances associated with the interface Egress Network Forwarding Class Redirection Association Rules The association rules work differently for network egress IP interfaces than they do for access SAPs Since the network QoS policy does not directly reference the queue group names the system is unable to check for queue group template existence or queue ID exist...

Page 326: ...cremented When a network QoS policy egress forwarding class redirection to a queue ID is removed or added If a redirection is being added to a forwarding class and the queue ID does not exist on the queue groups for IP interfaces where the QoS policy is applied the redirection will fail If the operation above is successful then The system finds all IP interfaces where the policy is applied Finds a...

Page 327: ...ontinues to use the same counter set Separate Ingress IPv4 and IPv6 Statistics This feature adds support for separate ingress IPv4 and IPv6 statistics on IP interfaces IES and VPRN interfaces and subscriber group interfaces on IES and VPRN as well as for uRPF In previous release the ingress statistics for IPv4 and IPv6 traffic was combined into a single set of packet and bytes counters The existin...

Page 328: ...nterface on the same FP In the ingress context of the network QoS policy the user defines the mapping of a FC to a policer id and instructs the code to redirect the mapping to the policer of the same ID in some queue group config qos network ingress fc fp redirect group policer policer id config qos network ingress fc fp redirect group broadcast policer policer id config qos network ingress fc fp ...

Page 329: ...th the policer redirect to a queue group in the ingress context of a network QoS policy No queue group name is specified in this step which means the same network QoS policy can redirect different PWs to different queue group templates a Apply this network QoS policy to the ingress context of a spoke SDP inside a service or to the ingress context of a PW template and specify the redirect queue gro...

Page 330: ... path as follows a When a PW packet for that FC is received and an instance of the referenced queue group name exists on that FP the packet is processed by the policer and is then feed the per FP ingress shared queues referred to as policer output queues b When a PW packet for that FC is received and an instance of the referenced queue group name does not exist on that FP the PW packets are fed di...

Page 331: ...ue Group Creation and Redirection 7950 XRS Quality of Service Guide Page 331 these two cases the ingress network shared queue for the packet FC defined in the network queue policy applied to the ingress of the MDA FP is used ...

Page 332: ... received on The user can apply a QoS filter matching the dot1 p in the VLAN tag corresponding to the Ethernet port encapsulation the EXP in the outer label when the tunnel is an LSP the DSCP in the IP header if the tunnel encapsulation is GRE and the DSCP in the payload s IP header if the user enabled the ler use dscp option and the PW terminates in IES or VPRN service spoke interface When the po...

Page 333: ...policer of the same ID in some queue group However the queue group is explicitly named only at the time the network QoS policy is applied to the spoke SDP as shown above with the example of the VPRN service The command is as follows config qos network egress fc port redirect group queue queue id policer policer id queue queue id There are three possible outcomes when executing this command The use...

Page 334: ... a service or to the egress context of a PW template and specify the redirect queue group name b One or more spoke sdp s can have their FCs redirected to use queues only or queues and policers in the same queue group instance The following are the constraints and rules of this provisioning model 1 Queue groups containing queues only or policers and queues can be instantiated in the network egress ...

Page 335: ...e network IP interfaces The handling of this is dealt with in the data path as follows a When a PW packet for that FC is forwarded and an instance of the referenced queue group name exists on that egress port the packet is processed by the queue group policer and is fed to the queue group queue If only a policer is specified in the redirection command then the packet is processed by the queue grou...

Page 336: ...IP interface the PW packet is forwarded to Egress Packet Re Classification Based on IPv4 IPv6 Criteria The user enables IP precedence or DSCP based egress re classification by applying the following command in the context of the network QoS policy applied to the egress context of a spoke SDP config qos network egress prec ip prec value fc fc name profile in out config qos network egress dscp dscp ...

Page 337: ... redirect group queue group name instance instance id config service ies interface spoke sdp egress qos network policy id port redirect group queue group name instance instance id Reclassification will however occur regardless of whether the queue group instance exists or not on a given egress network port When the redirection command fails in CLI the PW uses the network QoS policy assigned to the...

Page 338: ...ss FP queue group with the difference being that the packet byte offset is applied to the queue group policer octets but not the Received Valid octets It should be noted that the value in the Received Valid field may not instantaneously match the sum of the offered stats even in the case where all traffic is using the SAP queues when traffic is being forwarded however once the traffic has stopped ...

Page 339: ... 0 0 For InProf 0 0 For OutProf 0 0 A PE1 A PE1 show card 1 fp 1 queue group qg1 instance 1 mode access statistics ingress Card 1 Acc QGrp qg1 Instance 1 Group Name qg1 Description Not Specified Pol Ctl Pol None Acct Pol None Collect Stats disabled Statistics Packets Octets Ing Policer 1 Grp qg1 Stats mode minimal Off All 5 460 Dro All 0 0 For All 5 460 A PE1 ...

Page 340: ... by means of the show command monitor command and accounting file of the ingress or egress queue group instance Similar to the SDP binding stats the ingress policer stats for a spoke SDP does not count the label stack When the spoke SDP is part of a L2 service they will count the L2 encapsulation minus CRC and VLAN tag if popped out and they also count the PW CW if included in the packet When the ...

Page 341: ... queue group on each LAG port will have a rate of 100Mbps Adding a Queue Group to an Existing LAG A queue group must be created on the primary lowest port ID port of the LAG If an attempt is made to create a queue group on a port other than the primary the attempt will fail When the group is define on the primary port the system will attempt to create the queue group on each port of the LAG If suf...

Page 342: ...ality of Service Guide Adding a Port to a LAG When adding a port to a LAG group the port must have the same queue groups defined as the existing ports on the LAG before it will be allowed as a member This includes all queue group override parameters ...

Page 343: ...Ingress and Egress Queue Group Creation and Redirection 7950 XRS Quality of Service Guide Page 343 ...

Page 344: ...ess Traffic on Port on page 354 Configuring Queue Group for Network Ingress Traffic on Forwarding Plane on page 355 Using Queue Groups to Police Ingress Egress Traffic on Network Interface on page 356 Configuring Ingress Egress PW Shaping Using Spoke SDP Forwarding Class Based Redirection on page 358 Specifying QoS Policies on Service SAPs on page 361 Configuring an Ingress Queue Group Template Th...

Page 345: ...eue group QG_egress_1 create description Egress queue group queue 1 best effort create mbs 100 exit queue 2 best effort create mbs 100 exit queue 3 best effort create mbs 100 exit queue 4 best effort create mbs 100 exit exit exit A Dut T cfg qos qgrps NOTE To fully use the queue group feature to save queues you must explicitly map all forwarding classes to queue group queues This rule is applicabl...

Page 346: ...roup queue group name specified A Dut T config qos sap ingress info queue 1 create exit queue 11 multipoint create exit fc af create queue 2 group QG_ingress_1 exit fc be create queue 1 group QG_ingress_1 exit fc ef create queue 3 group QG_ingress_1 exit fc nc create queue 4 group QG_ingress_1 exit dot1p 0 fc be dot1p 2 fc af dot1p 4 fc ef dot1p 6 fc nc A Dut T config qos sap ingress ...

Page 347: ...e following display a SAP egress policy configuration with group queue group name specified A Dut T config qos sap egress info queue 1 create exit fc af create queue 2 group QG_egress_1 exit fc be create queue 1 group QG_egress_1 exit fc ef create queue 3 group QG_egress_1 exit fc nc create queue 4 group QG_egress_1 exit A Dut T config qos sap egress ...

Page 348: ...reate rate 50000 exit fc af create queue 3 port redirect group queue hsmda queue 3 port redirect group queue exit exit fc be create queue 3 port redirect group queue hsmda queue 3 port redirect group queue exit exit fc ef create policer 8 port redirect group queue hsmda queue 3 port redirect group queue exit exit fc h1 create queue 3 port redirect group queue hsmda queue 3 port redirect group queu...

Page 349: ...ect group queue exit exit fc nc create queue 3 port redirect group queue hsmda queue 3 port redirect group queue exit exit This is to be in conjunction with A Dut A configure service vpls 1 A Dut A config service vpls info stp shutdown exit sap 9 1 2 1 create egress qos 3 port redirect group qg1 instance 101 exit exit ...

Page 350: ...the queue id within the queue group Map forwarding classes to queue group queues Identify or create the SAP ingress QoS policy that will be used on the ingress SAP where queue redirection is desired Map the desired forwarding classes to the queue group name and the specific queue ID within the group Apply the SAP ingress QoS policy Identify or create the ingress SAP requiring forwarding class redi...

Page 351: ...Quality of Service Guide Page 351 A Dut T config port configure port 9 2 2 A Dut T config port info ethernet mode access access ingress queue group QG_ingress_1 create exit exit egress queue group QG_egress_1 create exit exit exit exit no shutdown A Dut T config port ...

Page 352: ...gress queue group QG_ingress_1 create queue overrides queue 2 create rate 800000 cir 20000 exit exit exit exit egress queue group QG_egress_1 create exit exit exit exit no shutdown A Dut T config port configure port 9 2 2 A Dut T config port info ethernet mode access access ingress queue group QG_ingress_1 create exit exit egress queue group QG_egress_1 create queue overrides queue 3 create rate 1...

Page 353: ...egress SAP where policy based queue re direction is desired Map the desired forwarding classes to the queue group name and the specific queue ID within the group with the group keyword Apply the SAP egress QoS policy Identify or create the egress SAP requiring forwarding class redirection to the queue group Assign the QoS policy to the SAP For SAP based redirection Map a Forwarding Class to the qu...

Page 354: ...optional Map a Forwarding Class to the queue id within the queue group Identify or create the network QoS policy that will be used on the egress IP interface where queue redirection is desired Map the desired egress forwarding classes within the network QoS policy to the specific queue IDs and or policer IDs within the group the group name will be supplied when the QoS policy is applied to the IP ...

Page 355: ...ame as the template in the FP ingress network configuration context An instance ID is mandatory Map a Forwarding Class to the policer id within the queue group Identify or create the network QoS policy that will be used on the ingress IP interface where queue redirection is desired Map the desired ingress forwarding classes within the network QoS policy to the specific policer IDs within the group...

Page 356: ...Egress_QG_1 create queue 1 best effort create exit policer 2 create rate 9000 exit exit exit exit network 2 create ingress fc be fp redirect group policer 2 exit exit egress fc be port redirect group policer 2 exit exit exit card 1 card type xcm x20 mda 1 mda type cx20 10g sfp no shutdown exit fp 1 ingress network queue group Ingress_QG_1 instance 550 create exit exit exit exit no shutdown port 1 ...

Page 357: ...S Quality of Service Guide Page 357 exit exit exit exit no shutdown exit router interface to D address 10 10 11 3 24 port 1 1 3 qos 2 egress port redirect group Egress_QG_1 egress instance 550 ingress fp redirect group Ingress_QG_1 ingress instance 550 no shutdown ...

Page 358: ... exit policer 4 create exit exit exit egress queue group QGEgr1 create queue 1 best effort create exit policer 1 create exit policer 2 create exit policer 3 create exit policer 4 create exit exit exit exit exit network 10 create ingress lsp exp 0 fc be profile out lsp exp 1 fc be profile out lsp exp 2 fc be profile out lsp exp 3 fc be profile out lsp exp 4 fc be profile out lsp exp 5 fc be profile...

Page 359: ...xit exit exit exit echo Card Configuration card 3 fp 1 ingress network queue group QGIng1 instance 1 create exit queue group QGIng1 instance 2 create exit exit exit exit exit echo Port Configuration port 3 2 1 ethernet encap type dot1q network egress queue group QGEgr1 instance 1 create exit queue group QGEgr1 instance 2 create exit exit exit exit no shutdown A Dut T config service customer 1 crea...

Page 360: ...e XYZ Vpls 1 sap 9 2 1 1 create description Default sap description for service id 1 static mac 00 00 1e 00 01 02 create ingress qos 10 exit exit spoke sdp 1 101 vc type vlan create description Description for Sdp Bind 1 for Svc ID 1 ingress qos 10 fp redirect group QGIng1 instance 1 exit egress qos 10 port redirect group QGEgr1 instance 1 exit static mac 00 00 28 00 01 02 create no shutdown exit ...

Page 361: ...g QoS Policies on Service SAPs The following output displays a VPLS service configuration example A Dut T config service vpls info stp shutdown exit sap 9 2 1 create ingress qos 10 exit egress qos 10 exit exit sap 9 2 2 create ingress qos 10 exit egress qos 10 exit exit no shutdown A Dut T config service vpls ...

Page 362: ...Configuring Ingress Egress PW Shaping Using Spoke SDP Forwarding Class Based Redirection Page 362 7950 XRS Quality of Service Guide ...

Page 363: ...t cir max min closest no adaptation rule adv config policy policy name no adv config policy description description string no description cbs size bytes kilobytes default no cbs high prio only percent of mbs no high prio only mbs size bytes kilobytes default no mbs packet byte offset add bytes subtract bytes no packet byte offset parent root arbiter name level level weight weight within level no p...

Page 364: ... no cbs high prio only percent no high prio only mbs size bytes kilobytes no mbs parent scheduler name weight weight level level cir weight cir weight cir level cir level no parent percent rate per percent cir cir percent no percent rate port parent weight weight level level cir weight cir weight cir level cir level no port parent rate pir rate cir cir rate no rate packet byte offset policy slope ...

Page 365: ...ffset add bytes subtract bytes no packet byte offset parent root arbiter name level level weight weight within level no parent rate max kilobits per second cir max kilobits per second no rate stat mode no stats minimal offered profile no cir offered profile cir offered total cir no stat mode queue queue id multipoint queue type queue mode cre ate no queue queue id adaptation rule pir adaptation ru...

Page 366: ...Command Hierarchies Page 366 7950 XRS Quality of Service Guide no parent rate pir rate cir cir rate rate pir rate police no rate ...

Page 367: ...gress egress queue group name statistics associations Monitor Commands monitor card slot number fp fp number ingress access network queue group queue group name instance instance id interval seconds repeat repeat policer policer id absolute percent rate reference rate arbiter root name qos arbiter stats card slot number fp fp number queue group queue group name instance instance id ingress access ...

Page 368: ...Command Hierarchies Page 368 7950 XRS Quality of Service Guide ...

Page 369: ...on file for a configuration context The description command associates a text string with a configuration context to help identify the content in the configuration file The no form of this command removes the string from the configuration Default none Parameters string The description character string Allowed values are any string up to 80 characters long composed of printable 7 bit ASCII characte...

Page 370: ...ate The system does not maintain default queue groups or queue group templates Each queue group template used in the system must be explicitly created The queue group name parameter is required when executing the queue group command and identifies the name of the template to be either created or edited Each ingress queue group template must be uniquely named within the system Multiple ingress queu...

Page 371: ...at have dedicated counters policers allow various stat mode settings which define the counters that will be associated with the policer Another supported feature packet byte offset provides a policer with the ability to modify the size of each packet based on a defined number of bytes Once a policer is created it cannot be deleted from the queue group template unless any forwarding classes that ar...

Page 372: ...fc name A valid forwarding class must be specified as fc name when the fc command is executed When the fc fc name command is successfully executed the system will enter the specified forwarding class context where the queue queue id command may be executed Values be l1 af l2 h1 ef h2 or nc Default None policer Syntax policer policer id no policer Context config qos queue group templates ingress qu...

Page 373: ...ication Values 1 32 ingress 1 8 egress port redirect group Syntax port redirect group queue queue id policer policer id queue queue id no port redirect group Context config qos network egress fc Description This command is used to redirect the FC of a packet of a PW or network IP interface to an egress port queue group It defines the mapping of a FC to a queue id or a policer id and a queue id and...

Page 374: ... id must exist within the queue group template applied to the ingress context of the forwarding plane Values 1 8 fp redirect group Syntax fp redirect group multicast policer policer id no fp redirect group multicast policer Context config qos network ingress fc Description This command is used to redirect the FC of a multicast packet of a pseudowire or network IP interface to an ingress forwarding...

Page 375: ...g qos qgrpid egr qgrp queue config qos qgrpid ing qgrp queue config qos qgrpid ing qgrp policer 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 The no form of the...

Page 376: ...to be applied with this policer Parameters adv config policy name Specifies an existing advanced configuration policy up to 32 characters in length burst limit Syntax burst limit default size byte kilobyte no burst limit Context config qos qgrps egr qgrp queue config qos qgrpid ing qgrp queue Description The queue burst limit command is used to define an explicit shaping burst size for a queue The...

Page 377: ...r bytes nor kilobytes is specified the default qualifier is kilobytes cbs Syntax cbs size in kbytes no cbs Context config qos qgrps egr qgrp queue config qos qgrpid ing qgrp queue config qos qgrpid egr qgrp policer config qos qgrpid ing qgrp policer Description The cbs command is used to define the default committed buffer size for the template queue or the CBS for the template policer Overall the...

Page 378: ...or queues the Maximum Burst Size MBS command the default maximum buffer size for the template queue The value is given in kilobytes The MBS value is used by a queue to determine whether it has exhausted all of its buffers while enqueuing packets Once the queue has exceeded the amount of buffers allowed by MBS all packets are discarded until packets have been drained from the queue The port Etherne...

Page 379: ...no form of this command returns the MBS size assigned to the queue to the value Default 64 kilobytes when PIR max otherwise 10ms volume of traffic for a configured non zero non max PIR Parameters size bytes kilobytes For queues the size parameter is an integer expression of the maximum number of bytes or kilobytes of buffering allowed for the queue For a value of 100 kbps enter the value 100 A val...

Page 380: ...the available bandwidth given the queue aside from the queue s PIR setting When multiple schedulers and or queues share a child status with the parent scheduler the weight or level parameters define how this queue contends with the other children for the parent s bandwidth Checks are not performed to see if a scheduler name exists when the parent command is defined on the queue Scheduler names are...

Page 381: ...me Any queues or schedulers defined as weighted receive no parental bandwidth until all strict queues and schedulers on the parent have reached their maximum bandwidth or are idle In this manner weighted children are considered to be the lowest priority All weight values from all weighted active queues and schedulers with a common parent scheduler are added together Then each individual active wei...

Page 382: ...d For example when the same template is used to create a queue group on a 1 Gigabit and a 10 Gigabit Ethernet port the queue s rates will be 10 times greater on the 10 Gigabit port due to the difference in port speeds This enables the same template to be used on multiple ports without needing to use port based queue overrides to modify a queue s rate to get the same relative performance from the q...

Page 383: ...ter Values 0 100 Default 1 level level Defines the port priority the queue or scheduler will use to receive bandwidth for its above cir offered load Values 1 8 8 is the highest priority Default 1 cir weight cir weight Defines the weight the queue or scheduler will use at the within cir port priority level defined by the cir level parameter The weight is specified as an integer value from 0 to 100 ...

Page 384: ...n of the SAP egress QoS policy with the queue id or policer id The no form of the command returns all queues or policer created with the queue id or policer id by associ ation with the QoS policy to the default PIR and CIR parameters max 0 Default rate max cir 0 The max default specifies the amount of bandwidth in kilobits per second thousand bits per second The max value is mutually exclusive to ...

Page 385: ...ce Guide Page 385 configured If the policer rate is set to a value larger than the maximum rate possible for the card then the CIR used is equivalent to max Values Queue 0 100000000 max Values Policer 0 2000000000 max Default 0 ...

Page 386: ...ates and weights if a Weighted Scheduler Group is used are always on the wire rates and thus use the actual frame size The same goes for the agg rate limit on a SAP a subscriber or a Multi Service Site MSS when the queue is port parented When the user enables frame based accounting in a scheduler policy or queue frame based accounting with agg rate limit in a port scheduler policy the queue rate w...

Page 387: ...ommand is executed the queue will at that point be automatically moved to its own WRED pool Each pool created for a queue using the wred queue command shares buffers with all other wred queue enabled queues on the same The WRED pool buffer management behavior is defined within the config card fp egress wred queue control context The WRED slopes within the pool are defined by the slope policy assoc...

Page 388: ...up templates can be applied to ingress ports to create an ingress queue group of the same name An ingress template must be created for a group name prior to creating a queue group with the same name on an ingress port Default none queue Syntax queue queue id multipoint queue type queue mode create no queue queue id Context cfg qos qgrps egr qgrp cfg qos qgrps ing qgrp Description This command crea...

Page 389: ...ng classes mapped to the queue queue mode These keywords are optional and mutually exclusive when creating a new template queue The keywords specify how the queue manages ingress explicitly profiled packets Values profile mode Overrides the default priority mode of the queue and allows the adoption of color aware profiling within the queue Forwarding classes and sub classes may be explicitly defin...

Page 390: ...d for the child queue during bandwidth allocation by the parent scheduler The rate command can be executed at anytime altering the PIR and CIR rates for all queues created through the association of the SAP ingress or SAP egress QoS policy with the queue id The no form of the command returns all queues created with the queue id by association with the QoS pol icy to the default PIR and CIR paramet...

Page 391: ...es the queue group policer that will either be created or edited within the queue group template Values 1 32 create This optional keyword creates an ingress queue group policer profile capped Syntax profile capped no profile capped Context cfg qos qgrps ing qgrp policer Description This command enables a limit on the profile Default no profile capped packet byte offset Syntax packet byte offset ad...

Page 392: ...ed within double quotes Default None Each parental association must be explicitly defined weight within level weight defines the relative weight of this queue in comparison to other child schedulers and queues while vying for bandwidth on the parent scheduler name Any queues or schedulers defined as weighted receive no parental bandwidth until all strict queues and schedulers on the parent have re...

Page 393: ...tics mode for the QoS ingress queue group policer Default none Parameters no stat Selects no statistics as the statistics mode minimal Selects minimal statistics as the statistics mode offered profile no cir Selects no offered profile CIR statistics as the statistics mode offered priority no cir Selects no offered priority CIR statistics as the statistics mode offered limited profile cir Selects l...

Page 394: ...ions Displays the entities associated with the specified queue group name detail Displays detailed queue group information for the specified queue group name summary Displays the total number of queue group instance per card Sample Output A Dut T cfg qos qgrps egr qgrp show qos queue group egress Queue Group Egress Group Name Description QG_egress_1 Egress queue group A Dut T A Dut T show qos queu...

Page 395: ...2 1 0 No 9 2 2 0 No Queue Group Ports network Port Sched Pol Acctg Pol Stats Description 6 1 1 0 No Queue Group Sap FC Maps Sap Policy FC Name Queue Id 10 af 2 10 be 1 10 ef 3 10 nc 4 Entries found 4 A Dut T A Dut T show qos queue group egress QG_egress_1 association QoS Queue Group Egress QoS Queue Group Group Name QG_egress_1 Description Egress queue group Queue Group Ports access Port Sched Pol...

Page 396: ...ess QG templates per system num Total egress QG templates per system num The total number of queue group instance per card A Dut T show qos queue group ingress Queue Group Ingress Group Name Description QG_ingress_1 Ingress queue group A Dut T A Dut T show qos queue group ingress detail QoS Queue Group Ingress QoS Queue Group Group Name QG_ingress_1 Description Ingress queue group Queue Mode CIR A...

Page 397: ...Stats Description 9 2 1 0 No 9 2 2 0 No Queue Group Sap FC Maps Sap Policy FC Name Queue id type 10 af 2 Unicast 10 be 1 Unicast 10 ef 3 Unicast 10 nc 4 Unicast Entries found 4 A Dut T A Dut T show qos queue group ingress association QoS Queue Group Ingress QoS Queue Group Group Name QG_ingress_1 Description Ingress queue group Queue Group Ports Port Sched Pol Acctg Pol Stats Description 9 2 1 0 N...

Page 398: ...er system 3 Total egress QG templates per system 5 A Dut T Related queue group command output A Dut T show card 9 fp 1 ingress queue group QGIng1 mode network instance 1 statistics Card 9 Net QGrp QGIng1 Instance 1 Group Name QGIng1 Description Not Specified Pol Ctl Pol pcp Acct Pol None Collect Stats disabled Statistics Packets Octets Ing Policer 1 Grp QGIng1 Stats mode minimal Off All 91836202 9...

Page 399: ... Grp QGIng1 Stats mode minimal Off All 93584703 90933906888 Dro All 24877214 22616941944 For All 68707489 68316964944 Ing Policer 8 Grp QGIng1 Stats mode minimal Off All 93430663 90919119048 Dro All 24723280 22602263280 For All 68707383 68316855768 Ing Policer 9 Grp QGIng1 Stats mode minimal Off All 0 0 Dro All 0 0 For All 0 0 Ing Policer 10 Grp QGIng1 Stats mode minimal Off All 0 0 Dro All 0 0 Fo...

Page 400: ... Disabled MaxPIR 1500 ConsumedByChildren 1500 OperPIR 1500 OperFIR 1500 DepthPIR 205904 bytes Priority 8 Oper Thresh Unfair 311296 Oper Thresh Fair 425984 Association count 0 Priority 7 Oper Thresh Unfair 311296 Oper Thresh Fair 425984 Association count 0 Priority 6 Oper Thresh Unfair 311296 Oper Thresh Fair 425984 Association count 0 Priority 5 Oper Thresh Unfair 311296 Oper Thresh Fair 425984 As...

Page 401: ... 0 OperFIR 128 PacketByteOffset 0 StatMode minimal Level 1 Weight 1 Assigned PIR 125 Offered 9966 Consumed 125 Assigned FIR 125 P Policer Net FPQG 1 T3 1 3 MaxPIR max MaxCIR 0 CBS 0 MBS 20480 HiPrio 2048 Depth 18256 OperPIR 128 OperCIR 0 OperFIR 128 PacketByteOffset 0 StatMode minimal Level 1 Weight 1 Assigned PIR 125 Offered 9966 Consumed 125 Assigned FIR 125 P Policer Net FPQG 1 T3 1 2 MaxPIR ma...

Page 402: ...IR 125 A HIGH QGrp QGIng1 Instance 1 MaxPIR 1000 ConsumedByChildren 1000 OperPIR 1000 OperFIR 1000 Level 2 Weight 1 Assigned PIR 1000 Offered 1000 Consumed 1000 Assigned FIR 1000 P Policer Net FPQG 1 T3 1 8 MaxPIR max MaxCIR 0 CBS 0 MBS 20480 HiPrio 2048 Depth 21353 OperPIR 250 OperCIR 0 OperFIR 250 PacketByteOffset 0 StatMode minimal Level 1 Weight 1 Assigned PIR 250 Offered 9966 Consumed 250 Ass...

Page 403: ...d 250 Assigned FIR 250 P Policer Net FPQG 1 T3 1 5 MaxPIR max MaxCIR 0 CBS 0 MBS 20480 HiPrio 2048 Depth 21065 OperPIR 250 OperCIR 0 OperFIR 250 PacketByteOffset 0 StatMode minimal Level 1 Weight 1 Assigned PIR 250 Offered 9967 Consumed 250 Assigned FIR 250 A Dut T A Dut T show qos policer port 9 2 4 network egress queue group QGEgr1 instance 1 Policer Information Summary Slot 9 Name FC Maps MBS H...

Page 404: ...roup QGEgr1 instance 1 detail Policer Info Net PQG 9 2 4 QGEgr1 1 8 Slot 9 Policer Name Net PQG 9 2 4 QGEgr1 1 8 Direction Egress Fwding Plane 1 Depth PIR 1026 Bytes Depth CIR 0 Bytes Depth FIR 1026 Bytes MBS 64 KB CBS 0 KB Hi Prio Only 8 KB Pkt Byte Offset 0 Admin PIR Max Admin CIR 0 Kbps Oper PIR Max Oper CIR 0 Kbps Oper FIR Max Stat Mode minimal Parent Arbiter Name Not Specified Arbiter Member ...

Page 405: ...ps Oper PIR Max Oper CIR 0 Kbps Oper FIR Max Stat Mode minimal Parent Arbiter Name Not Specified Arbiter Member Information Offered Rate 0 Kbps Level 0 Weight 0 Parent PIR 0 Kbps Parent FIR 0 Kbps Consumed 0 Kbps Policer Info Net PQG 9 2 4 QGEgr1 1 5 Slot 9 Policer Name Net PQG 9 2 4 QGEgr1 1 5 Direction Egress Fwding Plane 1 Depth PIR 1026 Bytes Depth CIR 0 Bytes Depth FIR 1026 Bytes MBS 64 KB CB...

Page 406: ...QGEgr1 1 3 Slot 9 Policer Name Net PQG 9 2 4 QGEgr1 1 3 Direction Egress Fwding Plane 1 Depth PIR 1026 Bytes Depth CIR 0 Bytes Depth FIR 1026 Bytes MBS 64 KB CBS 0 KB Hi Prio Only 8 KB Pkt Byte Offset 0 Admin PIR Max Admin CIR 0 Kbps Oper PIR Max Oper CIR 0 Kbps Oper FIR Max Stat Mode minimal Parent Arbiter Name Not Specified Arbiter Member Information Offered Rate 0 Kbps Level 0 Weight 0 Parent P...

Page 407: ...rent Arbiter Name Not Specified Arbiter Member Information Offered Rate 0 Kbps Level 0 Weight 0 Parent PIR 0 Kbps Parent FIR 0 Kbps Consumed 0 Kbps Network Interface Association No Association Found SDP Association Policer Info 1 1 101 10 Slot 9 Policer Info 1 2 102 10 Slot 9 Policer Info 1 3 103 10 Slot 9 Policer Info 1 4 104 10 Slot 9 Policer Info 1 5 105 10 Slot 9 Policer Info 1 6 106 10 Slot 9...

Page 408: ...204 Egress Policer 3 Group QGEgr1 Instance Id 1 Stats mode minimal Off All 22133354 22708821204 Dro All 0 0 For All 22133354 22708821204 Egress Policer 4 Group QGEgr1 Instance Id 1 Stats mode minimal Off All 22133354 22708821204 Dro All 0 0 For All 22133354 22708821204 Egress Policer 5 Group QGEgr1 Instance Id 1 Stats mode minimal Off All 22133355 22708822230 Dro All 0 0 For All 22133355 227088222...

Page 409: ...e Group QGEgr1 Policer 7 Queue Group QGEgr1 Policer 8 A Dut T A Dut T show qos queue group QGIng1 ingress association QoS Queue Group Ingress QoS Queue Group Group Name QGIng1 Description Description for Ingress queue group QGIng1 Queue Group Ports Port Sched Pol Acctg Pol Stats Description No Matching Entries Queue Group Sap FC Maps Sap Policy FC Name Queue id type No Matching Entries Queue Group...

Page 410: ...88 At time t 11 sec Mode Delta Packets Octets Ing Policer 1 Grp QGIng1 Stats mode minimal Off All 16190 16125240 Dro All 16010 15945960 For All 180 179280 C A Dut T A Dut T config qos sap ingress show card 3 fp 1 ingress queue group QGIng3 instance 1 mode access detail Card 3 Acc QGrp QGIng3 Instance 1 Group Name QGIng3 Description Not Specified Pol Ctl Pol None Acct Pol None Collect Stats disable...

Page 411: ...rof 0 0 Off Uncolor 24634863 1675170684 Dro InProf 0 0 Dro OutProf 0 0 For InProf 240244 16336592 For OutProf 24394619 1658834092 A Dut T config qos sap ingress A Dut A show card 9 fp 1 ingress mode access queue group Ingress_QG_1 instance 2838 statistics Card 9 Acc QGrp Ingress_QG_1 Instance 2838 Group Name Ingress_QG_1 Description Not Specified Pol Ctl Pol None Acct Pol None Collect Stats disabl...

Page 412: ... For All 3778256 483616768 A Dut A show card 9 fp 1 ingress mode access queue group Ingress_QG_1 instance 2838 statistics Card 9 Acc QGrp Ingress_QG_1 Instance 2838 Group Name Ingress_QG_1 Description Not Specified Pol Ctl Pol None Acct Pol None Collect Stats disabled Statistics Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats mode minimal Off All 65347348 8364460544 Dro All 61569092 7880843776...

Page 413: ...9220736 Dro All 8754737 1120606336 For All 536050 68614400 At time t 33 sec Mode Delta Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats mode minimal Off All 9291993 1189375104 Dro All 8753745 1120479360 For All 538248 68895744 At time t 44 sec Mode Delta Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats mode minimal Off All 9289980 1189117440 Dro All 8752910 1120372480 For All 537070 68744960...

Page 414: ...Delta Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats mode minimal Off All 9290723 1189212544 Dro All 8753612 1120462336 For All 537111 68750208 At time t 99 sec Mode Delta Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats mode minimal Off All 9290589 1189195392 Dro All 8753485 1120446080 For All 537104 68749312 At time t 110 sec Mode Delta Packets Octets Ing Policer 2 Grp Ingress_QG_1 Stats...

Page 415: ... QoS policy information Queue group information is displayed in the FC section Parameters policy id The SAP egress policy ID that uniquely identifies the policy association Displays the entities associated with the specified policy ID match criteria Displays match criteria when this keyword is specified detail Displays detailed information about the specified SAP egress policy pools Syntax pools m...

Page 416: ... Acc Egr Pool Name default Resv CBS Sum Queue Groups QG_egress_1 Utilization State Start Avg Max Avg Max Prob High Slope Down 70 90 80 Low Slope Down 50 75 80 Time Avg Factor 7 Pool Total 6336 KB Pool Shared 4416 KB Pool Resv 1920 KB Pool Total In Use 0 KB Pool Shared In Use 0 KB Pool Resv In Use 0 KB WA Shared In Use 0 KB Hi Slope Drop Prob 0 Lo Slope Drop Prob 0 Name FC Maps MBS HP Only A PIR A ...

Page 417: ...A Shared In Use 0 KB Hi Slope Drop Prob 0 Lo Slope Drop Prob 0 Name FC Maps MBS HP Only A PIR A CIR CBS Depth O PIR O CIR QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max ...

Page 418: ..._1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 1 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1...

Page 419: ...rp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 2 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_in...

Page 420: ...102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 3 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 10...

Page 421: ...1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a 102 9 1000000 0 0 0 Max 0 QGrp QG_ingress_1 9 2 1 4 n a ...

Page 422: ...ociations Displays the entities associated with the specified queue group name Sample Output A Dut T config port show port 9 2 1 queue group ingress Ethernet port 9 2 1 Access Ingress queue group Group Name QG_ingress_1 Description Not Specified Sched Policy None Acct Pol None Collect Stats disabled Queues Ing QGroup QG_ingress_1 Queue Id 1 Unicast Priority Description Ingress queue group Admin PI...

Page 423: ... PIR Rule closest CIR Rule closest CBS def MBS 100 Hi Prio def Egr QGroup QG_egress_1 Queue Id 2 Description Egress queue group Admin PIR max Admin CIR 0 PIR Rule closest CIR Rule closest CBS def MBS 100 Hi Prio def Egr QGroup QG_egress_1 Queue Id 3 Description Egress queue group Admin PIR 1500000 Admin CIR 2000 PIR Rule closest CIR Rule closest CBS def MBS 100 Hi Prio def Egr QGroup QG_egress_1 Q...

Page 424: ... OutProf 0 0 Egress Queue 2 Group QG_egress_1 For InProf 0 0 For OutProf 40661626 2764990568 Dro InProf 0 0 Dro OutProf 0 0 Egress Queue 3 Group QG_egress_1 For InProf 0 0 For OutProf 40661628 2764990704 Dro InProf 0 0 Dro OutProf 0 0 Egress Queue 4 Group QG_egress_1 For InProf 0 0 For OutProf 40661629 2764990772 Dro InProf 0 0 Dro OutProf 0 0 A Dut T config port ...

Page 425: ...twork Displays policer statistics on the FP network queue group queue group name Specifies the name of the queue group up to 32 characters in length instance instance id Specifies the identification of a specific instance of the queue group Values 1 65535 interval seconds Configures the interval for each display in seconds Default 11 seconds Values 11 60 repeat repeat Configures how many times the...

Page 426: ...tistics applied on the ingress FP access Displays policer statistics on the FP access network Displays policer statistics on the FP network queue group queue group name Specifies the name of the queue group up to 32 characters in length instance instance id Specifies the identification of a specific instance of the queue group Values 1 65535 interval seconds Configures the interval for each displa...

Page 427: ...group queue group queue group name Specifies the name of the queue group up to 32 characters in length instance instance id Specifies the identification of a specific instance of the queue group Values 1 65535 interval seconds Configures the interval for each display in seconds Default 11 seconds Values 11 60 repeat repeat Configures how many times the command is repeated Default 10 Values 1 999 a...

Page 428: ...ic instance of the queue group Values 1 65535 ingress Specifies statistics are for an ingress queue group egress Specifies statistics are for an egress queue group interval seconds Configures the interval for each display in seconds Default 11 seconds Values 11 60 repeat repeat Configures how many times the command is repeated Default 10 Values 1 999 absolute When the absolute keyword is specified...

Page 429: ...iption no fc be l2 af l1 h2 ef h1 nc broadcast queue queue id no broadcast queue multicast queue queue id no multicast queue queue queue id no queue unknown queue queue id no unknown queue queue queue id queue type profile mode priority mode multipoint no queue queue id cbs percent no cbs high prio only percent no high prio only mbs percent no mbs rate percent cir percent no rate Show Commands sho...

Page 430: ...Configuration Commands Page 430 7950 XRS Quality of Service Guide ...

Page 431: ...ciates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 characters long composed of printable 7 bit AS...

Page 432: ...s defined in the network default policy policy id 1 Default See Default Shared Queue Policy Values on page 687 for undefined forwarding class values Parameters fc name The case sensitive system defined forwarding class name for which policy entries will be created Default none broadcast queue Syntax broadcast queue multipoint queue id Context config qos shared queue fc Description This command con...

Page 433: ...default queue for the forwarding class If the broadcast and unknown forwarding types were not explicitly defined to a multipoint queue they will also be set back to the default multipoint queue queue 11 Parameters queue id The queue id parameter specified must be an existing multipoint queue defined in the the config qos sap ingress context Values 9 16 Default 11 queue Syntax queue queue id no que...

Page 434: ... other queues associated with the same scheduler hierarchy An internal mechanism that provides access rules when the queue is vying for bandwidth with queues in other virtual schedulers is also needed A keyword must be specified at the time the queue is created in the SAP ingress policy If an attempt to change the keyword after the queue is initially defined an error is generated expedite This key...

Page 435: ...k MDA forwarding class queue or egress network port forwarding class queue The value is entered as a percentage The CBS for a queue is used to determine whether it has exhausted its reserved buffers while enqueu ing packets Once the queue has exceeded the amount of buffers considered in reserve for this queue it must contend with other queues for the available shared buffer space within the buffer...

Page 436: ...f queue buffers for use exclusively by high pri ority packets as a default condition for access buffer queues for this shared queue policy The difference between the MBS size for the queue and the high priority reserve defines the threshold where low priority traffic will be discarded The result is used on the queue to define a threshold where low priority packets are discarded leaving the rest of...

Page 437: ...ueuing packets Once the queue has exceeded its maximum amount of buffers all packets are discarded until the queue transmits a packet A queue that has not exceeded its MBS size is not guaranteed that a buffer will be available when needed or that the packet s RED slope will not force the discard of the packet Setting proper CBS parameters and controlling CBS oversubscription is one major safeguard...

Page 438: ...egress bandwidth The CIR defines the percentage at which the system prioritizes the queue over other queues compet ing for the same bandwidth For SAP ingress the CIR also defines the rate that packets are considered in profile by the system In profile packets are preferentially queued by the system at egress and at subsequent next hop nodes where the packet can traverse To be properly handled as i...

Page 439: ...nd the actual hardware where the queue is provisioned Values 0 100 max Default 100 cir percent Defines the percentage of the max rate allowed for the queue When the rate command is executed a CIR setting is optional When the rate command has not been executed or the cir parameter is not explicitly specified the default CIR 0 is assumed Fractional values are not allowed and must be given as a posit...

Page 440: ...eue policy Output Shared Queue QoS Policy Output Fields The following table describes shared queue QoS policy output fields Sample Output A ALA 1 config qos show qos shared queue default QoS Network Queue Policy Shared Queue Policy default Policy default Description Default Shared Queue Policy Associations No Matching Entries A ALA 1 config qos Table 28 Show QoS Shared Queue Output Fields Label De...

Page 441: ...ies In This Section This section provides information to configure QoS scheduler and port scheduler policies using the command line interface Topics in this section include Overview on page 442 Basic Configurations on page 465 Service Management Tasks on page 484 ...

Page 442: ...gregate bandwidth assigned to queues was not actually available at the port level When the HQoS algorithm configures queues with more bandwidth than available on an egress port actual bandwidth distribution to queues on the port will be solely based on the action of the hardware scheduler This can result in a forwarding rate at each queue that is very different than the desired rate The port based...

Page 443: ...ans receive bandwidth after all parented queues and schedulers and are allowed to consume whatever bandwidth is remaining This default behavior for orphans can be overridden on each port scheduler policy by defining explicit orphan port parent association parameters Ultimately any bandwidth allocated by the port scheduler is given to a child queue The bandwidth allocated to the queue is converted ...

Page 444: ...r To accommodate inactive queues the system calculates a Minimum Information Rate MIR for each queue To calculate each queue s MIR the system determines what that queue s Fair Information Rate FIR would be if that queue had actually been active during the latest iteration of the virtual scheduling algorithm For example if three queues are active 1 2 and 3 and two queues are inactive 4 and 5 the sy...

Page 445: ... Egress Rate Port Low Priority High Priority Low Priority Lowest Priority Highest Priority Lowest Priority Above CIR Strict Distribution Within CIR Weighted Distribution Priority 7 Above CIR Weighted Distribution Level Rate Limit Level Rate Limit Priority 2 Priority 1 Within CIR Weighted Distribution Priority 2 Above CIR Weighted Distribution Within CIR Weighted Distribution Priority 1 Above CIR W...

Page 446: ...ocated on a per service or per basis as opposed to a per class basis A common use of the two policy model is for a carrier of carriers mode of business In essence the goal of a carrier is to provide segments of bandwidth to providers who purchase that bandwidth as services While the carrier does not concern itself with the interior services of the provider it does however care how congestion affec...

Page 447: ...t priority and use weights to provide a weighted distribution between the service instances Higher weights provide for relatively higher amounts of bandwidth Figure 17 Schedulers on SAP or Multi Service Site Receive Bandwidth From Port Priority Levels OSSG132 SAP or MSS Port SAP or MSS SAP or MSS SAP or MSS SAP or MSS SAP or MSS Priority 1 Weighted Rate Limiting Scheduler Priority 2 Weighted Rate ...

Page 448: ... scheduler policy model Figure 18 also demonstrates the optional aggregate rate limiter at the SAP multi service site or level The aggregate rate limiter is used to define a maximum aggregate bandwidth at which the child queues can operate While the port level scheduler is allocating bandwidth to each child queue the current sum of the bandwidth for the service or is monitored Once the aggregate r...

Page 449: ...or MSS Port Agg Rate Limit Queue Queue Queue Priority 1 Weighted Rate Limiting Scheduler Priority 2 Weighted Rate Limiting Scheduler Port Strict Rate Limiting Scheduler Priority n Weighted Rate Limiting Scheduler SAP or MSS Agg Rate Limit Queue Queue Queue SAP or MSS Agg Rate Limit Queue Queue Queue SAP or MSS Agg Rate Limit Queue Queue Queue ...

Page 450: ...in cir bandwidth allocation pass The PIR value determines how much of the remaining offered load after within cir should be considered for the above cir bandwidth allocation pass For Ethernet queues queues associated with an egress Ethernet port the packet to frame conversion is relatively easy The system multiplies the number of offered packets by 20 bytes and adds the result to the offered octet...

Page 451: ...e Provisioned Highest Lowest Queue Strict Weighted Rate Limiting Scheduler Strict Weighted Rate Limiting Scheduler Highest Lowest Weighted Rate Limiting Scheduler Highest Egress Port Lowest Strict Priority Rate Limiting Scheduler Strict Weighted Rate Limiting Scheduler OSSG135 SAP Sub Queue Packet Provisioned MSS SAP Sub Scheduler Hierarchy Packet Provisioned Rate Limiting Port Priority Level Fram...

Page 452: ...ommand Once the port parent command is executed any local parent information for the queue is lost The queue can also be moved back to a local parent at anytime by executing the local parent command Lastly the local parent or port parent association can be removed at any time by using the no version of the appropriate parent command Service or Level Scheduler Parental Association Scope The port pa...

Page 453: ...s within the same priority A network queue s bandwidth is allocated using the within cir and above cir scheme normal for port schedulers Queue CIR and PIR percentages when port based schedulers are in effect will be based on frame offered load calculations Figure 21 demonstrates port based virtual scheduling bandwidth distribution A network queue with a port parent association exists on a port wit...

Page 454: ...t scheduler association as shown below Within CIR priority 1 Within CIR weight 0 Above CIR priority 1 Above CIR weight 0 The above CIR weight 0 value is only used for orphaned queues and schedulers on port scheduler enabled egress ports The system interprets weight 0 as priority level 0 and will only distribute bandwidth to level 0 once all other properly parented queues and schedulers have receiv...

Page 455: ...heduler policy or by a port virtual scheduler policy Egress queues can use either port or service schedulers to accomplish frame based accounting but ingress queues are limited to service based scheduling policies Turning on frame based accounting for a queue is accomplished through a frame based accounting command defined on the scheduling policy level associated with the queue or through a queue...

Page 456: ...ied during each iteration of the virtual scheduler to represent the provisioned frame based CIR and PIR Virtual Scheduler Rate and Queue Rate Parameter Interpretation Normally a scheduler policy contains rates that indicate packet based accounting values When the children queues associated with the policy are operating in frame based accounting mode the parent schedulers must also be governed by f...

Page 457: ...e rate limit command always interprets its configured rate limit value as a frame based rate Setting the frame based accounting parameter on the aggregate rate limit command only affects the queues managed by the aggregate rate limit and converts them from packet based to frame based accounting mode ...

Page 458: ...idth is allowed an operational PIR greater than its current rate this includes inactive queues The operational PIR for a queue is capped by its admin PIR and set to the queue s fair share of the available bandwidth based on its priority level in the HQoS hierarchy and its weight within that priority level The result is that between HQoS iterations a queue below its share of bandwidth may burst to ...

Page 459: ...d by the aggregate rates of each member queue after the first pass of the HQoS algorithm This represents the current bandwidth that may be distributed between the member queues LUB then distributes the available bandwidth to its member queues based on each queue s LUB weight A queue s LUB weight is determined as follows If a queue is using all of its default H QoS assigned rate then its LUB weight...

Page 460: ...described above Figure 23 Resulting Bandwidth Distribution l 0610 5 4 3 2 1 Level 100M CVLANs Scheduler Rate Queues No Traffic Offered Traffic 0 0 0 0 0 Each queue can burst to the full available capacity Each queue can burst to 1 5th of the available capacity 100 5 20 Each queue can burst to the available capacity at that level full capacity minus capacity used by higher levels Each queue can bur...

Page 461: ...ng defined on the port or intermediate schedulers Queues and schedulers that are either explicitly attached to the port scheduler using the port parent command or are attached to an intermediate scheduler hierarchy that is ultimately attached to the port scheduler are managed through the normal eight priority levels Queues and schedulers that are not attached directly to the port scheduler and are...

Page 462: ...hed by adding 20 bytes to each Ethernet frame offered at the queue level to calculate a frame based offered load Then the algorithm calculates the ratio increase between the packet based offered load and the frame based offered load and uses this ratio to adapt the CIR and rate PIR values for the queue to frame CIR and frame PIR values When a service level scheduler hierarchy is between the queues...

Page 463: ...uler policy is assigned on the egress side of a SAP or an agg rate limit cannot be assigned Since the sap egress policy defines a queue s parent association before the policy is associated with a service SAP or it is possible for the policy to either not define a port parent association or define an intermediate scheduler parenting that does not exist As stated above queues in this state are consi...

Page 464: ... rate cir cir rate Up to eight groups can be defined within each port scheduler policy One or more levels can map to the same group A group has a rate and optionally a cir rate and inherits the highest scheduling priority of its member levels In essence a group receives bandwidth from the port and distributes it within the member levels of the group according to the weight of each level within the...

Page 465: ...The description provides a brief overview of policy features Specify the tier level A tier identifies the level of hierarchy that a group of schedulers are associated with Specify a scheduler name A scheduler defines bandwidth controls that limit each child other schedulers and queues associated with the scheduler Specify a parent scheduler name to be associated with a level 2 or 3 tier You can mo...

Page 466: ...exit exit tier 3 scheduler Internet_be create parent NonVoice cir level 1 exit scheduler Internet_priority create parent NonVoice level 2 cir level 2 exit scheduler Internet_voice create parent Voice exit scheduler VPN_be create parent NonVoice cir level 1 exit scheduler VPN_nc create parent NetworkControl rate 100 cir 36 exit scheduler VPN_priority create parent NonVoice level 2 cir level 2 exit ...

Page 467: ...duler policy name IES Use the following CLI syntax to apply scheduler policies to ingress and or egress IES SAPs CLI Syntax config service ies service id customer customer id interface ip int name sap sap id egress scheduler policy scheduler policy name ingress scheduler policy scheduler policy name The following output displays an IES service configuration with scheduler policy SLA2 applied to th...

Page 468: ...Basic Configurations Page 468 7950 XRS Quality of Service Guide exit exit no shutdown exit A SR config service ...

Page 469: ...e 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 CLI Syntax config qos port scheduler policy scheduler policy name create description description string level priority level rate pir rate cir cir rate max rate rate orphan override level priority level weight weight cir level priority level cir ...

Page 470: ...width for its within cir offered load The cir weight is used when multiple queues or schedulers exist at the same port priority level for within cir bandwidth The weight value defines the relative ratio that is used to distribute bandwidth at the priority level when more within cir offered load exists than the port priority level has bandwidth A cir weight equal to zero the default value has speci...

Page 471: ...id create queue queue id auto expedite best effort expedite priority mode profile mode create port parent level priority level weight priority weight cir level cir priority level cir weight cir priority weight CLI Syntax config qos network queue network queue policy name create no network queue network queue policy name queue queue id multipoint auto expedite best effort expedite priority mode pro...

Page 472: ...igure qos port scheduler policy psp B ALU A config qos port sched plcy info max rate 413202 Before enabling dist lag rate shared in the port scheduler policy psp the max rate achieved is twice 413202 kbps 816Mbps This is because LAG has members from two different cards Two port scheduler instances are created one on each card with the max rate of 413202 kbps This can be confirmed using the followi...

Page 473: ...med 413202 w OperPIR 406494 As Parent OperPIR 406494 OperCIR 0 ConsumedByChildren 406494 Q 1 lag 30 2 1 6 1 AdminPIR 1000000 AdminCIR 0 Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 CBS 0 B MBS 1310720 B Depth 1045760 B HiPrio 262144 B CIR Assigned 0 Offered 0 Consumed 0 PIR Assigned 203247 Offered 1000000 Consumed 203247 OperPIR 205000 OperCIR 0 PktByteOffset add 0 OnTheWireRates false ...

Page 474: ...ned 0 w Offered 0 w Consumed 0 w Above CIR Level 1 Weight 0 Assigned 413202 w Offered 2000000 w without dist lag rate shared 413MB is assigned to slot 3 Consumed 413202 w TotalConsumed 413202 w OperPIR 406494 As Parent OperPIR 406494 OperCIR 0 ConsumedByChildren 406494 Q 1 lag 30 3 2 2 1 AdminPIR 1000000 AdminCIR 0 Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 CBS 0 B MBS 1253376 B Depth...

Page 475: ...sched plcy dist lag rate shared B ALU A config qos port sched plcy info dist lag rate shared max rate 413202 B ALU A config qos port sched plcy show B ALU A config qos port sched plcy show qos scheduler hierarchy sap lag 30 egress detail Scheduler Hierarchy Sap lag 30 Egress Scheduler Policy Legend real time dynamic value w Wire rates B Bytes Root Egr slot 2 S Tier0Egress 1 lag 30 0 0 1 Port lag 3...

Page 476: ...gned 101624 Offered 1000000 Consumed 101624 OperPIR 102000 OperCIR 0 PktByteOffset add 0 OnTheWireRates false ATMOnTheWireRates false LastMileOnTheWireRates false Q 1 lag 30 2 1 10 1 AdminPIR 1000000 AdminCIR 0 Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 CBS 0 B MBS 1310720 B Depth 1047040 B HiPrio 262144 B CIR Assigned 0 Offered 0 Consumed 0 PIR Assigned 101624 Offered 1000000 Consume...

Page 477: ...nsumedByChildren 203247 Q 1 lag 30 3 2 2 1 AdminPIR 1000000 AdminCIR 0 Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 CBS 0 B MBS 1253376 B Depth 1105728 B HiPrio 147456 B CIR Assigned 0 Offered 0 Consumed 0 PIR Assigned 101624 Offered 1000000 Consumed 101624 OperPIR 101500 OperCIR 0 PktByteOffset add 0 OnTheWireRates false ATMOnTheWireRates false LastMileOnTheWireRates false Q 1 lag 30 3...

Page 478: ...Threshold 0 Thres Last Cleared 06 25 2014 21 47 49 Threshold Action down Dynamic Cost false Encap Type null Configured Address 00 1a f0 1d 8b c9 Lag IfIndex 1342177310 Hardware Address 00 1a f0 1d 8b c9 Adapt Qos access distribute Hold time Down 0 0 sec Port Type standard Per Link Hash disabled Include Egr Hash Cfg disabled Per FP Ing Queuing disabled Per FP Egr Queuing disabled Per FP SAP Instanc...

Page 479: ... Level 1 Weight 0 Assigned 137734 w Offered 1000000 w Consumed 137734 w TotalConsumed 137734 w OperPIR 135498 As Parent OperPIR 135498 OperCIR 0 ConsumedByChildren 135498 Q 1 lag 30 2 1 6 1 AdminPIR 1000000 AdminCIR 0 Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 CBS 0 B MBS 1310720 B Depth 0 B HiPrio 262144 B CIR Assigned 0 Offered 0 Consumed 0 PIR Assigned 67749 Offered 0 Consumed 0 Op...

Page 480: ...AdminPIR 2000000 AdminCIR 0 sum Parent Limit Unused Bandwidth not found AvgFrmOv 101 65 AdminPIR 2000000 w AdminCIR 0 w Within CIR Level 0 Weight 0 Assigned 0 w Offered 0 w Consumed 0 w Above CIR Level 1 Weight 0 Assigned 275468 w Offered 2000000 w Consumed 275468 w TotalConsumed 275468 w OperPIR 270996 As Parent OperPIR 270996 OperCIR 0 ConsumedByChildren 270996 Q 1 lag 30 3 2 2 1 AdminPIR 100000...

Page 481: ...eWireRates false ATMOnTheWireRates false LastMileOnTheWireRates false B ALU A config qos port sched plcy The following output shows the max rate percent value B ALU A config qos port sched plcy info max rate percent 50 00 With max rate percent the max rate is capped to the percent of the active LAG capacity When max rate is configured as percentage and the dist lag rate shared is ignored The group...

Page 482: ...nt rate 70 00 percent cir 70 00 level 8 percent rate 80 00 percent cir 80 00 The following are additions to the to the show command output Dist Lag Rate Lvl and Group PIR and Cir Percent rates B ALU A config qos port sched plcy show qos port scheduler policy psp2 QoS Port Scheduler Policy Policy Name psp2 Description Not Specified Max Rate max Max Rate Percent 30 00 Dist LAG Rate True Last changed...

Page 483: ... 00 Lvl2 PIR max Lvl2 CIR max Lvl2 PIR Percent 20 00 Lvl2 CIR Percent 20 00 Lvl3 PIR max Lvl3 CIR max Lvl3 PIR Percent 30 00 Lvl3 CIR Percent 30 00 Lvl4 PIR max Lvl4 CIR max Lvl4 PIR Percent 40 00 Lvl4 CIR Percent 40 00 Lvl5 PIR max Lvl5 CIR max Lvl5 PIR Percent 50 00 Lvl5 CIR Percent 50 00 Lvl6 PIR max Lvl6 CIR max Lvl6 PIR Percent 60 00 Lvl6 CIR Percent 60 00 Lvl7 PIR max Lvl7 CIR max Lvl7 PIR P...

Page 484: ...e their parent scheduler association are deemed to be orphaned and are no longer subject to a virtual scheduler The SAPs that have ingress queues that rely on the schedulers enter into an orphaned state on one or more queues A QoS scheduler policy cannot be deleted until it is removed from all customer multi service sites or service SAPs where it is applied SR7 config qos no scheduler policy SLA2 ...

Page 485: ...on To delete a scheduler policy enter the following commands CLI Syntax config qos no scheduler policy network policy id Example config qos no scheduler policy SLA1 To delete a port scheduler policy enter the following commands CLI Syntax config qos no port scheduler policy network policy id Example config qos no port scheduler policy test1 ...

Page 486: ...ffic goes to this scheduler eventually rate 11000 exit exit tier 2 scheduler NetworkControl create description network control traffic within the VPN parent All_traffic level 3 cir level 3 rate 100 exit scheduler NonVoice create description NonVoice of VPN and Internet traffic will be serviced by this scheduler parent All_traffic cir level 1 rate 11000 exit scheduler Voice create description Any v...

Page 487: ...create description NonVoice of VPN and Internet traffic will be serviced by this scheduler parent All_traffic cir level 1 rate 11000 exit scheduler Voice create description Any voice traffic from VPN and Internet use this scheduler parent All_traffic level 2 cir level 2 rate 5500 exit exit tier 3 scheduler Internet_be create parent NonVoice cir level 1 exit scheduler Internet_priority create paren...

Page 488: ...olicies and entries in the CLI The changes are applied immediately to all customer multi service sites and service SAPs 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 489: ...percent rate rate pir rate cir cir rate no rate level priority level rate pir rate cir cir rate group name weight weight level priority level percent rate pir percent percent cir cir percent group name weight weight level priority level rate pir rate cir cir rate level priority level percent rate pir percent percent cir cir percent no level priority level level priority level rate pir rate cir cir...

Page 490: ...Command Hierarchies Page 490 7950 XRS Quality of Service Guide Show Commands show qos port scheduler policy port scheduler policy name association ...

Page 491: ...ion context The description command associates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 charac...

Page 492: ...exists Parameters scheduler policy src name dst name Indicates that the source policy and the destination policy are scheduler policy Specify the source policy that the copy command will attempt to copy from and specify the destination policy to which the command will copy a duplicate of the policy port scheduler policy src name dst name Indicates that the source policy and the destination policy ...

Page 493: ...ed invalid parent association and adversely affect the ability of the system to enforce service level agreements SLAs If a scheduler policy name does not exist it is assumed that an attempt is being made to create a new policy The success of the command execution is dependent on the following 1 The maximum number of scheduler policies has not been configured 2 The provided scheduler policy name is...

Page 494: ...he no frame based accounting command is used to return all schedulers within the policy and queues associated with the policy to the default packet based accounting mode If frame based accounting is not currently enabled for the scheduling policy the no frame based accounting command has no effect parent location Syntax parent location none sub vport no parent location Context config qos scheduler...

Page 495: ...dentifies the level of hierarchy that a group of schedulers are associated with Within a tier level a scheduler can be created or edited Schedulers created within a tier can only be a child take bandwidth from a scheduler in a higher tier Tier levels increase sequentially with 1 being the highest tier All tier 1 schedulers are considered to be root and cannot be a child of another scheduler Schedu...

Page 496: ...heduler name does not exist in this or another tier within the scheduler policy it is assumed that an attempt is being made to create a scheduler of that name The success of the command execution is dependent on the following 1 The maximum number of schedulers has not been configured 2 The provided scheduler name is valid 3 The create keyword is entered with the command if the system is configured...

Page 497: ...ion does not currently exist the command has no effect and returns without an error Once a parent association has been removed the former child scheduler attempts to operate based on its configured rate parameter Removing the parent association on the scheduler within the policy will take effect immediately on all schedulers with scheduler name that have been created using the scheduler policy nam...

Page 498: ... by the cir level parameter Within the strict cir level all cir weight values from active children at that level are summed and the ratio of each active child s cir weight to the total is used to distribute the available bandwidth at that level A cir weight is considered to be active when the queue or scheduler that the cir weight pertains to has not reached the CIR and still has packets to transm...

Page 499: ...sociated with a SAP or subscriber profile to enter an orphaned state If an instance of a queue is created on a port or channel that does not have a port scheduler enabled and the sap egress policy creating the queue has a port parent association the queue will be allowed to run according to its own rate parameters and will not be controlled by a virtual scheduling context If an instance of a queue...

Page 500: ... operating rate of the scheduler is limited by bandwidth constraints other then its maximum rate The scheduler s parent scheduler may not have the available bandwidth to meet the scheduler s needs or the bandwidth available to the parent scheduler could be allocated to other child schedulers or child queues on the parent based on higher priority The children of the scheduler may not need the maxim...

Page 501: ...the queue will operate To calculate the actual CIR rate the rate described by the rate pir pir rateis multiplied by the cir cir rate If the cir is set to max then the CIR rate is set to infinity The SAP ingress context for CIR is dependent on the defined forwarding class fc for the queue The default CIR and definable range is different for each class The CIR in effect for a queue defines both its ...

Page 502: ...t the command will fail Parameters port scheduler name Specifies an existing port scheduler name Each port scheduler must be uniquely named within the system and can be up to 32 ASCII characters in length dist lag rate shared Syntax no dist lag rate shared Context config qos port scheduler policy Description This command enables sharing of rates when the port on which this port scheduler policy is...

Page 503: ...bandwidth Note that CLI will enforce that mapping of levels to a group are contiguous In other words a user would not be able to add priority level to group unless the resulting set of priority levels is contiguous The no form of the command removes the group from the port scheduler policy Parameters name Specifies the name of the weighted scheduler group and can be up to 32 ASCII characters in le...

Page 504: ...00000000 max Kbps cir cir rate Specifies CIR rates Values 0 100000000 max Kbps level Syntax level priority level rate pir rate cir cir rate group name weight weight level priority level rate pir rate cir cir rate no level priority level Context config qos port scheduler policy Description This command configures an explicit within cir bandwidth limit and a total bandwidth limit for each port sched...

Page 505: ...s allocated to a priority level total for the within cir and above cir passes The cir keyword optionally limits the first pass bandwidth allocated to the priority level during the within cir pass When executing the level command at least one of the optional keywords rate or cir must be specified If neither keyword is included the command will fail If a previous explicit value for rate or cir exist...

Page 506: ...rate value for Ethernet ports If a max rate is defined that is smaller than the port rate the expressed kilobits per second value is used instead The max rate command is another way to sub rate the port The max rate command may be executed at anytime for an existing port scheduler policy When a new max rate is given for a policy the system evaluates all instances of the policy to see if the config...

Page 507: ...n queues and schedulers should be associated with when receiving bandwidth for the queue or schedulers within cir offered load The within cir offered load is the amount of bandwidth the queue or schedulers could use that is equal to or less than its defined or summed CIR value The summed value is only valid on schedulers and is the sum of the within cir offered loads of the children attached to th...

Page 508: ...ues and schedulers will use to receive bandwidth for its above cir offered load Values 1 8 8 is the highest priority Default 1 weight percent Defines the weight the orphan queues and schedulers will use in the above cir port priority level defined by the level parameter Values 1 100 Default 1 cir level priority level Defines the port priority the orphan queues and schedulers will use to receive ba...

Page 509: ...put Fields Label Description Policy Name Specifies the scheduler policy name Description A text string that helps identify the policy s context in the con figuration file Tier Specifies the level of hierarchy that a group of schedulers are associated with Scheduler Specifies the scheduler name Lvl Wt Specifies the priority level of the scheduler when compared to other child schedulers and queues v...

Page 510: ...ess Displays egress SAP customer scheduler stats detail Displays detailed information Output Show QoS Scheduler Hierarchy Customer Output The following table describes the customer scheduler hierarchy fields PIR Specifies the PIR rate CIR Specifies the CIR rate Parent Specifies the parent scheduler that governs the available band width given the queue aside from the queue s PIR setting Service Id ...

Page 511: ... at the same level Cir Lvl Wt Specifies the level of hierarchy when compared to other sched ulers and queues when vying for bandwidth on the parent sched uler Weight defines the relative weight of this queue as compared to other child schedulers and queues while vying for bandwidth on the parent scheduler PIR Specifies the PIR rate CIR Specifies the CIR rate Parent Specifies the parent scheduler t...

Page 512: ...formation egress Specifies to display egress queue group information Output Show QoS Scheduler Hierarchy Port Output The following table describes port scheduler hierarchy fields scheduler hierarchy sap Syntax scheduler hierarchy sap sap id scheduler scheduler name ingress egress detail Context show qos Description This command displays the scheduler hierarchy per SAP Parameters sap sap id Specifi...

Page 513: ...me The name of a scheduler configured in the config qos scheduler policy tier context scheduler stats customer Syntax scheduler stats customer customer id site customer site name scheduler scheduler name ingress egress Context show qos Description This command displays scheduler statistics information Table 31 Show QoS Scheduler Hierarchy SAP Output Fields Label Description Legend Admin CIR PIR Sp...

Page 514: ...Description Display the scheduler stats per SAP Parameters sap sap id The port number and encapsulation value used to identify the SAP scheduler scheduler name The name of an existing scheduler policy ingress Display only the policy displayed on the ingress SAP egress Display only the policy displayed on the egress SAP Output Show QoS Scheduler Stats SAP Output The following table describes the sc...

Page 515: ... of Service Guide Page 515 Ingress Schedulers Displays the egress scheduler name s Egress Schedulers Displays the ingress scheduler name s Table 33 Show QoS Scheduler Stats SAP Output Fields Continued Label Description ...

Page 516: ...ified existing scheduler policy Output Show QoS Port Scheduler Output The following table describes the QoS port scheduler policy fields Label Description Policy Name Displays the port scheduler policy name Max Rate Displays the explicit maximum frame based bandwidth limit of this port scheduler Lvlx PIR Displays the total bandwidth limit PIR for the specified priority level Lvlx CIR Displays the ...

Page 517: ...cent rate 60 00 percent cir 60 00 level 7 percent rate 70 00 percent cir 70 00 level 8 percent rate 80 00 percent cir 80 00 Overrides B vineshDut A config port info ethernet mode access egress scheduler policy psp2 egress scheduler override create max rate percent 50 00 level 1 percent rate 10 00 percent cir 10 00 level 2 percent rate 20 00 percent cir 20 00 level 3 percent rate 30 00 percent cir ...

Page 518: ...3 PIR max Lvl3 CIR max Lvl3 PIR Percent 30 00 Lvl3 CIR Percent 30 00 Lvl4 PIR max Lvl4 CIR max Lvl4 PIR Percent 40 00 Lvl4 CIR Percent 40 00 Lvl5 PIR max Lvl5 CIR max Lvl5 PIR Percent 50 00 Lvl5 CIR Percent 50 00 Lvl6 PIR max Lvl6 CIR max Lvl6 PIR Percent 60 00 Lvl6 CIR Percent 60 00 Lvl7 PIR max Lvl7 CIR max Lvl7 PIR Percent 70 00 Lvl7 CIR Percent 70 00 Lvl8 PIR max Lvl8 CIR max Lvl8 PIR Percent ...

Page 519: ...ide Page 519 Lvl6 PIR Percent 60 00 Lvl6 CIR Percent 60 00 Lvl7 PIR max Lvl7 CIR max Lvl7 PIR Percent 70 00 Lvl7 CIR Percent 70 00 Lvl8 PIR max Lvl8 CIR max Lvl8 PIR Percent 80 00 Lvl8 CIR Percent 80 00 means the value is inherited ...

Page 520: ...ers sap id Specifies the SAP assigned to the service scheduler name The name of the scheduler Values 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 ingress Display only the policy displayed on the ingress SAP egress Display only the p...

Page 521: ...olicies 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 522 Basic Configurations on page 523 Default Slope Policy Values on page 526 Deleting QoS Policies on page 527 ...

Page 522: ...pool objects Access egress pool Access ingress pool Network egress pool The overall node has one associated pool object Network ingress pool By default each pool is associated with slope policy default which disables the high slope and low slope parameters within the pool For information about the tasks and commands necessary to access the command line interface and to configure and maintain your ...

Page 523: ...r IP interface a default slope policy is applied To create a new slope policy define the following A slope policy ID value The system will not dynamically assign a value Include a description The description provides a brief overview of policy features The high slope for the high priority Random Early Detection RED slope graph The low slope for the low priority Random Early Detection RED slope gra...

Page 524: ...start avg percent max avg percent max prob percent no shutdown low slope low slope start avg percent max avg percent max prob percent no shutdown time average factor taf The following displays the slope policy configuration ALA 7 config qos info echo QoS Slope Queue Policies Configuration slope policy slopePolicy1 create description Test high slope no shutdown exit low slope no shutdown exit exit ...

Page 525: ...e following CLI syntax examples may be used to apply slope policies to CLI Syntax config card mda access ingress pool slope policy name config card mda network egress pool slope policy name The following CLI syntax example configures the PPP multilink pool CLI Syntax config card mda access egress pool slope policy name Ports The following CLI syntax examples may be used to apply slope policies to ...

Page 526: ...s the default configuration ALA 7 config qos slope policy info detail description Default slope policy high slope shutdown start avg 70 max avg 90 max prob 80 exit low slope shutdown start avg 50 max avg 75 max prob 80 exit time average factor 7 ALA 7 config qos slope policy Table 34 Slope Policy Defaults Field Default description Default slope policy high slope shutdown shutdown start age 70 max ...

Page 527: ...e policy has references ALA 7 config qos Global Use the following CLI syntax to remove slope policies from network egress and ingress pools CLI Syntax config card 1 mda 1 network ingress pool no slope policy name port The following CLI syntax examples can be used to remove slope policies from MDAs CLI Syntax config card mda access ingress pool no slope policy name config card mda network egress po...

Page 528: ...528 7950 XRS Quality of Service Guide 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 529: ...isplays the copied policies ALA 7 config qos info slope policy default create description Default slope policy high slope shutdown start avg 70 max avg 90 max prob 80 exit low slope shutdown start avg 50 max avg 75 max prob 80 exit time average factor 7 exit slope policy slopePolicy1 create description Default slope policy high slope shutdown start avg 70 max avg 90 max prob 80 exit low slope shut...

Page 530: ...Copying and Overwriting QoS Policies Page 530 7950 XRS Quality of Service Guide shutdown start avg 50 max avg 75 max prob 80 exit time average factor 7 exit ALA 7 config qos ...

Page 531: ...oS Policies You can change existing policies and entries in the CLI or NMS The changes are applied immediately to all services where this policy is applied To prevent configuration errors copy the policy to a work area make the edits and then write over the original policy ...

Page 532: ...Editing QoS Policies Page 532 7950 XRS Quality of Service Guide ...

Page 533: ...on string no description no high slope max avg percent no max avg max prob percent no max prob start avg percent no start avg no shutdown no low slope max avg percent no max avg max prob percent no max prob start avg percent no start avg no shutdown time average factor value no time average factor Operational Commands config qos copy slope policy src name dst name overwrite ...

Page 534: ...Command Hierarchies Page 534 7950 XRS Quality of Service Guide Show Commands show qos slope policy slope policy name detail ...

Page 535: ...ciates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 characters long composed of printable 7 bit AS...

Page 536: ...yword Parameters slope policy Indicates that the source policy ID and the destination policy ID are slope policy IDs Specify the source policy ID that the copy command will attempt to copy from and specify the destination policy ID to which the command will copy a duplicate of the policy overwrite Specifies to replace the existing destination policy Everything in the existing destination policy wi...

Page 537: ... the buffer pool takes a portion of the previous shared buffer average and adds it to the inverse portion of the instantaneous shared buffer utilization The time average factor command sets the weighting factor between the old shared buffer average utilization and the current shared buffer instantaneous utilization when calculating the new shared buffer average utilization The TAF value applies to...

Page 538: ...olicy QoS Commands Page 538 7950 XRS Quality of Service Guide A high value weights the new shared buffer average utilization calculation more to the previous shared buffer average utilization value Values 0 15 ...

Page 539: ... to the default parameters the high slope node will not appear in save config and show config output unless the detail parameter is present low slope Syntax no low slope Context config qos slope policy Description The low slope context contains the commands and parameters for defining the low priority Random Early Detection RED slope graph Each buffer pool supports a low priority RED slope for man...

Page 540: ...iscard probability is 1 Parameters percent The percentage of the shared buffer space for the buffer pool at which point the drop probability becomes 1 The value entered must be greater or equal to the current setting of start avg If the entered value is smaller than the current value of start avg an error will occur and no change will take place Values 0 100 max prob Syntax max prob percent no max...

Page 541: ...vg Context config qos slope policy high slope config qos slope policy low slope Description This command sets the low priority or high priority Random Early Detection RED slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero The percent parameter is expressed as a percentage of the shared buffer size The no form of this co...

Page 542: ...hold level then packets egressing out from a particular queue would be dropped at 6 25 rate drop rate 0 Low slope default is 0 100 drop rate for all the queues this implies that once the shared buffer utilization reaches the start threshold level then packets egressing out from a particular queue would be dropped at 100 rate Parameters queue id Specifies the ID of the queue for which the drop rate...

Page 543: ...sult and the new shared buffer utilization Slope Parameters Start Avg Specifies the low priority or high priority RED slope position for the shared buffer average utilization value where the packet discard probability starts to increase above zero Max Avg Specifies the percentage of the shared buffer space for the buffer pool at which point the drop probability becomes 1 expressed as a decimal int...

Page 544: ...90 Max Prob 100 Low Slope Parameters Start Avg 30 Admin State Enabled Max Avg 40 Max Prob 100 A C show qos slope policy 2 detail QoS Slope Policy Policy 2 Time Avg 7 High Slope Parameters Start Avg 70 Admin State Enabled Max Avg 90 Max Prob 100 Low Slope Parameters Start Avg 30 Admin State Enabled Max Avg 40 Max Prob 100 Associations Object Type Object Id Application Pool Port 1 1 1 Acc Egr defaul...

Page 545: ...icies In This Section This section provides information to configure advanced QoS policies using the command line interface Topics in this section include Overview on page 546 Basic Configurations on page 547 Default Advanced Policy Values on page 549 Deleting QoS Policies on page 550 ...

Page 546: ... policer Once a policy is created it may be applied to a queue or policer defined within a sap egress or sap ingress QoS policy It may also be applied to a queue or policer defined within an ingress or egress queue group template When a policy is currently associated with a QoS policy or template the policy may be modified but not deleted even in the event that the QoS policy or template is not in...

Page 547: ...lue The system will not dynamically assign a value Include a description The description provides a brief overview of policy features The child control parameters parameters that are intended to allow more precise control of the method that hierarchical virtual scheduling employs to emulate the effect of a scheduling context upon a member child queue or policer The following displays an example of...

Page 548: ...policy child1 Use the following CLI syntax to apply advanced policies to egress queue groups CLI Syntax config qos queue group templates egress queue group group1 policer 1 adv config policy child1 SAP Ingress Use the following CLI syntax to apply advanced policies to an ingress SAP CLI Syntax qos sap ingress 11 policer 1 adv config policy child1 queue 1 adv config policy child1 SAP Egress Use the...

Page 549: ...lt Advanced Policy Values The default policies cannot be edited or deleted The following displays default advanced policy parameters Table 36 Advanced Policy Parameter Defaults Field Default offered measurement high rate hold time 0 time average factor 0 sample interval 4 ...

Page 550: ...config policy Use the following CLI syntax to delete advanced policies from egress queue groups CLI Syntax config qos queue group templates egress queue group group1 policer 1 no adv config policy SAP Ingress Use the following CLI syntax to delete advanced policies from an ingress SAP CLI Syntax qos sap ingress 11 policer 1 adv config policy child1 queue 1 no adv config policy SAP Egress Use the f...

Page 551: ... specified or an error occurs if the destination policy ID exists CLI Syntax config qos copy adv config policy source policy id dest policy id overwrite Editing Advanced Policies You can change existing advanced policies and entries in the CLI or NMS The changes are applied immediately to all services where this policy is applied To prevent configuration errors copy the policy to a work area make ...

Page 552: ...Editing Advanced Policies Page 552 7950 XRS Quality of Service Guide ...

Page 553: ...t of admin pir rate rate in kilobits per second no high rate hold time seconds min only active min only no max decrement percent percent of admin pir rate rate in kilobits per second no sample interval sample period no time average factor taf value dec only bandwidth distribution no above offered cap percent percent of admin pir rate rate in kilobits per second no enqueue on pir zero no granularit...

Page 554: ...Command Hierarchies Page 554 7950 XRS Quality of Service Guide Show Commands show qos adv config policy policy name detail ...

Page 555: ...sociates a text string with a configuration context to help identify the context in the configuration file The no form of this command removes any description string from the context Default No description is associated with the configuration context Parameters description string A text string describing the entity Allowed values are any string up to 80 characters long composed of printable 7 bit ...

Page 556: ...onfig policy Indicates that the source policy ID and the destination policy ID are advanced policy IDs Specify the source advanced policy ID that the copy command will attempt to copy from and specify the destination advanced policy ID to which the command will copy a duplicate of the policy overwrite Specifies to replace the existing destination advanced policy Everything in the existing destinat...

Page 557: ...ins default values for the advanced configuration parameters no default adv config policy exists The no form of this command removes the specified advanced policy Default None Parameters policy name The name of the advanced QoS policy A policy name must be specified and conform to the policy naming guidelines If the specified name does not exist the optional create keyword requirements are met and...

Page 558: ...h the child should receive from the bandwidth distribution algorithm One example of when an increase in the measured offered rate may be desired is when a queue or policer is handling VOIP traffic A characteristic of VOIP is the step nature in how traffic is used Each call typically adds a certain maximum amount to the overall load By using the add command the bandwidth required for the next added...

Page 559: ... the rate qualifier is used Values 0 100 000 000 min only This optional parameter is used to reinterpret the increase as a minimum offered rate When this option is enabled the system uses the specified increase as a minimum offered rate even for inactive queues or policers associated with the policy active min only When this optional parameter is specified the respective rate or percentage is trea...

Page 560: ...sociated with the policy Parameters percent of admin pir When the percent qualifier is used this parameter specifies the percentage of the child s administrative PIR that should be used as the threshold sensitivity to offered rate change If a value of 0 or 0 00 is used the system will interpret this equivalent to no granularity Default None the sensitivity percentage value must be specified when t...

Page 561: ...ffered rate is determined When the max decrement command is not specified or removed the virtual scheduler does not limit a decreasing offered rate to a specific limit The no form of this command is used to remove any currently configured maximum decrement limit for all child policers and queues associated with the policy Parameters percent of admin pir When the percent qualifier is used this para...

Page 562: ...ate hold time command will accept the optional active min only parameter Attempting to remove the active min only parameter from the add command or removing the add command itself will fail while active min only is enabled on the high rate hold time command When specified the respective rate or percentage is treated as the minimum offered rate for a queue only when the queue has an actual non zero...

Page 563: ...f the system is asked to perform offered rate measurements more often on some queues it will take longer to get to all children When this command is not specified or removed the system evaluates the offered rate of each child after 4 sampling periods The no form of this command is used to restore the sampling interval default of 4 sample periods Parameters sample periods The sample periods paramet...

Page 564: ...ement and does an immediate offered rate evaluation using the zero value This option is intended for use with children where other children would benefit from faster than normal inactive detection typically those of a real time nature When this parameter is not enabled the system uses the normal sampling interval behavior of both newly inactive and currently active children The no form of this com...

Page 565: ...m PIR is in use on the child the system attempts to interpret the maximum child forwarding rate This rate could be very large if the child is associated with multiple ingress or egress ports If the child s administrative PIR is modified while a percent based above offered cap is in effect the system automatically uses the new relative limit value the next time the child s operational PIR is distri...

Page 566: ...ess than 1 above a lower step value in which case the lower step value is used This stepped behavior may be useful when the bandwidth used by an active child is well known While the above offered cap function automatically adds a specified amount to the operational PIR of a child the granularity function only increments the operational PIR to the next step value While not expected to be used in co...

Page 567: ...escription This command is used to configure the system to use the minimum configurable PIR instead of an HQoS derived zero operational PIR The default behavior is to allow the operational PIR of the queue to remain the last configured value while setting the queue MBS to zero preventing queuing of newly arriving packets Retaining the previous PIR value may cause a momentary burst above an aggrega...

Page 568: ...Commands adv config policy Syntax adv config policy policy name detail Context show qos Description This command displays advanced QoS policy information Parameters policy name The name of the advanced QoS policy detail Displays detailed information about the advanced QoS policy ...

Page 569: ...rent Policer Priority and Unfair Sensitive Discard Thresholds on page 572 CFHP Ingress and Egress Use Cases on page 574 Post CFHP Queuing and Scheduling on page 575 CFHP Policer Control Policy on page 577 CFHP Child Policer Definition and Creation on page 579 Policer Enabled SAP QoS Policy Applicability on page 580 Child Policer Parent Association on page 581 Policer Interaction with Initial Profi...

Page 570: ...is separate from a child s PIR and CIR rates Policers can also be used standalone The parent is optional With 9 0R1 multi service sites support policer control policy in the in the ingress and egress in addition to scheduler policy Below are the capabilities and limitations for CFHP under a multi service site Support for SAP only Assignment is for port only not for card Supported both in Ingress a...

Page 571: ...onfig service vpls info shutdown stp shutdown exit sap 9 1 4 create multi service site mss1 egress qos 3 exit exit Here the above mentioned sap egress qos policy 3 will have policers parented to arbiters which are configured in the policer control policy pcp as in example above ...

Page 572: ...suming the parent policer s bucket depth has reached the priority level s discard unfair threshold protecting the priority level s fair traffic from the priority level s unfair traffic A second discard all threshold is used to discard all remaining packets associated with the priority level in the case where higher priority traffic exists and the sum of both the priority level s traffic and the hi...

Page 573: ...CIR Below MBS so white tokens go into CIR bucket Below CBS so green tokens go into FIR bucket Below FIR Threshold so green blue tokens go into parent bucket packet MBS Current burst level CBS Current burst level Current burst level FIR FIR threshold OSSG341 Parent PIR Fair discard for priority 3 Below priority 3 fair discard fair so packets marked green in profile Current burst level Un fair disca...

Page 574: ...a natural fit based on how policers are typically used in today s networks CFHP may also be used at egress The reasons for utilizing egress CFHP may be to provide a non jitter or latency inducing aggregate SLA for multiple ingress flows or simply to provide higher scale in the number of egress aggregate SLAs supported ...

Page 575: ...multicast switch fabric path the number of each being controlled using the command CLI Syntax configure mcast management bandwidth policy policy name t2 paths secondary path number paths number of paths dual sfm number of paths For ingress CFHP multicast packets Broadcast Unknown unicast or Multicast referred to as BUM traffic the system maintains a conversation hash table per forwarding class and...

Page 576: ...ridden When a SAP egress QoS policy is applied to an Ethernet SAP and the policy contains a forwarding class mapping to a CFHP child policer the default behavior for queuing the CFHP output is to use the egress Ethernet port s policer output queues queue group and the forwarding class mapping within the group to choose the egress queue Optionally the SAP egress QoS policy may also explicitly defin...

Page 577: ...he amount of bandwidth that may be distributed to a set of child policers Each policer control policy always contains a root arbiter that represents the parent policer The max rate defined for the arbiter specifies the decrement rate for the parent policer that governs the overall aggregate rate of every child policer associated with the policy instance The root arbiter also contains the parent po...

Page 578: ...s have a grandchild to grandparent association with the root arbiter When a tier 2 arbiter is parented by a tier 1 arbiter the child policers parented by a tier 2 arbiter are in a great grandchild to great grandparent association with the root arbiter A great grandchild policer inherits its indirectly parented tier 1 arbiter s level association with the root arbiter and thus the parent policer A c...

Page 579: ...ub classes All policers within a SAP ingress or egress QoS policy must be explicitly created No policers are created by default After a policer is created forwarding classes or sub classes may be mapped to the policer within the policy For ingress each of the individual forwarding types unicast multicast broadcast and unknown may be selectively mapped to a policer policy created queue or to an ing...

Page 580: ...ass mappings are dependent on policer resource availability Attempting to map the first forwarding class to a policer causes the policer to be created on the SAPs or where the policy is applied If the forwarding plane where the SAP or exists either doesn t support policers or has insufficient resources to create the policer for the object the forwarding class mapping will fail Once a forwarding cl...

Page 581: ...pplied If the parent command is executed but the defined arbiter name does not exist within the SAP context or a context the policer is treated as an orphan The SAP or context is placed into a degraded state The system indicates the degraded state by the system setting the ingress policer mismatch or egress policer mismatch flag for the object An orphaned policer functions in the same manner as a ...

Page 582: ...in profile packets when profile capped mode is not enabled The idea is that a profile capped policer trusts the in profile state determined at ingress classification or egress re classification the initial in profile traffic is preferentially handled with the CIR bucket 2xCBS instead of 1xCBS used by undefined or soft out of profile traffic and the total amount of in profile traffic output by the ...

Page 583: ...ned Always Green Always Green CIR never reaches non conforming state Ingress Profile In Always Green Always Green Ingress Profile Out Always Yellow Always Yellow Egress Soft In Profile Always Green Always Green Egress Soft Out Of Profile Always Green Always Green Egress Profile In Always Green Always Green Egress Profile Out Always Yellow Always Yellow 0 CIR PIR Ingress Undefined Green below CBS Y...

Page 584: ...ile state derived from the ingress policer Priority high and low are used in the child policer s PIR leaky bucket to choose one of two discard thresholds threshold be low and threshold be high which are derived from the child policer s mbs and high priority only parameters The high threshold is directly generated by the mbs value The low threshold is generated by reducing the mbs value by the high...

Page 585: ...rent CIR state of the policer s CIR bucket will override the packets soft profile state When the policer s CIR is currently conforming the output will be in profile When the CIR state is currently exceeding the output will be out of profile The Dot1P and DEI when DE marking is configured will reflect the CIR derived packet state Ingress Undefined Initial Profile Access ingress packets have one of ...

Page 586: ...profile packets remain in profile within the ingress forwarding plane However once the packet is received at egress an ingress in profile packet will be treated as soft in profile and the profile may be changed either by explicit profile reclassification or by an egress policer with a CIR rate defined Explicit in profile packets do not automatically use the high priority threshold threshold be hig...

Page 587: ...e explicit out of profile packets remain out of profile within the ingress forwarding plane the egress forwarding plane treats ingress out of profile packets as soft out of profile and the profile may be changed either by explicit profile reclassification or by an egress policer with a CIR rate defined ...

Page 588: ...o appropriate policer output queue or queue group queue for accounting CIR State Honored Internal State Soft Out of Profile Tail Drop Low CIR State Ignored Internal State Soft In Profile Tail Drop High Always Yellow Internal State Soft Out of Profile Tail Drop Low Always Yellow Internal State Soft Out of Profile Tail Drop Low Internal State Soft Out of Profile Tail Drop Low HPol CBS CIR Threshold ...

Page 589: ...rofile Capped Mode When an egress policer has been configured with a CIR max or explicit rate other than 0 and profile capped mode is not enabled the policer s CIR bucket state will override the ingress soft in profile or soft out of profile state much like the ingress policer handles initial profile undefined packets If the CIR has not been defined or been set to 0 on the egress policer the egres...

Page 590: ...ification unless the packet has been reclassified to profile out at egress Second explicit egress profile in and soft in profile that has not been reclassified to profile out at egress are allowed to be marked out of profile by an egress policer with CIR not set to 0 Third when the policer has a CIR 0 rate the default rate all profile capped packets are treated as out of profile independent of the...

Page 591: ... Out PIR Threshold Low CIR Threshold 1x Egress Queue Not Possible with CIR Threshold 0 Dot1P In DE 0 when enabled Tail Drop High Y Egress Queue Discard Handoff to appropriate queue group queue or local queue for accounting Egress profile in N IP Profile In L2 Profile Hard In PIR Threshold High CIR Threshold 2x Y FIR Rate 0 CIR Rate 0 CIR Threshold 0 N Y Do not change CIR Threshold FIR Threshold 0 ...

Page 592: ...nserve counter resources the system supports a policer stat mode command that is used to identify what counters are actually needed for the policer Not every policer will have a CIR defined so the output green yellow states will not exist Also not every policer will have both high and low priority or explicit in profile or out of profile offered traffic types Essentially the stat mode command allo...

Page 593: ...e used in hierarchical policing rate management When multiple offered stats are maintained for a child policer they are summed to derive the total offered rate for each child policer All ingress policers have a default CIR value of 0 meaning that by default all packets except packets classified as profile in will be output by the policer as out of profile This may have a negative impact on egress ...

Page 594: ... and when the CIR has a non zero value Also when overriding the policer s cir mode make sure you override the stat mode instance cir override can be performed using snmp access Ingress supported stat modes are no stats minimal default offered profile no cir offered priority no cir offered limited profile cir offered profile cir offered priority cir offered total cir offered profile capped cir offe...

Page 595: ...es of offered packets include Soft offered in profile from ingress Soft offered out of profile from ingress Egress explicit in profile reclassified at egress Egress explicit out of profile reclassified at egress Similar to ingress the possible output results are Output green in profile Output yellow out of profile Output red discard The stat mode command follows the same counter resource rules as ...

Page 596: ... policer input to the parent policer would chose the discard orange or discard all thresholds for the child policer s priority level within the parent policer The net result is that explicit in profile packets stay blue up to the high CBS threshold undefined profile packets would stay blue up to the low CBS threshold 1x CBS and explicit out of profile packets would always be orange due to a 0 CBS ...

Page 597: ...nds show qos policer hierarchy detail should be adjusted for profile preferred configurations If an intermediate arbiter is present then polling is offered at different rates since the child policer PIRs will be set based on this information so as to share the intermediate arbiter PIR in proportional to their parenting weight to the intermediate arbiter Interaction Between Profile Preferred and Pr...

Page 598: ...Interaction Between Profile Preferred and Profile Capped Mode Page 598 7950 XRS Quality of Service Guide ...

Page 599: ...Command Reference 7950 XRS Quality of Service Guide Page 599 Class Fair Hierarchical Policing CFHP Policy Command Reference Command Hierarchies ...

Page 600: ...Command Hierarchies Page 600 7950 XRS Quality of Service Guide ...

Page 601: ...QoS Commands 7950 XRS Quality of Service Guide Page 601 Configuration Commands Generic Commands or max or 1 2000000000max or 1 2000000000 ...

Page 602: ...QoS Commands Page 602 7950 XRS Quality of Service Guide ...

Page 603: ...ed Treatment of Specific OSPF Version 2 Packets and Congestion Avoidance RFC 4576 Using a Link State Advertisement LSA Options Bit to Prevent Looping in BGP MPLS IP Virtual Private Networks VPNs RFC 4970 Extensions to OSPF for Advertising Optional Router Capabilities RFC 5185 OSPF Multi Area Adjacency RFC 5243 OSPF Database Exchange Summary List Optimization RFC 5250 The OSPF Opaque LSA Option RFC...

Page 604: ...ing draft ietf rtgwg lfa manageability 07 Operational management of Loop Free Alternates draft ietf rtgwg remote lfa 09 Remote LFA FRR draft katran mofrr 02 Multicast only Fast Re Route IPSec RFC 2401 Security Architecture for the Internet Protocol RFC 2406 IP Encapsulating Security Payload ESP RFC 2409 The Internet Key Exchange IKE RFC 2560 X 509 Internet Public Key Infrastructure Online Certific...

Page 605: ...ssages RFC 6625 Wildcards in Multicast VPN Auto Discover Routes RFC 6826 Multipoint LDP In Band Signaling for Point to Multipoint and Multipoint to Multipoint Label Switched Path RFC 7246 Multipoint Label Distribution Protocol In Band Signaling in a Virtual Routing and Forwarding VRF RFC 7385 IANA Registry for P Multicast Service Interface PMSI Tunnel Type Code Points draft dolganow l3vpn mvpn exp...

Page 606: ...or MPLS in Transport Networks RFC 5960 MPLS Transport Profile Data Plane Architecture RFC 6370 MPLS TP Identifiers RFC 6378 MPLS TP Linear Protection RFC 6428 Proactive Connectivity Verification Continuity Check and Remote Defect indication for MPLS Transport Profile RFC 6426 MPLS On Demand Connectivity and Route Tracing RFC 6478 Pseudowire Status for Static Pseudowires RFC 7213 MPLS Transport Pro...

Page 607: ...AF TM 0150 00 Addendum to Traffic Management v4 1 optional minimum desired cell rate indication for UBR AF PHY 0086 001 Inverse Multiplexing for ATM IMA Specification Version 1 1 DHCP RFC 2131 Dynamic HostConfiguration Protocol REV RFC 3046 DHCP Relay Agent Information Option Option 82 RFC 1534 Interoperation between DHCP and BOOTP Policy Management and Credit Control 3GPP TS 29 212 Policy and Cha...

Page 608: ...FC 4553 Structure Agnostic Time Division Multiplexing TDM over Packet SAToP RFC 5086 Structure Aware Time Division Multiplexed TDM Circuit Emulation Service over Packet Switched Network CESoPSN MEF 8 Implementation Agreement for the Emulation of PDH Circuits over Metro Ethernet Networks October 2004 RFC 5287 Control Protocol Extensions for the Setup of Time Division Multiplexing TDM Pseudowires in...

Page 609: ...nt Protocol SNMP Management Frameworks RFC 3412 Message Processing and Dispatching for the Simple Network Management Protocol SNMP RFC 3413 Simple Network Management Protocol SNMP Applications RFC 3414 User based Security Model USM for version 3 of the Simple Network Management Protocol SNMPv3 RFC 3418 SNMP MIB RFC 3826 The Advanced Encryption Standard AES Cipher Algorithm in the SNMP User based S...

Page 610: ...Standards and Protocols Page 610 7950 XRS Quality of Service Guide ...

Page 611: ... documentation and product support Customer documentation http documentation alcatel lucent com Technical support http support alcatel lucent com Documentation feedback documentation feedback alcatel lucent com ...

Page 612: ... 2015 Alcatel Lucent All rights reserved 3HE 09868 AAAA TQZZA 01 ...

Reviews: