Page 1
ZXR10 Router/Ethernet Switch Command Manual (QoS Volume) Version 4.8.22 ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 Fax: (86) 755 26770801 URL: http://ensupport.zte.com.cn E-mail: support@zte.com.cn...
Page 2
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO- RATION is prohibited.
Purpose operation of ZXR10 router and Ethernet switch. This manual is intended for engineers and technicians who perform Intended Audience operation activities on ZXR10 router and Ethernet switch. This manual contains the following chapters: What Is in This Manual Chapter...
Page 8
ZXR10 Command Manual (QoS Volume) � ZXR10 Router/Ethernet Switch Command Manual (IPv6 Vol- ume) � ZXR10 Router/Ethernet Switch Command Manual (Voice and Video Service Volume) Confidential and Proprietary Information of ZTE CORPORATION...
To search a command, do as follows: 1. Find the desired command by referring to ZXR10 Router/Eth- ernet Switch Command Manual — Command Index. 2. Find command details by the volume, chapter/section and page of the obtained command.
Do not describe the history command if this entry does not exist. Auxiliary Function The auxiliary function for ZXR10 devices is as follows. 1. In any command mode, enter a question mark (?) after the DOS prompt of the system, a list of available commands in the command mode will be displayed.
ENTER. The ^ is below the first character of the input incorrect command, keyword or parameter. 3. ZXR10 router/Ethernet switch allows the command or key- word to be abbreviated into a character or character string that uniquely identifies this command or keyword. For example, the show command can be abbreviated to sh or sho.
Page 12
<1~64 mode mode serial port >(GAR) and telnet connection Layer ZXR10(config- Global acl link Defines layer 2 ACL link-acl)# config- 2 ACL rule config- uration uration mode mode Confidential and Proprietary Information of ZTE CORPORATION...
Page 13
Configures ospf OSPFv3 parameters ZXR10(config- Global ip vrf Configures config- vrf)# config- uration uration parameters mode mode VFI con- Global ZXR10(config- Configures figu- config- vfi)# VPLS related ration uration parameters mode mode Confidential and Proprietary Information of ZTE CORPORATION...
Page 14
IPSec ZXR10(config- Global ipsec Configures config- config- ipsec)# IPv6 IPSec uration uration protection mode mode Diagno- Privi- diagnose Tests CPU ZXR10(diag)# sis mode leged and memory mode usage Confidential and Proprietary Information of ZTE CORPORATION...
................30 drop-mode tail-drop Use this command to configure port drop policy. Delete this con- Purpose figuration with the no command. Interface configuration Command Modes drop-mode tail-drop <session-index> Syntax no drop-mode Confidential and Proprietary Information of ZTE CORPORATION...
Description <session-index> Tail drop policy table number, range: 0~4 This command is disabled by default. Defaults It is applied to ZXR10 T160G and ZXR10 5900. Instructions This example describes how to configure tail drop policy table 1. Example ZXR10(config)#interface vlan10...
The port default priority, range: 0~7, 0 by default The port priority default value is 0. Defaults This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10 Instructions 3900/3200. This example describes how to set the port default priority as 3.
ZXR10 3900/3200 <acl-no> is in the range of 1~299, <rule-no> is in the range of 1~100 This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10 Instructions 3900/3200 only. This example describes how to configure the port priority related Example to the first rule of ACL 100.
The platform version 4.6.02 and upgrade versions of ZXR10 6900 Instructions switch support this command. RFC defines that the aging time is 24 hours. However, ZXR10 6900 is required to configure this aging time. Considering the actual requirement we make this modification and this makes the aging time of nd stale state be configured.
(green, yellow or red) determined by three-color mark algorithm. This example describes how to configure conform-local. Example ZXR10(config)#qos conform-local green 0 1 2 3 4 5 6 7 show running-config Related Commands...
The platform version 4.6.02 and upgrade versions support this Instructions command. � It is applied to ZXR10 3900/3200, ZXR10 T160G and ZXR10 5900. � When a switch receives a packet, it will determine the packet cos value first (for the TAG packet, the cos value is the 802.1P...
The platform version 4.6.02 and upgrade versions support this Instructions command. � It is applied to ZXR10 3900/3200, ZXR10 T160G and ZXR10 5900. � When a switch receives a TAG packet, the packet cos value is the packet 802.1P user priority and the switch determines the packet local priority based on the cos value through this mapping table.
<red-threshold> Drop threshold of red packet, range: 1~256 Defaults <all-threshold> <yellow-threshold> <red-threshold> It is applied to ZXR10T160G and ZXR10 5900. Instructions This example describes how to configure tail-drop. Example ZXR10(config)#qos tail-drop 0 112 112 112 show qos tail-drop Related Command...
Page 24
The platform version 4.6.02 and upgrade versions support this Instructions command. � It is applied to ZXR10 3900/3200. � The WRED drops the packets based on the Drop-precedence and the packet with higher drop precedence has a larger prob- ability than the packet with lower drop precedence. Thus, the packet with lower drop precedence possesses higher forward- ing possibility.
9 by default and it is not sug- gested to be modified. This example describes how to configure WRED. Example ZXR10(config)#qos wred fei 1 queueid 1 10 10 15 10 10 15 10 10 15 show running-config Related...
Not supported <schedule-unit> Not supported The queue mode is strict-priority by default. Defaults This command is applied to ZXR10 T160G and ZXR10 5900. Instructions This example describes how to set the strict-priority as the queue Example mode. ZXR10(config)#interface vlan10...
ZXR10 3900/3200 <acl-number> is in the range of 1~299. <rule-no> is in the range of 1~100. This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10 Instructions 3900/3200 only. This example describes how to show the ACL 100-related QoS con- Example figuration.
All modes Command Modes show qos-conform-dscp Syntax � It is applied to ZXR10 3900/3200, ZXR10 T160G and ZXR10 Instructions 5900. � The default mapping table configuration is not displayed. This example describes how to display conform-dscp configuration Example information.
Chapter 2 QoS Configuration(Ethernet Switching System) This example describes how to display the information of cos-drop- Example map configuration. ZXR10#show qos-cos-drop qos cos-drop-map 0 1 2 2 1 1 2 2 qos cos-drop-map Related Commands show qos cos-local-map Use this command to set the mapping table between the 802.1P Purpose user priority and the switch local priority.
All modes Command Modes show qos-wred Syntax � It is applied to ZXR10 3900/3200. Instructions � The default drop algorithm parameter configuration is not dis- played. This example describes how to display the configuration content Example of WRED policy.
Chapter 2 QoS Configuration(Ethernet Switching System) � This command is applied to ZXR10 T160G, ZXR10 5900 and Instructions ZXR10 3900/3200. � rule-id <rule-no> is optional. If it is specified, the config- uration and statistics information of this <acl-number> and <acl-no> will be displayed only; otherwise, the rule configura- tion and statistics information of all traffic statistics functions of this <acl-number>...
Use this command to configure traffic policing. Delete the config- Purpose uration with the no command. Global configuration Command Modes The command format on ZXR10 T160G and ZXR10 5900: Syntax traffic-limit {<acl-no>|<acl-name>} rule-id <rule-no> cir <cir-value> cbs <cbs-value>{pir <pir-value> pbs <pbs-value>| ebs <ebs-value>} mode blind | aware [{[remark-red-dp <drop-precedence>][remark-red-dscp...
Page 33
(confirm-level: green, yellow, red) and the local-precedence of the packet. remark-drop-prior Rewrites drop-precedence of the packet, green: drop-precedence 0; yellow: drop-precedence 1; red: drop-precedence 2. Confidential and Proprietary Information of ZTE CORPORATION...
ZXR10 3900/3200. � This example describes how to configure traffic policing based Example on Rule 1 in ACL 100 on ZXR10 T160G and ZXR10 5900. ZXR10(config)#traffic-limit 100 rule-id 1 cir 100 cbs 2000 ebs 500000 mode blind � This example describes how to configure traffic policing based on Rule 1 in ACL 100 on ZXR10 3906.
1~100. ZXR10 3900/3200 <acl-number> is in the range of 1~299. <rule-nor> is in the range of 1~100. This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10 Instructions 3900/3200. This example describes how to configure traffic mirroring based on Example Rule 1 in ACL 100.
<rate> Limited rate, range: 650~100000 (100M port) or 650~1000000 (1000M port) <size> Burst size, range: 4~4095 This command is applied to ZXR10 3900/3200 and ZXR10 5900. Instructions This example describes how to configure traffic shaping for the Example incoming interface.
<acl-numer> and <rule-no>must be defined before this com- Instructions mand is executed. � This command applies to ZXR10 T160G, ZXR10 5900 and ZXR10 3900/3200. This example describes how to configure traffic statistics based on Example Rule 1 in ACL 100.
| disable Applies DSCP mapping | Disables DSCP mapping. DSCP mapping is not applied by default. Defaults This command is applied to ZXR10 5900 and ZXR10 T160G. Instructions This example describes how to configure port apply DSCP map- Example ping.
Page 39
Chapter 2 QoS Configuration(Ethernet Switching System) ZXR10(config-if)#trust-dscp enable qos conform-dscp Related Commands Confidential and Proprietary Information of ZTE CORPORATION...
Page 40
ZXR10 Command Manual (QoS Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
..............87 bandwidth Use this command to configure the minimum bandwidth of policy. Purpose Cancel the settings with the no command. Policy configuration Command Modes bandwidth {<bandwidth>| percent <percentage>} Syntax no bandwidth <class-map-name> Confidential and Proprietary Information of ZTE CORPORATION...
The parameter <bandwidth> is not in the command format for ZXR10 T64E/128. � This command applies to ZXR10 T64E/128 and ZXR10 GER. This example describes how to configure the minimum bandwidth Example of class_1 policy on policy mapping policy_1 as 10%.
The class mapping that the parameter <class-map-name> specifies has to be a created one. � This command applies to ZXR10 T64E/T128 and ZXR10 GER. This example describes how to set policy name class_1 in policy Example map policy_1 and enter policy configuration mode.
If the current class-map is used by H-QoS, then this class-map Instructions can not be deleted. � This command is applied to ZXR10 T64E/T128 and ZXR10 T600/T1200. This example describes how to create the H-QoS mapping named Example hqos_1, and configure the first layer policy.
If class map is deleted, all matching rules of the other related class mapping and the policy classes will be deleted at the same time. � This command is applied to ZXR10 T64E/T128 and ZXR10 GER. This example describes how to set class_1 map and enter mapping Example configuration mode.
<interface-name> Syntax Syntax Description <interface-name> Name of the specified interface This command is applied to ZXR10 GAR, ZXR10 ZSR and ZXR10 Instructions GER. This example describes how to clear the QoS statistic count on Example interface fei_4/1.
� The platform version 4.6.02 and upgrade versions support this command. � This command is applied to ZXR10 GAR and ZXR10 ZSR only. This example describes how to apply the customized list 1 to the Example interface fei_4/1. ZXR10(config)#interface fei_4/1...
<action> designated rate: drop: discard data packet continue: evaluate next rate-limit command transmit: send data packet This command is applied to ZXR10 GER. Instructions This example describes how to set all interface ICMP packet DOS Example protection function. ZXR10(config)#interface fei_1/1...
Action for the packet exceeding the <action> designated rate: drop: discard data packet transmit: send data packet This command is applied to ZXR10 GER. Instructions This example describes how to set DOS protection function of MAC Example address broadcast packet on all interfaces.
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR only. � This example describes how to apply the WFQ to the inter- Example face fei_4/1, and set the maximal number of messages of each queue to 96 and the number of dynamic queues to the default value.
H-QoS mapping should be created. It is not required to input H-QoS mapping name when deleting. � ZXR10 T64E/T128 and ZXR10 T600/T1200 support this com- mand. This example describes how to create H-QoS mapping named Example hqos_1, and enter H-QoS mapping configuration mode.
When this interface has been applied with H-QoS mapping, this Instructions H-QoS mapping is not permitted to delete. � ZXR10 T64E/T128 and ZXR10 T600/T1200 supports this com- mand. This example describes how to create H-QoS mapping named as Example hqos_1, and enter into H-QoS mapping configuration mode.
Syntax Description {<acl-no>|<acl-nam (IPv4)ACL number and name ACL e>} The platform version 4.6.02 and upgrade versions of ZXR10 6900 Instructions switch support this command. In map class_1, set matching access-group and designate a Example matching rule. The matching rule: to match the data flow defined by (IPv4) ACL 10 .
� The parameter <class-map-name> defines the map must be Instructions set already. � This command is applied to ZXR10 T64E/T128. In map class_1, set match access-group and match rule to match Example class_2 data flow. ZXR10(config)#class-map class_1 ZXR10(config-cmap)#match class-map class_2...
<input-interface-name> Syntax Description <input-interface-na Input interface name me> This command is applied to ZXR10 GER. Instructions In map class_1, set match access-group and define match rule to Example match the data flow from interface fei_1/1. ZXR10(config)#class-map class_1...
Syntax Description <ip-precedence-val IP precedence value, range: 0~7 ue> This command is applied to ZXR10 GER and ZXR10 T64E/T128. Instructions In map class_1, set match access group and define matching rule Example to match precedence value 7 data flow. ZXR10(config)#class-map class_1...
<match-criteria> Syntax Description match-criteria Some matching rule This command is applied to ZXR10 GER. Instructions � This example shows that map class_1 set match access group Example and define the matching rule: not matching the data flow from destination MAC address 1111.2222.3333 .
This example describes how to create the matching item and spec- Example ify the matching rule as matching the data flow of vlan-id 10 in class-map class_1. ZXR10(config)#class-map class_1 ZXR10(config-cmap)#match vlan-id 10 class-map Related Commands show class-map Confidential and Proprietary Information of ZTE CORPORATION...
� This command is applied to ZXR10 GER and ZXR10 T64E/T128. This example describes how to configure flow inspection for the Example class named class_1 in policy map policy_1. Set the data aver- age rate as 8kbit/s, normal burst as 20000, maximum burst as 200000.
� When the policy mapping is deleted, all policies will be deleted at the same time. � This command is applied to ZXR10 GER and ZXR 10 T64E/T128. This example describes how to set a policy mapping named pol- Example icy_1 and enter policy mapping configuration mode.
� An interface uses only one priority list. Instructions � This command is applied to ZXR10 GAR, ZXR10 GER and ZXR10 T64E/T128 and ZXR10 ZSR. This example describes how to apply the priority list 1 to the in- Example terface fei_4/1.
For the same <list-number> , the command will specify a new Instructions default queue in the next time. This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 T64E/T128 and ZXR10 ZSR. This example describes how to specify a queue with low priority Example for the packet that does not match any rules in the priority list 1.
Designated DSCP value, range: 0~63 Priority queue high | medium | normal | low This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 Instructions T64E/T128 and ZXR10 ZSR. This example describes how to specify a queue with low priority Example for the packet with the DSCP value 10 in priority-list 1.
Chapter 3 QoS configuration(Router Series) This command is applied to ZXR10 GAR, ZXR10 GER and ZXR10 Instructions ZSR. This example describes how to specify a queue with low priority Example for the packet entering the interface fei_4/1 in priority-list 1.
Designated MPLS-EXP value, range: 0~7 -value> high | medium | Priority queue normal | low This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 Instructions T64E/T128 and ZXR10 ZSR. This example describes how to specify a queue with low priority Example for the packet with the MPLS-EXP value 7 in priority-list 1.
Designated IP precedence value, range: 0~7 <precedence> Priority queue high | medium | normal | low This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 Instructions T64E/T128 and ZXR10 ZSR. This example describes how to specify a queue with low priority Example for the packet with the IP precedence value 7 in priority-list 1.
Value range: 0~128, 40 by default ZXR10 GER Value range: 0~128, 90 by default ZXR10 ZSR Value range: 0~128, 40 by default Product Description of <normal-limit> ZXR10 GAR Value range: 0~128, 60 by default Confidential and Proprietary Information of ZTE CORPORATION...
Defaults ber of packets in the queue with different priorities in the priority list is the default value. This command is applied to ZXR10 GAR, ZXR10 GER and ZXR10 Instructions ZSR. This example describes how to set the maximal number of packets...
Global configuration Command Modes qos ip Syntax no qos ip This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 Instructions T64E/T128 and ZXR10 ZSR. This example describes how to enable the QoS function. Example ZXR10(config)#qos ip...
Interface configuration Command Modes qos-map {enable | disable} Syntax Disable Defaults This command is applied to ZXR10 GER. Instructions This example describes how to enable QoS mapping on the inter- Example face. ZXR10(config)#interface fei_4/1 ZXR10(config-if)#qos-map enable...
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR. This example describes how to specify the customized queue 2 for Example the packet that does not match any rules in the customized list 1.
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR. This example describes how to specify the customized queue 2 for Example the packet with ACL number 10 in the customized list 1.
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR. � This example describes how to set the maximal number of Example packets of the user-defined queue 2 to 30 in customized list 1 and set the maximal number of bytes to the default value.
Page 75
Optional ZXR10 GER Not selectable ZXR10 ZSR optional ZXR10 T64E/T128 Not selectable Product Description of <exponent> ZXR10 GAR Value range: 1~16, 3 by default ZXR10 ZSR Value range: 1 ~16, 3 by default Confidential and Proprietary Information of ZTE CORPORATION...
Page 76
Description of <max-threshold> ZXR10 GAR Value range: 1~16, 40 by default ZXR10 ZSR Value range: 1~16, 40 by default ZXR10 GER Value range: 1~112, no default value ZXR10 T64E/T128 Value range: 1~64, no default value Confidential and Proprietary Information of ZTE CORPORATION...
Page 77
This example describes how to enable the WRED on the inter- Example face fei_4/1 on ZXR10 ZSR and ZXR10 GAR, set the exponent used to compute the average queue length, minimal/maximal threshold value of the average queue length of different prior- ities and discard probability to their default values.
ZXR10 Command Manual (QoS Volume) ity to 30 of the average queue length with priority value as 2 on the interface fei_4/1 on ZXR10 T64E/T128. ZXR10(config)#interface fei_4/1 ZXR10(config-if)#random-detect precedence 2 20 40 30 For ZXR10 GAR and ZXR10 ZSR, Related...
<mark-prob-denomin Denominator of discard probability, range: ator> 1~100 � This command is applied to ZXR10 T64E/T128. Instructions � Enable WRED discard policy by using the command random- detect prec-based first, then use this command. This example describes how to configure policy map policy_1: set...
Enable WRED discard policy firstly by using the command rand Instructions om-detect , then use this command. � This command is applied to ZXR10 T64E/T128. This example describes how to confiure policy map policy_1: set Example the name to class_1, set the denominator for accounting average queue length to 7.
Page 81
Sets an IP precedence value (0 ~ 7) and sends the packet exceed-action Actions for the packet exceeding the <action> designated rate: drop: Discards the packet continue: Evaluates the next rate-limit command transmit: Sends the packet Confidential and Proprietary Information of ZTE CORPORATION...
Page 82
ZXR10 T64E/T128 No such a parameter This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10 Instructions T64E/T128 and ZXR10 ZSR. This example describes how to set the rate of traffic with DSCP...
Sets an IP precedence value (0 ~ 7) and sends the packet exceed-action Actions for the packet exceeding the <action> designated rate: drop: Discards the packet continue: Evaluates the next rate-limit command Confidential and Proprietary Information of ZTE CORPORATION...
PQ, CAR, WRED configu- rations can not be restored. � This command is applied to ZXR10 GER and ZXR10 T64/T128. � ZXR10 T64E/T128 does not have the parameter output. This example describes how to configure interface fei_1/1 output Example direction bound policy map policy_1.
Syntax Description <dot1p-value> 802.1p value, range: 0~7 This command is applied to ZXR10 GER. Instructions This example describes how to configure policy map policy_1 name Example class_1 policy class, and use value 7 to mark message 802.1p field.
Instructions � This command is applied to ZXR10 GER. This example describes how to configure policy map policy_1: set Example the name to class_1 policy class, and use value 7 to mark message IP precedence field.
If the parameter <class-map-name> needs to specify, the class map has to be a created class map. � This command is applied to ZXR10 T64E/T128. This example describes how to show name class_1 class map and Example all matched configuration.
[<hierarchy-qos-name>] Syntax Syntax Description <hierarchy-qos-na H-QoS mapping name me> This command is applied to ZXR10 T64E/T128 and ZXR10 Instructions T600/1200. This example describes how to display H-QoS mapping named Example hqos_1. ZXR10(config)#show hierarchy-qos hqos_1 hierarchy-qos hqos_1 class c1 8000 20000 20000 conform-action transmit...
<class-map-name> is also specified, the specified class map and its policy configurations will be shown only. � This command is applied to ZXR10 T64E/T128 and ZXR10 GER. � This example describes how to show all policy maps and policy Example configurations.
� The platform version 4.8.21 and the upgrade version support Instructions this command. � This command is applied to ZXR10 T64E/T128 and ZXR10 T600/1200. � This example describes how to show the statistic information Example of bandwidth policy on interface fei_4/1.
VRF is shown. � The VRF has to be created before. Instructions � This command is applied to ZXR10 T64E/T128 and ZXR10 T600/T1200. This example describes how to display the QoS configuration on Example interface fei_4/1 which belongs to vrf_1.
� The platform versions 4.8.21 and upgrade version support this Instructions command. � This command is applied to ZXR10 T64E/T128 and ZXR10 T600/T1200. � This example describes how to display the statistic information Example of queue policy on interface fei_4/1.
� The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is only applied to ZXR10 GAR, ZXR10 ZSR. This example describes how to show the configuration information Example of all user-defined lists. ZXR10(config)#show queueing custom...
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR. This example describes how to show the congestion management Example policy information and statistics of fei_4/1. ZXR10(config)#show queueing interface fei_4/1...
The platform version 4.6.02 and upgrade versions support this Instructions command. � This command is applied to ZXR10 GAR and ZXR10 ZSR. This example describes how to show the WRED configuration and Example statistical information of all WRED-enabled interfaces. ZXR10(config)#show queuing random-detect...
Need help?
Do you have a question about the ZXR10 and is the answer not in the manual?
Questions and answers