H3C S5500-SI Series Operation Manual
H3C S5500-SI Series Operation Manual

H3C S5500-SI Series Operation Manual

Qos
Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

Operation Manual - QoS
H3C S5500-SI Series Ethernet Switches
Chapter 1 QoS Overview .............................................................................................................. 1-1
1.1 Introduction ........................................................................................................................ 1-1
1.2 Traditional Packet Delivery Service ................................................................................... 1-1
1.3 New Requirements Brought forth by New Services .......................................................... 1-1
1.4.1 Occurrence of Congestion ...................................................................................... 1-2
1.4.2 Influence of Congestion .......................................................................................... 1-3
1.4.3 Countermeasures.................................................................................................... 1-3
1.5 Major Traffic Management Techniques ............................................................................. 1-3
1.5.1 Traffic Classification ................................................................................................ 1-4
1.5.2 Precedence ............................................................................................................. 1-5
1.5.3 Introduction to TP .................................................................................................... 1-6
1.5.4 Traffic Evaluation and Token Bucket ...................................................................... 1-7
Chapter 2 LR Configuration ......................................................................................................... 2-1
2.1 Introduction to LR............................................................................................................... 2-1
2.2 LR Configuration ................................................................................................................ 2-1
2.2.1 LR Configuration Procedure.................................................................................... 2-1
2.2.2 LR Configuration Example ...................................................................................... 2-2
Chapter 3 QoS Policy Configuration ........................................................................................... 3-1
3.1 Overview ............................................................................................................................ 3-1
3.2 Configuring QoS Policy...................................................................................................... 3-1
3.3 Introducing Each QoS Policy ............................................................................................. 3-2
3.4 Configuring QoS Policy...................................................................................................... 3-2
3.4.1 Configuration Prerequisites..................................................................................... 3-2
3.4.2 Defining a Class ...................................................................................................... 3-2
3.4.3 Defining a Traffic Behavior...................................................................................... 3-4
3.4.4 Configuring a Policy ................................................................................................ 3-7
3.4.5 Applying a Policy ..................................................................................................... 3-7
3.5 Displaying QoS Policy ....................................................................................................... 3-9
Chapter 4 Congestion Management ............................................................................................ 4-1
4.1 Overview ............................................................................................................................ 4-1
4.2 Congestion Management Policy ........................................................................................ 4-1
4.3 Configuring SP Queue Scheduling .................................................................................... 4-2
4.3.1 Configuration Procedure ......................................................................................... 4-3
4.3.2 Configuration Example............................................................................................ 4-3
4.4 Configuring WRR Queue Scheduling ................................................................................ 4-3
4.4.1 Configuration Procedure ......................................................................................... 4-3

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5500-SI Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S5500-SI Series

  • Page 1: Table Of Contents

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 QoS Overview ......................1-1 1.1 Introduction ........................1-1 1.2 Traditional Packet Delivery Service ................... 1-1 1.3 New Requirements Brought forth by New Services ............1-1 1.4 Occurrence and Influence of Congestion and the Countermeasures .......
  • Page 2 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Table of Contents 4.4.2 Configuration Example.................... 4-4 4.5 Configuring SP+WRR Queue Scheduling ................. 4-4 4.5.1 Configuration Procedure ..................4-5 4.5.2 Configuration Example.................... 4-5 Chapter 5 Priority Mapping ......................5-1 5.1 Overview ..........................5-1 5.2 Configuring Port Priority.....................
  • Page 3: Chapter 1 Qos Overview

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview Chapter 1 QoS Overview 1.1 Introduction Quality of Service (QoS) is a concept generally existing in occasions where service supply-demand relations exist. QoS measures the ability to meet the service needs of customers.
  • Page 4: Occurrence And Influence Of Congestion And The Countermeasures

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview The new services have one thing in common: they all have special requirements for delivery performances such as bandwidth, delay, and delay jitter. For example, video conferencing and VOD require the guarantee of high bandwidth, low delay and low delay jitter.
  • Page 5: Influence Of Congestion

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview Besides bandwidth bottleneck, any insufficiency of resources for packet forwarding, such as insufficiency of assignable processor time, buffer size, and memory resources can cause congestion. In addition, congestion will also occur if the traffic that arrives within a certain period of time is improperly controlled and the traffic goes beyond the assignable network resources.
  • Page 6: Traffic Classification

    TP, TS, congestion management, and congestion avoidance control network traffic and assigned resources from different approaches, and are the concrete ways of providing differentiated services. S5500-SI Series Ethernet Switches support the following functions: Traffic classification Access control Congestion management 1.5.1 Traffic Classification...
  • Page 7: Precedence

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview packets differently according to IP precedence. The downstream network can either accept the classification results of the upstream network or re-classify the packets according to its own criterion.
  • Page 8: Introduction To Tp

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview Figure 1-3 The format of an Ethernet frame with an 802.1Q tag header As shown in the figure above, each host supporting 802.1Q protocol adds a 4-bit 802.1Q tag header after the source address in the original Ethernet frame header when...
  • Page 9: Traffic Evaluation And Token Bucket

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview 1.5.4 Traffic Evaluation and Token Bucket I. The features of the token bucket The token bucket can be considered as a container with a certain capacity to hold tokens.
  • Page 10 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 1 QoS Overview III. TP A typical application of TP is to supervise the specification of a certain traffic flow into the network and limit the specification within a reasonable range, or to punish the traffic in excess.
  • Page 11: Chapter 2 Lr Configuration

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 2 LR Configuration Chapter 2 LR Configuration 2.1 Introduction to LR You can use line rate (LR) to limit the total rate of sending packets (including emergent packets) on a physical interface.
  • Page 12: Lr Configuration Example

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 2 LR Configuration Table 2-1 LR configuration procedure To do… Use the command… Remarks Enter system view system-view — Enter Enter either view. interface interface-type port Ethernet interface interface-number Enter...
  • Page 13: Chapter 3 Qos Policy Configuration

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration Chapter 3 QoS Policy Configuration 3.1 Overview QoS policy includes the following three elements: class, traffic behavior and policy. You can bind the specified class to the specified traffic behavior through QoS policies to facilitate the QoS configuration.
  • Page 14: Introducing Each Qos Policy

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration 3.3 Introducing Each QoS Policy Table 3-1 Introduce each QoS policy Policy Class Command if-match Accounting match-criteria command accounting to define a required class if-match CAR (traffic policing)
  • Page 15 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration To do… Use the command… Remarks Required The operator is and by Define a class and enter traffic classifier tcl-name default, that class mapping view [ operator { and | or } ] relationship among all the match rules is logic “and”.
  • Page 16: Defining A Traffic Behavior

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration Value Description Defines a rule to match VLAN IDs of the operator’s network. vlan-id-list service-vlan-id vlan-id-list argument is the list of VLAN IDs in the range of 1 to 4,094.
  • Page 17 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration I. Configuration procedure Table 3-4 Define a traffic behavior To do… Use the command… Remarks — Enter system view system-view Required Define a traffic behavior traffic...
  • Page 18 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7, default, and ef. Caution: Please obey the following restrictions when defining traffic behaviors; otherwise, you will fail to apply the policies.
  • Page 19: Configuring A Policy

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration # Enter system view. <H3C> system-view # Define a traffic and enter traffic behavior view [H3C] traffic behavior test # Define the classification rule. [H3C-behavior-test] car cir 6400 3.4.4 Configuring a Policy...
  • Page 20 Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration Table 3-6 Apply a policy on the port To do… Use the command… Remarks — Enter system view system-view interface interface-type them Enter port view required.
  • Page 21: Displaying Qos Policy

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 3 QoS Policy Configuration Configure a policy named “test”. Specify the traffic behavior test_behavior for the packets belonging to the test_class in the policy and apply the policy on the inbound direction of GigabitEtherenet1/0/1.
  • Page 22: Chapter 4 Congestion Management

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 4 Congestion Management Chapter 4 Congestion Management 4.1 Overview When the rate at which the packets arrive is higher than the rate at which the packets are transmitted on an interface, congestion occurs on this interface. If there is not enough storage space to store these packets, parts of them will be lost.
  • Page 23: Configuring Sp Queue Scheduling

    In this way, the bandwidth resources are fully utilized. The H3C S5500-SI Series Ethernet Switches support the following three queue scheduling algorithms: All the queues are scheduled through the SP algorithm.
  • Page 24: Configuration Procedure

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 4 Congestion Management 4.3.1 Configuration Procedure Table 4-1 Configure SP queue scheduling To do… Use the command… Remarks — Enter system view system-view One of them is required. Enter port...
  • Page 25: Configuration Example

    <H3C> system-view # Configure WRR queues on GigabitEthernet1/0/1. [H3C] interface GigabitEthernet 1/0/1 [H3C-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 1 [H3C-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 5 [H3C-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 10 [H3C-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 2 [H3C-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 10 4.5 Configuring SP+WRR Queue Scheduling...
  • Page 26: Configuration Procedure

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 4 Congestion Management During the queue scheduling process, the queues in the SP scheduling group is scheduled preferentially. When no packet is to be sent in the queues in the SP scheduling group, the queues in the WRR scheduling group are scheduled.
  • Page 27 [H3C] interface GigabitEthernet 1/0/1 [H3C-GigabitEthernet1/0/1] qos wrr 0 group sp [H3C-GigabitEthernet1/0/1] qos wrr 1 group sp [H3C-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 2 [H3C-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 7 [H3C-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 10...
  • Page 28: Chapter 5 Priority Mapping

    ID on the port. The S5500-SI series switches always trust the packet priority instead of port priority. For tagged packets, the switch performs dot1p-to-lp mapping according to the 802.1p priority carried in the tags;...
  • Page 29: Configuring Port Priority

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 5 Priority Mapping 5.2 Configuring Port Priority An untagged packet is tagged after it enters the switch. Its 802.1p priority is port priority. You can assign the packet to different outbound queues on the port according to the port priority to be set.
  • Page 30: Displaying Priority Mapping Table

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 5 Priority Mapping II. Network diagram To the router To the router To the router GE1/0/1 GE1/0/1 GE1/0/1 GE1/0/1 GE1/0/1 GE1/0/1 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2 GE1/0/2...
  • Page 31: Chapter 6 Vlan Policy Configuration

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 6 VLAN Policy Configuration Chapter 6 VLAN Policy Configuration 6.1 Overview QoS polices support the following application modes: Port-based application: QoS policies are effective for inbound packets on a port.
  • Page 32: Vlan Policy Configuration Example

    [H3C-classifier-cl1] if-match acl 2000 [H3C-classifier-cl1] quit [H3C] traffic behavior be1 [H3C-behavior-be1] car cir 64 [H3C-behavior-be1] quit [H3C] qos policy test [H3C-qospolicy-test] classifier cl1 behavior be1 [H3C-qospolicy-test] quit [H3C] qos vlan-policy test vlan 200 300 400 500 600 700 800 900 inbound...
  • Page 33: Chapter 7 Traffic Mirroring Configuration

    VLAN is created and a port is added to it. Note: Currently, the H3C S5500-SI Series Ethernet Switches only support traffic mirroring to port. 7.2 Configuring Traffic Mirroring to Port Before you can configure traffic mirroring, you should first enter the traffic behavior view of an existing traffic behavior.
  • Page 34: Displaying Traffic Mirroring Configuration

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 7 Traffic Mirroring Configuration 7.3 Displaying Traffic Mirroring Configuration After the above configuration, you can execute the display command in any view to display the operation status of traffic mirroring and verify your configuration.
  • Page 35: Configuration Procedure

    Operation Manual – QoS H3C S5500-SI Series Ethernet Switches Chapter 7 Traffic Mirroring Configuration 7.4.3 Configuration Procedure Configure Switch A: # Enter system view. <H3C> system-view # Configure ACL 2000 to permit all packets. [H3C] acl number 2000 [H3C-acl-basic-2000] rule 1 permit [H3C-acl-basic-2000] quit # Configure a traffic classification rule to use ACL 2000 for traffic classification.

Table of Contents