Zte ZXR10 5900E Series Configuration Manual

Zte ZXR10 5900E Series Configuration Manual

Easy-maintenance mpls routing switch guide for qos
Hide thumbs Also See for ZXR10 5900E Series:

Advertisement

ZXR10 5900E Series
Easy-Maintenance MPLS Routing Switch
Configuration Guide (QoS)
Version: 3.00.11
ZTE CORPORATION
No. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://support.zte.com.cn
E-mail: support@zte.com.cn

Advertisement

Table of Contents
loading

Summary of Contents for Zte ZXR10 5900E Series

  • Page 1 ZXR10 5900E Series Easy-Maintenance MPLS Routing Switch Configuration Guide (QoS) Version: 3.00.11 ZTE CORPORATION No. 55, Hi-tech Road South, ShenZhen, P.R.China Postcode: 518057 Tel: +86-755-26771900 Fax: +86-755-26770801 URL: http://support.zte.com.cn E-mail: support@zte.com.cn...
  • 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.
  • Page 3: Table Of Contents

    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...
  • Page 5: About This Manual

    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.
  • Page 9: Chapter 1 Port Qos Configuration

    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...
  • Page 10: Configuring Port Qos

    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...
  • Page 16: Maintaining The Port Qos

    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...
  • Page 20: Port Qos Configuration Example

    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 21: Figure 1-1 Port Qos Configuration Example

    Configuration on the switch: ZXR10(config)#pm-qos ZXR10(config-pm-qos)#traffic-limit gei-0/1/1/24 rate-limit 2000 bucket-size 300 ZXR10(config-pm-qos)#traffic-shape gei-0/1/1/24 data-rate 2000 burst-size 300 ZXR10(config-pm-qos)#conform-dscp 20 63 7 0 ZXR10(config-pm-qos)#trust-dscp gei-0/1/1/4 enable ZXR10(config-pm-qos)#cos-local-map 0 1 1 2 2 3 5 7 ZXR10(config-pm-qos)#trust-cos-lp-map gei-0/1/1/2 1-15 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • 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...
  • Page 24: Figure 2-1 Working Flow For Traffic Supervision

    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.
  • Page 25: Chapter 2 Flow Qos Configuration

    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...
  • Page 26: Figure 2-3 Bandwidth Limit Mode

    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...
  • Page 27: Configuring Flow Qos

    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.
  • Page 33: Flow Qos Maintenance

    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...
  • Page 34: Flow Qos Configuration Example

    ZXR10 5900E Series Configuration Guide (QoS) Command Function Displays statistics of traffic show traffic-statistics{ipv4-access-list| ipv4-mix| ZXR10# ipv6-access-list| link-acl | ipv6-mix }< acl-name> rule-id < rule-no> shelfID <shelf-no> slot <slot-no> clear traffic-statistics {ipv4-access-list| ipv4-mix| Clears statistics of traffic ZXR10# ipv6-access-list| link-acl|ipv6-mix}< WORD> rule-id <...
  • Page 35: Figure 2-4 Traffic Limit And Statistics Configuration Example

    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...
  • Page 36 ZXR10 5900E Series Configuration Guide (QoS) ZXR10(config)#ipv4-access-group interface gei-0/1/1/1 ingress managerA /*Configuring priority mark*/ ZXR10(config)#pm-qos ZXR10(config-pm-qos)#priority-mark ipv4-access-list managerA rule-id 10 cos 7 dscp 63 /*Configuring traffic limit*/ ZXR10(config-pm-qos)#traffic-limit-acl ipv4-access-list managerA rule-id 20 cir 10000 cbs 200 ebs 3000 mode blind...
  • Page 37 /*Checking traffic statistics*/ ZXR10#show traffic-statistics ipv4-access-list managerA rule-id 20 shelfID 0 slot 1 Shelf: Slot: PKT/BYTE:25645 STATUS: OK ZXR10#show traffic-statistics ipv4-access-list managerB rule-id 20 shelfID 0 slot 1 Shelf: Slot: PKT/BYTE:1000 STATUS: OK 2-15 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • Page 38: Policy Routing Configuration Example

    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.
  • Page 39 ZXR10(config-swvlan-intf)#switchport trunk vlan 10 ZXR10(config-swvlan-intf)#exit ZXR10(config-swvlan)#interface gei-0/1/1/3 ZXR10(config-swvlan-intf)#switchport mode trunk ZXR10(config-swvlan-intf)#switchport trunk vlan 4 ZXR10(config-swvlan-intf)#exit ZXR10(config-swvlan)#exit ZXR10(config)#interface vlan1 ZXR10(config-if)#ip address 192.168.101.2 255.255.255.0 ZXR10(config-if)#exit ZXR10(config)#interface vlan5 ZXR10(config-if)#ip address 192.168.210.2 255.255.255.0 ZXR10(config-if)#exit ZXR10(config)#interface vlan2 ZXR10(config-if)#ip address 192.168.102.2 255.255.255.0 2-17 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • Page 40 ZXR10 5900E Series Configuration Guide (QoS) ZXR10(config-if)#exit ZXR10(config)#interface vlan10 ZXR10(config-if)#ip address 192.168.110.2 255.255.255.0 ZXR10(config-if)#exit ZXR10(config)#interface vlan4 ZXR10(config-if)#ip address 192.168.103.2 255.255.255.0 ZXR10(config-if)#exit /*Configuring ACL rule*/ ZXR10(config)#ipv4-access-list redirectAAA ZXR10(config-ipv4-acl)#rule 10 permit tcp 192.168.210.2 0.0.0.0 any ZXR10(config-ipv4-acl)#rule 20 permit ip any any ZXR10(config-ipv4-acl)#exit...
  • Page 41 ZXR10(config-swvlan-intf)#switchport mode trunk ZXR10(config-swvlan-intf)#switchport trunk vlan 4 ZXR10(config-swvlan-intf)#exit ZXR10(config-swvlan)#interface gei-0/1/1/20 ZXR10(config-swvlan-intf)#switchport mode access ZXR10(config-swvlan-intf)#switchport access vlan 14 ZXR10(config-swvlan-intf)#exit ZXR10(config-swvlan)#exit ZXR10(config)#interface vlan10 ZXR10(config-if)#ip address 192.168.110.1 255.255.255.0 ZXR10(config-if)#exit ZXR10(config)#interface vlan4 ZXR10(config-if)#ip address 192.168.103.1 255.255.255.0 ZXR10(config-if)#exit 2-19 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • Page 42 ZXR10 5900E Series Configuration Guide (QoS) ZXR10(config)#interface vlan14 ZXR10(config-if)#ip address 200.0.0.2 255.255.255.0 ZXR10(config-if)#exit Configuration Verification Check QoS configuration results. /*Checking the ACL configuration.*/ ZXR10(config)#show ipv4-access-lists name redirectAAA ipv4-access-list redirectAAA 2/2 (showed/total) 10 permit tcp 192.168.210.2 0.0.0.0 any 20 permit ip any any...
  • Page 43: Hierarchy Meter Configuration Example

    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.
  • Page 45: Traffic Mirroring Configuration Example

    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...
  • Page 46: Figure 2-7 Traffic Mirroring Configuration Example

    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.
  • Page 47: Configuring The Traffic Limit Based On The Vlan

    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...
  • Page 48: Configuration Command

    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 49 ZXR10(config-pm-qos)#show running-config pm-qos ! <QOS> pm-qos traffic-limit-acl ipv4-mix limit_A rule-id 1 cir 100000 cbs 200 ebs 3000 mode blind traffic-limit-acl ipv4-mix limit_B rule-id 1 cir 100000 cbs 200 ebs 3000 mode blind ! </QOS> 2-27 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • 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...
  • Page 51: Figures

    Figure 2-4 Traffic Limit and Statistics Configuration Example ........2-13 Figure 2-5 Policy Routing Configuration Example ........... 2-16 Figure 2-6 Hierarchy Meter Configuration Example..........2-21 Figure 2-7 Traffic Mirroring Configuration Example ..........2-24 Figure 2-8 flow qos config Example Structure ............2-25 SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • Page 52 Figures This page intentionally left blank. SJ-20150114102049-008|2015-01-15 (R1.0) ZTE Proprietary and Confidential...
  • Page 53: Glossary

    - 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...

Table of Contents