Page 2
ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations. All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION or of their respective owners.
2.4.2 Policy Routing Configuration Example ............. 2-16 2.4.3 Hierarchy Meter Configuration Example........... 2-21 2.4.4 Traffic Mirroring Configuration Example ........... 2-23 2.4.5 Configuring the Traffic Limit Based on the vlan ......... 2-25 Figures......................I Glossary ......................III SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 4
This page intentionally left blank. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
About This Manual Purpose This manual is the ZXR10 5900E Series (V3.00.11) Easy-Maintenance MPLS Routing Switch Configuration Guide (QoS), which is applicable to the ZXR10 5900E (V3.00.11) series switches. Intended Audience This manual is intended for: Network planning engineer Debugging engineer...
Page 6
This page intentionally left blank. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 7
Modify the drop priority. A packet with a higher drop priority will be dropped first. à The default priority is 3 for a red packet, 2 for a yellow packet, and 1 for a green packet. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 8
ZXR10 5900E Series Configuration Guide (QoS) The traffic limit based on the port does not cause any extra delay. à The traffic limit based on the port uses the MMU register. If it is not supported by the ACL rule, extra packets to this port will be dropped in the default drop mode. That is to say, the current packets will be dropped if no token bucket is obtained.
The local mapping relationship is valid only for the local switching chip. It becomes invalid when the ingress used for the mapping configuration and the egress used for the scheduling are not in the same board or the same switching chip. Tail Drop SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) The tail drop policy is used for the egress of a queue. The packet is dropped in accordance with its color. Three parameters need to be set, including CIR, CBS, and EBS. When the queue length exceeds the total threshold, all packets will be dropped.
Page 11
Select a WRR scheduling factor (weight). <1-4080> Select a DWRR scheduling factor (weight). Configuring Default Priority To configure default priority, perform the following steps: Command Function priority <interface><0-7> Sets the default priority. ZXR10(config-pm-qos)# Parameter descriptions are as follows: SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 12
ZXR10 5900E Series Configuration Guide (QoS) Parameter Description <interface> Interface name. <0-7> PRI value in an untag message. Configuring drop priority To configure drop priority, perform the following steps: Step Command Function cos-drop-map <0-2><0-2><0-2 Sets the drop priority. ZXR10(config-pm-qos)# ><0-2><0-2><0-2><0-2><0-2>...
Page 13
Sets the tail drop. ZXR10(config-pm-qos)# <0-4> Parameters in Step 1 are described as follows: Parameter Description <0-4> Session ID. One session can send the tail drop parameters of multiple queues. <0-7> Queue number. <1-255> Total drop threshold. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 14
ZXR10 5900E Series Configuration Guide (QoS) Parameter Description <1-255> Yellow message drop threshold. <1-255> Red message drop threshold. Parameters in Step 2 are described as follows: Parameter Description <interface> Interface name. <0-4> Session ID. Select a configured tail drop template.
Page 15
Average queue threshold at which yellow message drop starts, range: 1–11264 packets or 1–3047424 bytes. yellow-max-thrd Average queue threshold at which all yellow message are dropped, range: 1–11264 packets or 1–3047424 bytes. yellow-drop-rate Maximum yellow message drop probability, range: 0-100. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) Parameter Description red-min-thrd Average queue threshold at which red message drop starts, range: 1–11264 packets or 1–3047424 bytes. red-max-thrd Average queue threshold at which all red message are dropped, range: 1–11264 packets or 1–3047424 bytes.
Page 17
Description gei-0/1/1/1 Interface name. enable The dscp switch. The following is a sample output from the show running-config pm-qos | include priority command: ZXR10(config-pm-qos)#show running-config pm-qos | include priority priority gei-0/1/1/2 7 ZXR10(config-pm-qos)# 1-11 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 18
ZXR10 5900E Series Configuration Guide (QoS) A description of the output commands is as follows: show Command Output Description gei-0/1/1/2 Interface name. Default priority. The following is a sample output from the show running-config pm-qos | include queue -mode command:...
Page 19
0 1 1 0 2 0 1 1 ZXR10(config-pm-qos)# A description of the output commands is as follows: show Command Output Description 0 1 1 0 2 0 1 1 The drop priority of queue cos0 to cos7. 1-13 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) The following is a sample output from the show running-config pm-qos | include cos-d p-map command: ZXR10(config-pm-qos)#show running-config pm-qos | include cos-dp-map trust-cos-dp-map gei-0/1/1/1 enable ZXR10(config-pm-qos)# A description of the output commands is as follows:...
Page 22
ZXR10 5900E Series Configuration Guide (QoS) Configuration verification Use the following command to check the QoS configuration and validity on a port: ZXR10(config-pm-qos)#show running-config pm-qos ! <QOS> pm-qos traffic-limit gei-0/1/1/24 rate-limit 2000 bucket-size 300 traffic-shape gei-0/1/1/24 data-rate 2000 burst-size 300...
Page 23
Change the DSCP value of the packet. Change the drop priority. The packet with higher drop priority will be discarded first. The traffic supervision does not cause any extra delay. For the working flow, see Figure 2-1. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) Figure 2-1 Working Flow for Traffic Supervision Traffic limit The ZXR10 89 switch supports both Single Rate Three Color Marker (SrTCM) (RFC2697) arithmetic and the Two Rate Three Color Marker (TrTCM) (RFC2698) arithmetic. Both arithmetic support the Color-Blind and Color-Aware modes.
Microflow_1 and Microflow_4 can borrow the bandwidth from the Microflow_3. It only needs to ensure that the total bandwidth is not more than 100M. 2. Bandwidth Limit Figure 2-3 shows the band width limit mode. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) Figure 2-3 Bandwidth Limit Mode It is assumed that the total bandwidth (Macroflow) is 80M, and the bandwidth of flows 1-4 (Microflow) is 20M, 30M, 40M, and 10M. If the bandwidth of Microflow_1 is 50M, the bandwidth of Microflow_2 is 30M, the...
DSCP, and the forwarding -yellow-dp {high}|{low}|{medium}][remark-yellow-dscp condition for the packet after <0-63>] the color is changed, Run the no traffic-limit-acl {ipv4-access-list| ipv4-mix| ipv6-access-list| link-acl|ipv6-mix}< WORD> rule-id < 1-2147483644> command to cancel the traffic limit configuration. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 28
ZXR10 5900E Series Configuration Guide (QoS) Descriptions of the parameters in Step 2: Parameter Description {ipv4-access-list| ipv4-mix| The type and name for the bound ACL rule. ipv6-access-list| link-acl|ipv6-mix}< WORD> rule-id < 1-2147483644> The number of the ACL rule where this traffic limit takes effect.
Page 29
Specifies the related MACRO METER. [forward-red] Forwards red packets. Red packets are discarded by default. [remark-red-dp]{high}|{low}|{medium} Modifies the drop priority for red packets. Range: High, middle, and low. [remark-red-dscp]<0-63> Modifies the DSCP priority for red packets. Range: 0-63. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 30
ZXR10 5900E Series Configuration Guide (QoS) Tip: 1. The hierarchical meter only supports red color and green color. 2. The hierarchical meter command only takes effect on the ingress. 3. The hierarchical meter does not take effect on the ACL that is bounded to the vlan or Smartgroup.
Page 31
[dscp <0-63>] Modifies the dscp of a packet. [out-vlanID <1-4094>] Modifies the external vlanid of a packet. [local-precedence <0-7>] Modifies the local priority. [precedence <0-7>] Modifies the IP priority of the packet (TOS field). SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 32
ZXR10 5900E Series Configuration Guide (QoS) Tip: 1. The out-vlanID command in the priority label configuration is conflicted with next-hop or next-hop-ipv6 in the redirection commands. When two commands are configured at the same time, the packet is only redirected to next-hop or next-hop-ipv6. In this case, the remark out-vlanID command becomes invalid.
The number of the ACL rule where the configuration takes effect. pkt-type { all}|{green}|{red}|{yellow} The type of statistics packet. statistics-type { byte}|{ packet} The format of statistics packet. 2.3 Flow QoS Maintenance ZXR10 5900E provides the following commands to maintain fLow QoS. 2-11 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Configuration on the switch: /*Configuring ACL rule*/ ZXR10(config)#ipv4-access-list managerA ZXR10(config-ipv4-acl)#rule 10 permit tcp any 192.168.4.70 0.0.0.0 ZXR10(config-ipv4-acl)#rule 20 permit ip any 192.168.3.100 0.0.0.0 ZXR10(config-ipv4-acl)#rule permit any ZXR10(config-ipv4-acl)#exit /*Binding the interface of network A*/ 2-13 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) 2.4.2 Policy Routing Configuration Example Configuration Description As shown in Figure 2-5, PC-A, S2, PC-B and Server AAA are connected to a switch S1. Because route 200.0.0.0 is not advertised to S1 by S2, policy routing is configured to transport traffic between S1 and S2.
192.168.3.100. It is required for Internet bandwidth restrictions of Network A, B ,C: Network A, the maximum bandwidth required for 40M Network B, the maximum bandwidth required for 30M Network C, the maximum bandwidth required for 30M Figure 2-6 Hierarchy Meter Configuration Example 2-21 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
Page 44
ZXR10 5900E Series Configuration Guide (QoS) Configuration Flow 1. Configure an ACL for the traffic classification. According to the current requirement, use the ipv4-access-list to restrict all IP packets. 2. Set the bandwidth of department A to 40M. 3. Set the bandwidth of department B to 30M.
2.4.4 Traffic Mirroring Configuration Example Configuration Description As shown in Figure 2-7, PC-A and PC-B are connected to switch S1. It is required that packets between PC-A and PC-B are mirrored to PC for diagnosis. 2-23 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) Figure 2-7 Traffic Mirroring Configuration Example Configuration Flow 1. Configure an ACL for traffic classification. According to the current requirement, the traffic classification is done on the basis of the destination IP address, so the ipv4-access-list is used.
A that accesses the Internet, and match the traffic sent from 192.168.3.100 to network B. 2. Bind the ACL rule to the ingress of gei-0/1/1/3, and to the egress of gei-0/1/1/21. 3. Configure the traffic limit. 2-25 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5900E Series Configuration Guide (QoS) Configuration Command Run the following commands on S1: /*Configuring the ACL rule.*/ ZXR10(config)#ipv4-mixed-access-list limit_A ZXR10(config-ipv4-mixed-acl)#rule 1 permit link-protocol 2048 any any outer-vlan 10 ip any any ZXR10(config-ipv4-mixed-acl)#rule 2 permit any any ip any any...
Page 50
ZXR10 5900E Series Configuration Guide (QoS) This page intentionally left blank. 2-28 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
- First In and First Out - Internet Protocol - Peak Information Rate - Quality of Service - Strict Priority - Type of Service WRED - Weighted Random Early Detection - Weighted Round Robin SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...