Page 2
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For any assistance, please contact our local office or company headquarters. Huawei Technologies Co., Ltd. Address: Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS Contents Contents About This Document........................1 1 Class-based QoS Configuration....................1-1 1.1 Introduction to Class-based QoS........................1-2 1.2 Class-based QoS Features Supported by the S9300..................1-2 1.3 Configuring Priority Mapping Based on Simple Traffic Classification............1-5 1.3.1 Establishing the Configuration Task......................1-5...
Page 4
Quidway S9300 Terabit Routing Switch Contents Configuration Guide - QoS 1.7.5 Example for Filtering Packets Based On Complex Traffic Classification...........1-38 2 Traffic Policing and Traffic Shaping Configuration............2-1 2.1 Overview of Traffic Policing and Traffic Shaping..................2-2 2.1.1 Traffic Policing............................2-2 2.1.2 Traffic Shaping............................2-4 2.2 Configuring QoS CAR............................2-5...
Page 5
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS Contents 3.3 Configuring Congestion Management......................3-7 3.3.1 Establishing the Configuration Task......................3-7 3.3.2 Setting the Scheduling Mode for an Interface Queue................3-8 3.3.3 (Optional) Configuring Traffic Shaping....................3-9 3.3.4 Checking the Configuration........................3-9 3.4 Maintaining Congestion Avoidance and Congestion Management..............3-9 3.4.1 Displaying the Queue-based Statistics....................3-9...
Page 7
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS Figures Figures Figure 1-1 Networking diagram for configuring priority mapping based on simple traffic classification..1-25 Figure 1-2 Networking diagram for re-marking the priorities based on complex traffic classification.....1-28 Figure 1-3 Networking diagram for redirecting packets based on complex traffic classification.....1-31 Figure 1-4 Networking diagram for configuring traffic statistics based on complex traffic classification..1-35...
Page 9
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS Tables Tables Table 1-1 Mapping between internal priorities and queues..................1-3 Table 2-1 Rules for making the color of a packet effective................2-10 Table 2-2 QoS provided by the S9300 for upstream traffic................2-23 Table 3-1 Congestion avoidance parameters......................3-11...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS About This Document About This Document Purpose This document describes QoS features of the S9300 including class-based QoS, traffic policing, traffic shaping, congestion avoidance, and congestion management from function introduction, configuration methods, maintenance and configuration examples.
Quidway S9300 Terabit Routing Switch About This Document Configuration Guide - QoS Chapter Description 1 Class-based QoS Describes basic concepts of the traffic classifier, traffic Configuration behavior, traffic policy, DiffServ domain, and priority mapping, and provides configuration methods and configuration examples of the priority mapping based on simple traffic classification and the traffic policy based on complex traffic classification.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS About This Document Convention Description Times New Roman Normal paragraphs are in Times New Roman. Boldface Names of files, directories, folders, and users are in boldface. For example, log in as user root.
Quidway S9300 Terabit Routing Switch About This Document Configuration Guide - QoS Keyboard Operations The keyboard operations that may be found in this document are defined as follows. Format Description Press the key. For example, press Enter and press Tab.
Page 15
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS About This Document "Configuring Congestion Management" in 3 Congestion Avoidance and Congestion Management Configuration The following content is deleted: Configuration of the mirroring function Updates in Issue 01 (2009-02-28) Initial commercial release.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration Class-based QoS Configuration About This Chapter This chapter describes the basic concepts of the traffic classifier, traffic behavior, traffic policy, DiffServ domain, and priority mapping, and configuration methods and configuration examples of the traffic policy based on complex traffic classification and priority mapping based on simple traffic classification.
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS 1.1 Introduction to Class-based QoS This section describes the basic concepts of the Class-based QoS. Class-based QoS is used to classify packets sharing common features into one class and provide the same QoS service for traffic of the same type by matching packets with certain rules.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration DSCP priority of IP packets EXP priority of Multiprotocol Label Switching (MPLS) packets SYN Flag field in Transmission Control Protocol (TCP) packets Source MAC address Destination MAC address...
Flow mirroring is used to copy the specified data packets to a specified destination to detect and troubleshoot faults on a network. For details about flow mirroring, see "Mirroring Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration 1.3 Configuring Priority Mapping Based on Simple Traffic Classification This section describes how to configure priority mapping based on simple traffic classification. 1.3.1 Establishing the Configuration Task 1.3.2 Creating a DiffServ Domain and Configuring Priority Mapping...
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Data 802.1p priorities of upstream or downstream packets in a VLAN, DSCP priorities, PHBs, and colors of upstream or downstream IP packets Type and number of the interface bound to a DiffServ domain 1.3.2 Creating a DiffServ Domain and Configuring Priority...
For details on the mapping from 802.1p priorities of packets to PHBs and colors, from PHBs and colors to 802.1p priorities, from DSCP priorities of packets to PHBs and colors, from PHBs and colors to DSCP priorities, see the Quidway S9300 Terabit Routing Switch Command Reference.
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS NOTE On the G24SA or G24CA board: If you run the trust 8021p inner command on the interface that receives the packets, the S9300 maps the 802.1p priorities in the outer VLAN tags to PHBs and colors.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration rate of packets exceeds the CIR, certain devices set the DEI field of the packets to 1. That is, these packets have a high drop priority. If congestion occurs, subsequent devices first discard packets with the DEI field as 1.
By default, an interface is not bound to a DiffServ domain. The S9300 uses the default priority mapping for incoming and outgoing packets on an interface. For details on the default priority mapping, see the Quidway S9300 Terabit Routing Switch Command Reference. ----End 1.3.7 Checking the Configuration...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration Pre-configuration Tasks None Data Preparation To configure complex traffic classification, you need the following data. Data Name of the traffic classifier Data in a traffic classifier, including the ACL number, 802.1p priority in the inner or...
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS if-match vlan-8021p { 8021p-value } & <1-8> To define matching rules based on the VLAN ID in the inner VLAN tag of QinQ packets, run: if-match cvlan-id cvlan-id...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration By default, the relation between rules in a traffic classifier is "OR". Step 3 Run the following command as required. To define matching rules based on the DSCP priority of IP packets, run: if-match dscp dscp-value &<1-8>...
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Run: traffic classifier classifier-name [ operator { and | or } ] [ precedence ] A traffic classifier is created and the traffic classifier view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration 1.5.1 Establishing the Configuration Task Applicable Environment At the ingress of a network, the S9300 functions as a border node. To limit the incoming traffic on a network, the S9300 can provide differentiated services for various services according to the DSCP field, protocol type, IP address, port number, fragmentation type, and time range of packets.
Page 34
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Procedure Configuring the deny/permit action Run: system-view The system view is displayed. Run: traffic behavior behavior-name A traffic behavior is created and the traffic behavior view is displayed.
Page 35
The remark cvlan-id and remark vlan-id commands are used to implement the flow-based VLAN mapping function. For description and configuration of flow-based VLAN mapping, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Ethernet. Configuring the redirection action Run: system-view The system view is displayed.
Page 36
A traffic behavior is created and the traffic behavior view is displayed. Run: ip urpf disable The URPF action is configured. NOTE For details on URPF, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Security. Configuring the flow mirroring action Run: system-view The system view is displayed.
All the flows that match a traffic classifier are mirrored to the CPU of the LPU. NOTE For details about flow mirroring, see "Mirroring Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management. Configuring the action of adding outer VLAN tags to packets...
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS The system view is displayed. Step 2 Run: traffic policy traffic-policy-name A traffic policy is created and the traffic policy view is displayed. Step 3 Run: classifier classifier-name behavior behavior-name A traffic classifier is bound to a traffic behavior in the traffic policy.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration The system view is displayed. Run: traffic-policy policy-name global { inbound | outbound } [ slot slot-id ] A traffic policy is applied globally or in the inbound or outbound direction of the LPU.
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Procedure Run the display traffic behavior { system-defined | user-defined } [ behavior-name ] command to check the configuration of the traffic behavior. Run the display traffic classifier { system-defined | user-defined } [ classifier-name ] command to check the configuration of the traffic classifier.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration Procedure Run the reset traffic policy statistics { global [ slot slot-id ] | interface interface-type interface-number | vlan vlan-id } { inbound | outbound } command to clear the flow- based traffic statistics.
Page 42
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Configuration Roadmap The configuration roadmap is as follows: Create VLANs and configure interfaces so that enterprise and individual users can access the network through the S9300. Create DiffServ domains and map 802.1p priorities to PHBs and colors.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration [S9300-dsdomain-ds1] quit [S9300] diffserv domain ds2 [S9300-dsdomain-ds2] 8021p-inbound 0 phb af2 green [S9300-dsdomain-ds2] quit Step 3 Bind DiffServ domains to interfaces. # Bind DiffServ domains ds1 and ds2 to GE 1/0/1 and GE 1/0/2 respectively.
Page 44
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS data packets from individual users is mapped to 2. In this manner, differentiated services are provided. Figure 1-2 Networking diagram for re-marking the priorities based on complex traffic...
Page 45
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration # Create VLANs 100, 200, and 300 on the S9300 and configure GE 1/0/1, GE 1/0/2, and GE 2/0/1 so that the S9300 adds the outer VLAN tag with the VLAN ID as 300 to the packets sent from GE 1/0/1 and GE 1/0/2 and GE 2/0/1 can forward packets in VLAN 300.
Page 46
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS # Check the configuration of traffic classifiers. <S9300> display traffic classifier user-defined User Defined Classifier Information: Classifier: c2 Precedence: 5 Operator: AND Rule(s) : if-match cvlan-id 200...
Page 48
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Create traffic behaviors to redirect matching packets to 20.20.20.1/24 and 20.20.30.1/24. Create a traffic policy, bind traffic classifiers to traffic behaviors in the traffic policy, and apply the traffic policy to an interface.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration interface Vlanif20 ip address 20.20.20.2 255.255.255.0 interface Vlanif30 ip address 20.20.30.2 255.255.255.0 interface GigabitEthernet2/0/1 port link-type trunk port trunk allow-pass vlan 30 interface GigabitEthernet3/0/1 port link-type trunk...
Page 52
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS VLAN 20 and IP address of GE 3/0/1 being 20.20.20.1/24 ACL 4000 Traffic classifier c1 Traffic behavior b1 Traffic policy p1 Procedure Step 1 Create a VLAN and configure interfaces.
Page 53
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration [S9300] traffic behavior b1 [S9300-behavior-b1] statistic enable [S9300-behavior-b1] quit Step 5 Create a traffic policy and apply it to an interface. # Create traffic policy p1 on the S9300 and bind the traffic classifier to the traffic behavior in the traffic policy.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration Figure 1-5 Networking diagram for filtering packets based on complex traffic classification MA5200G-A MA5200G-B GE2/0/0 GE2/0/1 S9300 GE1/0/0 ETH1/0/0 DSLAM Home Home gateway 2 gateway 1 Configuration Roadmap The configuration roadmap is as follows: Configure each interface to connect the S9300s.
Page 56
Quidway S9300 Terabit Routing Switch 1 Class-based QoS Configuration Configuration Guide - QoS Procedure Step 1 Create a VLAN and configure each interface. # Create VLAN 20. <Quidway> system-view [Quidway] sysname S9300 [S9300] vlan batch 100 200 # Set the type of GE 1/0/0, GE 2/0/0, and GE 2/0/1 to trunk and add them to VLAN 100.
Page 57
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 1 Class-based QoS Configuration [S9300] traffic behavior tb [S9300-behavior-tb] permit [S9300-behavior-tb] quit Step 5 Apply the traffic policy to the interface. # Create the traffic policy tp on the S9300, in which the traffic classifier is bound to the traffic behavior.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Traffic Policing and Traffic Shaping Configuration About This Chapter This chapter describes the basic concepts and configuration methods of traffic policing and traffic shaping.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS 2.1 Overview of Traffic Policing and Traffic Shaping This section describes the basic concepts and principle of traffic policing and traffic shaping. 2.1.1 Traffic Policing 2.1.2 Traffic Shaping...
Page 61
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration The S9300 supports the single token bucket and dual token buckets. Single token bucket For the single token bucket, parameters of the token bucket are as follows: Committed burst size (CBS): indicates the maximum volume of traffic that bursts in –...
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS service traffic at the inbound direction that matches a traffic classifier bound to a traffic behavior. NOTE Aggregate CAR supports only the single token bucket.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Figure 2-2 Networking diagram of traffic shaping Put tokens into the bucket at the set rate Packets that need to be sent from this interface...
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS 2.2.1 Establishing the Configuration Task Applicable Environment If the service traffic sent by users is not limited, a large amount of increasing burst service data makes a network more congested.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration By default, no QoS CAR template is created. ----End 2.2.3 Applying the QoS CAR Template Context A QoS CAR template takes effect only after it is applied. The QoS CAR template can be applied on an interface or in a VLAN.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS NOTE After a QoS CAR template is applied in a VLAN, the S9300 implements QoS CAR for only the incoming traffic in the VLAN.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Traffic policing based on a traffic classifier can be used to control the service traffic of a certain type. Pre-configuration Tasks Before configuring traffic policing based on a traffic classifier, complete the following tasks:...
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS traffic behavior behavior-name A traffic behavior is created and the traffic behavior view is displayed. Run: car cir cir-value [ pir pir-value ] [ cbs...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Run: qos car car-name cir cir-value [ cbs cbs-value ] A QoS CAR template is created. NOTE Aggregate CAR supports only a single token bucket at a single rate.
Page 70
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS After a traffic policy is applied, the system performs traffic policing for all the packets that match a traffic classifier in the inbound or outbound direction.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration You can apply only one traffic policy in the inbound or outbound direction of an interface. Applying a traffic policy in a VLAN Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS 2.4.1 Establishing the Configuration Task Applicable Environment When the traffic volume of host packets is heavy or a large number of malicious host packets are sent, the CPU of the main control board or the LPU is affected.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration If this command is not used, the default CIR is 64 kbit/s and the CBS is 10000 bytes. If this command is used but cbs-value is not specified, the CBS is 188 times greater than the CIR.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS Pre-configuration Tasks Before configuring traffic shaping, complete the following tasks: Setting link layer attributes of interfaces to ensure normal operation of the interfaces Assigning IP addresses to the interfaces and configuring routing protocols to ensure that...
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration By default, the CIR for traffic shaping on an interface is the maximum bandwidth of the interface. For example, the CIR for traffic shaping on an Ethernet interface is 100000 kbit/s, and the CIR for traffic shaping on a GE interface is 1000000 kbit/s.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS By default, the rate for traffic shaping in an interface queue is the maximum bandwidth of the interface. For example, the rate for traffic shaping on an Ethernet interface is 100000 kbit/s, and the rate for traffic shaping on a GE interface is 1000000 kbit/s.
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration 2.7.2 Example for Configuring Traffic Policing Based on a Traffic Classifier Networking Requirements The S9300 is connected to the router through GE 2/0/1; enterprise and individual users can access the network through the S9300 and router.
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS Figure 2-4 Networking diagram for configuring traffic policing based on a traffic classifier Core network GE 2/0/1 GE 1/0/1 GE 1/0/2 S9300 VLAN VLAN...
Page 83
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration <Quidway> system-view [Quidway] sysname S9300 [S9300] vlan batch 100 110 120 200 210 220 # Configure the access types of GE1/0/1, GE1/0/2, and GE2/0/1 to trunk, add GE1/0/1 to VLAN 100, VLAN 110, and VLAN 120, add GE1/0/2 to VLAN 200, VLAN 210, and VLAN 220, and add GE2/0/1 to VLAN 100, VLAN 110, VLAN 120, VLAN 200, VLAN 210, and VLAN 220.
Page 84
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS [S9300-behavior-b2] remark dscp 30 [S9300-behavior-b2] car qoscar1 share [S9300-behavior-b2] statistic enable [S9300-behavior-b2] quit [S9300] traffic behavior b3 [S9300-behavior-b3] car cir 40000 pir 60000 green pass...
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS port trunk allow-pass vlan 100 110 120 200 210 220 return 2.7.3 Example for Configuring Traffic Policing for Host Packets Networking Requirements As shown in Figure 2-5, PC1 at 10.10.10.10 is connected to GE 2/0/1 of the S9300;...
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS 2.7.4 Example for Configuring Traffic Shaping Networking Requirements The S9300 is connected to GE 2/0/1 and the router; the 802.1p priorities of voice, video, and...
Page 91
Quidway S9300 Terabit Routing Switch Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration Rate for traffic shaping in each interface queue Procedure Step 1 Create VLANs and configure interfaces. # Create VLAN 10. <Quidway> system-view [Quidway] sysname S9300...
Page 92
Quidway S9300 Terabit Routing Switch 2 Traffic Policing and Traffic Shaping Configuration Configuration Guide - QoS # Configure traffic shaping in the interface queues on the S9300, and then set the CIR and PIR of the voice service to 3000 kbit/s and 5 000kbit/s, the CIR and PIR of the video service to 5000 kbit/s and 8000 kbit/s, and the CIR and PIR of the data service to 2000 kbit/s and 3000 kbit/s.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration Congestion Avoidance and Congestion Management Configuration About This Chapter This chapter describes the principle and configuration methods of congestion avoidance and congestion management. 3.1 Overview of Congestion Avoidance and Congestion Management This section describes the basic concepts and principle of congestion avoidance and congestion management.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration WRED The WRED mechanism also prevents global TCP synchronization by randomly discarding packets. The random number generated by WRED, however, is based on the priority. WRED distinguishes the drop policy according to colors of packets.
3 Congestion Avoidance and Congestion Management Quidway S9300 Terabit Routing Switch Configuration Configuration Guide - QoS setting the weight of WRR. You, however, cannot obtain the required bandwidth by setting the weight of WRR when the average length of packets in each queue changes.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration Pre-configuration Tasks Before configuring congestion avoidance, complete the following tasks on the incoming interface: Configuring priority mapping based on simple traffic classification to map priorities of...
3 Congestion Avoidance and Congestion Management Quidway S9300 Terabit Routing Switch Configuration Configuration Guide - QoS NOTE The WRED algorithm for non-TCP packets cannot be used on G24SA or G24CA boards. ----End 3.2.3 Applying the WRED Drop Profile Context You can apply a WRED drop profile on an interface or in an interface queue or on both an interface and an interface queue on the S9300 as required.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration 3.2.4 Checking the Configuration Prerequisite The configurations of the drop profile of WRED are complete. Procedure Run the display drop-profile [ all | name drop-profile-name ] command to check the configuration of the drop profile of WRED.
The interface group must be created before you run this command. For details about interface groups, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Ethernet. Step 3 Run: qos { pq | wrr | drr } The scheduling mode of an interface queue is set to PQ, WRR, or DRR.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration The weight of an interface queue in WRR mode is set. By default, the weight in WRR mode is 1. NOTE You need to perform this step only when the scheduling mode of an interface queue is set to PQ+WRR or PQ+DRR.
3 Congestion Avoidance and Congestion Management Quidway S9300 Terabit Routing Switch Configuration Configuration Guide - QoS Procedure Run the display qos queue statistics interface-type interface-number command to view the queue-based statistics. NOTE The display qos queue statistics command cannot be used on G24SA or G24CA boards.
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration Table 3-1 Congestion avoidance parameters Types of Color Lower Upper Drop Percent Services Threshold (%) Threshold (%) Voice Green Video Yellow Data Table 3-2 Congestion management parameters...
Page 104
3 Congestion Avoidance and Congestion Management Quidway S9300 Terabit Routing Switch Configuration Configuration Guide - QoS Configuration Roadmap The configuration roadmap is as follows: Configure the VLAN for each interface so that the devices can communicate with each other through the link layer.
Page 105
Quidway S9300 Terabit Routing Switch 3 Congestion Avoidance and Congestion Management Configuration Guide - QoS Configuration [S9300-GigabitEthernet2/0/1] trust 8021p outer [S9300-GigabitEthernet2/0/1] quit Step 3 Configure congestion avoidance. # Create drop profile wred1 on the S9300 and set parameters of packets of three colors.