Professional Documents
Culture Documents
Command Manual (Qos Volume) : Router/Ethernet Switch
Command Manual (Qos Volume) : Router/Ethernet Switch
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
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. 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.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are dis-
claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-
fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
Revision History
Purpose This manual provides procedures and guidelines that support the
operation of ZXR10 router and Ethernet switch.
Intended This manual is intended for engineers and technicians who perform
Audience operation activities on ZXR10 router and Ethernet switch.
What Is in This This manual contains the following chapters:
Manual
Chapter Summary
Command Introduction
Table of Contents
Manual Use Guide............................................................... 1
Description of Man-Machine Commands ................................. 1
Auxiliary Function ............................................................... 2
Command Mode ................................................................. 3
Description of Man-Machine
Commands
Each MML command is described by the following items:
� Function
It describes the function implemented by this command.
� Command Mode
It describes the mode in which this command can be executed.
� Format
It describes the complete format of this command, including
the no format if possible.
� Parameter Description
It describes parameters in this command in the form and pre-
scribes the range and default value. If different products have
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. With the context-sensitive
help function, the keywords and parameter lists of any com-
mands can be obtained.
i. In any command mode, enter a question mark "?" after the
DOS prompt of the system, and a list of all commands in
the mode and the brief description of the commands will
be displayed.
ii. Input the question mark behind a character or character
string to view the list of commands or keywords beginning
with this character or character string. Note that there is
no space between the character (string) and the question
mark.
iii. Press TAB behind the character string. If the command or
keyword beginning with this character string is unique, it
shall be completed with a space at the end. Note that there
is no space between the character string and the TAB.
Command Function
Command Mode
The command modes in this manual are shown below.
router Configures
pimsm PIM-SM
parameters
QoS Configuration(Ether
net Switching System)
Table of Contents
drop-mode tail-drop............................................................ 7
drop-mode wred................................................................. 8
priority.............................................................................. 8
priority-mark ..................................................................... 9
qos conform-dscp ..............................................................10
qos conform-local ..............................................................11
qos cos-drop-map .............................................................12
qos cos-local-map .............................................................13
qos tail-drop .....................................................................14
qos wred ..........................................................................15
queue-mode .....................................................................17
redirect ............................................................................18
show qos..........................................................................19
show qos conform-dscp ......................................................20
show qos-conform-local......................................................20
show qos cos-drop-map .....................................................20
show qos cos-local-map .....................................................21
show qos tail-drop .............................................................21
show qos wred ..................................................................22
show traffic-statistics .........................................................22
traffic-limit(interface).........................................................23
traffic-limit(Global) ............................................................24
traffic-mirror.....................................................................26
traffic-shape .....................................................................27
traffic-statistics .................................................................28
trust-cos ..........................................................................29
trust-cos-drop...................................................................29
trust-cos-local...................................................................30
trust-dscp ........................................................................30
drop-mode tail-drop
Purpose Use this command to configure port drop policy. Delete this con-
figuration with the no command.
Command Modes Interface configuration
Syntax drop-mode tail-drop <session-index>
no drop-mode
Syntax
Description
<session-index> Tail drop policy table number, range: 0~4
Related tail-drop
Commands
show qos tail-drop
show running-config interface
drop-mode wred
Purpose Use this command to configure port WRED drop policy. Delete this
configuration with the no command.
Command Modes Interface configuration
Syntax drop-mode wred <session-index>
no drop-mode
Syntax
Description
<session-index> WRED drop policy table number. 0~3. If the
interface is L2 fei interface, the range is 0~1.
If the interface is L2 gei interface, the range
is 2~3.
Related tail-drop
Commands
show qos tail-drop
show running-config interface
priority
Purpose Use this command to configure the port default priority. Restore
the default configuration with the no command.
Command Modes Interface configuration
Syntax priority <value>
no priority
Syntax
Description
<value> The port default priority, range: 0~7, 0 by
default
priority-mark
Purpose Use this command to configure the traffic priority-mark function.
Delete the configuration with the no command.
Command Modes Global configuration
Syntax The command format on ZXR10 T160G and ZXR10 5900:
priority-mark {<acl-no>|<acl-name>} rule-id <rule-no
>{[dscp <dscp-value>][drop-precedence <drop-preceden
ce>][{precedence <precedence-value>| local-precedence
<drop-value>}]}
The command format on ZXR10 3900/3200:
priority-mark {<acl-no>|<acl-name>} rule-id <rule-no>{tru
st-dscp | dscp <dscp-value>| untrusted dscp <dscp-value>
cos <cos-value> local-precedence <local-value> drop-prece
dence <drop-value>}
no priority-mark {<acl-no>|<acl-name>} rule-id <rule-no>
Syntax
Description
<acl-no>|<acl-na ACL number | ACL name
me>
Instructions This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10
3900/3200 only.
Example This example describes how to configure the port priority related
to the first rule of ACL 100.
ZXR10 T160G:
ZXR10(config)# priority-mark in 100 rule-id 1 dscp 1
local-precedence 1 drop-precedence high
ZXR10 3906:
ZXR10(config)#priority-mark in 100 rule-id 1 untrusted dscp 1
cos 1 local-precedence 1 drop-precedence low
qos conform-dscp
Purpose Use this command to set the service parameter mapping based on
the allocated packets with conformance level and DSCP value as
the indexes.
Command Modes Global configuration
Syntax The command format on ZXR10 T160G and ZXR10 5900:
qos conform-dscp <dscp-list><dscp-value><cos-value><drop
-precedence>
no qos conform-dscp <dscp-list>
The command format on ZXR10 3900/2900:
qos conform-dscp <conform-level><dscp-list><dscp-value><c
os-value><local-value><drop-precedence>
no qos conform-dscp <conform-level><dscp-list>
Syntax
Description
<conform-level> Conform level, in the range of {green, yellow
and red}
qos conform-local
Purpose Use this command to set the mapping table for allocating the
802.1P user priority parameters with conformance level and lo-
cal-precedence as indexes.
Command Modes Global configuration
Syntax qos conform-local <conform-level><cos0-value><cos1-value
><cos2-value><cos3-value><cos4-value><cos5-value><cos6-
value><cos7-value>
no qos conform-local <conform-level>
Syntax
Description
<conform-level> Conform level, in the range of {green, yellow
and red}
qos cos-drop-map
Purpose Use this command to set the mapping table between the 802.1P
user priority and the switch local drop precedence.
Command Modes Global configuration
Syntax qos cos-drop-map <cos0-value><cos1-value><cos2-value><c
os3-value><cos4-value><cos5-value><cos6-value><cos7-val
ue>
no qos cos-drop-map
Syntax
Description
<cos0-value> The corresponding drop precedence when cos
is 0, range: 0~2
qos cos-local-map
Purpose Use this command to set the mapping table between the 802.1P
user priority and the switch local priority.
Command Modes Global configuration
Syntax qos cos-local-map <cos0-value><cos1-value><cos2-value><c
os3-value><cos4-value><cos5-value><cos6-value><cos7-val
ue>
no qos cos-local-map
Syntax
Description
<cos0-value> The corresponding local priority when cos is
0, range: 0~7
qos tail-drop
Purpose Use this command to configure tail drop policy. Restore the default
value with the no form of this command.
Command Modes Global configuration
Syntax qos tail-drop <session-index> queue-id <queue-id><all-thres
hold><yellow-threshold><red-threshold>
no qos tail-drop <session-index> queue-id <queue-id>
Syntax
Description
<session-index> Tail drop policy table number, range: 0~4
Defaults
<all-threshold> 128
<yellow-threshold> 128
<red-threshold> 128
qos wred
Purpose Use this command to set the switch WRED (random early drop
based on weight) drop algorithm parameter.
Command Modes Global configuration
Syntax qos wred {fei <wred-index> queueid <queue-id><green-mi
n><green-max><green-drop><yellow-min><yellow-max><y
ellow-drop><red-min><red-max><red-drop><weight>| gei
<wred-index> queueid <queue-id><green-min><green-max
><green-drop><yellow-min><yellow-max><yellow-drop><red
-min><red-max><red-drop><weight>}
no qos wred <wred-index> queueid <queue-id>
Syntax
Description
<wred-index> WRED algorithm index number. When the fei
parameter is selected, the range will be 0~1;
when the gei parameter is selected, the range
will be 2~3.
queue-mode
Purpose Use this command to configure the queue mode. Delete the con-
figuration with the no command.
Command Modes Interface configuration
Syntax queue-mode {strict-priority | wrr <queue-no><wrr-queue-w
eight>| dwrr <queue-no><dwrr-queue-weight>}
no queue-mode [<queue-no>]
Syntax ZXR 10 T160G:
Description
strict-priority Strict priority
ZXR 10 5900:
redirect
Purpose Use this command to configure the redirection. Delete the config-
uration with the no from of this command.
Command Modes Global configuration
Syntax redirect {<acl-no>|<acl-name>} rule-id <rule-no>{cpu| inte
rface <port-name>| next-hop <ip-address>}
no redirect {<acl-no>|<acl-name>} rule-id <rule-no>
Syntax
Description
<acl-no>|<acl-na ACL number/ACL name
me>
Instructions � Both the ACL number and rule id can be used only after being
defined.
show qos
Purpose Use this command to show the QoS configuration information.
Command Modes All modes
Syntax show qos [{number <acl-number>| name <acl-name>}[rule
-id <rule-no>]]
Syntax
Description
<acl-number> ACL number
Product Description
Instructions This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10
3900/3200 only.
Example This example describes how to show the ACL 100-related QoS con-
figuration.
ZXR10(config)#show qos number 100
Related priority-mark
Commands
redirect
traffic-limit
traffic-mirror
traffic-statistics
show qos-conform-local
Purpose Use this command to show the mapping table configuration in-
formation for allocating the 802.1P user priority parameters with
conformance level and local-precedence as indexes.
Command Modes All modes
Syntax show qos-conform-local
Instructions � It is applied to ZXR10 3900/3200.
� The default mapping table configuration is not displayed.
Example This example describes how to display conform-local configuration.
ZXR10#show qos-conform-local
qos conform-local green 0 1 2 3 4 5 6 7
show traffic-statistics
Purpose Use this command to show the traffic statistics configuration and
information.
Command Modes All modes
Syntax show traffic-statistics {<acl-no>|<acl-name>}[rule-id <rule-
no>]
Syntax
Description
<acl-no>|<acl-na ACL number /ACL name
me>
Product Description
Related traffic-statistics
Commands
ip access-group
show qos
traffic-limit(interface)
Purpose Use this command to configure a traffic policing policy for the in-
terface. Delete the configuration with the no command.
Command Modes Interface configuration
Syntax traffic-limit rate-limit <rate-limit> bucket-size <bucket-size
>{in | out}
no traffic-limit {in | out}
Syntax
Description
rate-limit<rate-limit> Limited rate, unit: kbps, range: 1~10000000
traffic-limit(Global)
Purpose Use this command to configure traffic policing. Delete the config-
uration with the no command.
Command Modes Global configuration
Syntax The command format on ZXR10 T160G and ZXR10 5900:
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 <dscp-value>][rem
ark-yellow-dp <drop-precedence>]][remark-yellow-dscp
<dscp-value>][forward-red][drop-yellow]}]
The command format on ZXR10 3900/3200:
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 ][conform {remark-p
oliced-serviced |{[remark-cos][remark-drop-priority]}}][e
xceed {forward | drop}]
no traffic-limit {<acl-no>|<acl-name>} rule-id <rule-no>
Syntax For ZXR10 T160G and ZXR10 5900:
Description
<acl-no>|<acl-na ACL number / ACL name
me>
traffic-mirror
Purpose Use this command to configure traffic mirroring. Delete the con-
figuration with the no command.
Command Modes Global configuration
Syntax traffic-mirror {<acl-no>|<acl-name>} rule-id <rule-no>{cpu
| interface}
no traffic-mirror {<acl-no>|<acl-name>} rule-id <rule-no>
Syntax
Description
<acl-no>|<acl-na ACL number/ACL name
me>
Product Description
Instructions This command is applied to ZXR10 T160G, ZXR10 5900 and ZXR10
3900/3200.
Example This example describes how to configure traffic mirroring based on
Rule 1 in ACL 100.
ZXR10(config)#traffic-mirror in 100 rule-id 1 cpu
traffic-shape
Purpose Use this command to configure traffic shaping. Delete the config-
uration with the no form of this command.
Command Modes Interface configuration
Syntax The command format on ZXR10 5900:
traffic-shape <rate-limit> bucket-size <bucket-size> out
no traffic-shape out
The command format on ZXR10 3900/3200:
traffic-shape [queue <queue-number>]<rate><size>
no traffic-shape [queue <queue-number>]
Syntax For ZXR10 5900:
Description
<rate-limit> Limitation speed, unit: kbps, range:
1~10000000
traffic-statistics
Purpose Use this command to configure traffic statistics. Delete the con-
figuration with the no form of this command.
Command Modes Global configuration
Syntax The command format on ZXR10 T160G and ZXR10 5900:
traffic-statistics {<acl-no>|<acl-name>} rule-id <rule-no>
pkt-type all | green | yellow | red statistics-type {byte |
packet}
no traffic-statistics {<acl-no>|<acl-name>} rule-id <rule-no>
The command format on ZXR10 3900/3200:
traffic-statistics {<acl-no>|<acl-name>}rule-id <rule-no>
no traffic-statistics {<acl-no>|<acl-name>} rule-id <rule-no>
Syntax
Description
<acl-no>|<acl-na Number of the ACL
me>
trust-cos
Purpose Use this command to configure whether to apply COS mapping or
not. Delete the configuration with the no command.
Command Modes Interface configuration
Syntax trust-cos {enable | disable}
no trust-cos
Syntax
Description
enable | disable Applies COS mapping |Disables COS mapping
trust-cos-drop
Purpose Use this command to configure whether to apply COS to drop pri-
ority mapping.
Command Modes Interface configuration
Syntax trust-cos-drop {enable | disable}
Syntax
Description
enable | disable Applies COS to drop priority
mapping | Disables COS to drop
priority mapping.
trust-cos-local
Purpose Use this command to configure whether to apply COS to local pri-
ority mapping.
Command Modes Interface configuration
Syntax trust-cos-local {enable | disable}
Syntax
Description
enable | disable Applies COS to local priority mapping |
Disables COS to local priority mapping.
trust-dscp
Purpose Use this command to configure whether to use DSCP mapping or
not.
Command Modes Interface configuration
Syntax trust-dscp {enable | disable}
no trust-dscp
Syntax
Description
enable | disable Applies DSCP mapping | Disables DSCP
mapping.
ZXR10(config-if)#trust-dscp enable
QoS configuration(Rou
ter Series)
Table of Contents
bandwidth ........................................................................34
bgp-policy ........................................................................35
class ................................................................................36
class ................................................................................36
class-map.........................................................................37
clear qos bandwith-statistics ...............................................38
clear qos queue-statistics ...................................................39
clear qos statistics .............................................................39
custom-queue-list .............................................................40
dos-protect.......................................................................40
dos-protect port ................................................................41
dos-protect special ............................................................42
fair-queue ........................................................................42
flow-control ......................................................................43
hierarchy-group ................................................................44
hierarchy-qos....................................................................44
match 802.1p ...................................................................45
match access-group...........................................................45
match any ........................................................................46
match class-map ...............................................................46
match destination-address-mac...........................................47
match input-interface.........................................................48
match ip-dscp ...................................................................48
match ip-precedence .........................................................49
match mpls-exp ................................................................49
match not ........................................................................50
match mac .......................................................................50
match qos-group ...............................................................51
match vlan-id ...................................................................51
police...............................................................................52
policy-map .......................................................................53
priority.............................................................................53
priority-group ...................................................................54
priority-list 802.1p.............................................................54
priority-list default .............................................................55
priority-list dscp ................................................................56
priority-list interface ..........................................................56
priority-list list ..................................................................57
priority-list mac.................................................................57
priority-list mpls-exp..........................................................58
priority-list precedence.......................................................58
priority-list qos-group ........................................................59
priority-list queue-limit.......................................................60
bandwidth
Purpose Use this command to configure the minimum bandwidth of policy.
Cancel the settings with the no command.
Command Modes Policy configuration
Syntax bandwidth {<bandwidth>| percent <percentage>}
no bandwidth <class-map-name>
Syntax
Description
<bandwidth> Minimum bandwidth, unit: Kbps, range:
8~2000000
Instructions � Use the same unit on one policy map when using the bandwi
dth command. When the command is used with the parameter
<percentage> , the sum of all percentage policy is not more
than 100.
� The parameter <bandwidth> is not in the command format for
ZXR10 T64E/128.
� This command applies to ZXR10 T64E/128 and ZXR10 GER.
Example This example describes how to configure the minimum bandwidth
of class_1 policy on policy mapping policy_1 as 10%.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#bandwidth percent 10
Related policy-map
Commands
show policy-map
bgp-policy
Purpose Use this command to determine to use the source or destination
address to obtain the Qos attribute set by route-map in Qppb fuc-
tion. In the subsequent procedure, implement the corresponding
QoS guarantee through the already set QoS attribute.
Command Modes Interface configuration
Syntax bgp-policy {source | destination}{precedence | qos-group}
Syntax
Description source Obtains the corresponding route QoS attribute
by searching the routing table with the source
address.
The route-map sets QoS attribute. This command does not check
whether configuring the corresponding route-map already. Only
one bgp-policy command can be set on the interface using cov-
ering mode for the multiple configuration.
Example This example describes how to configure the aging time to 20
hours.
ZXR10(config)#interface gei_1/1
ZXR10(config-if)#bgp-policy destination precedence
Related route-map
Commands
class
Purpose Use this command to set policy class on policy mapping. Cancel
the settings with the no form of this command.
Command Modes Policy mapping configuration
Syntax class <class-map-name>
no class <class-map-name>
Syntax
Description
<class-map-name> Class mapping name
Instructions � Policy mapping includes default policy class, default policy class
named as class_default. The default policy class can not be
deleted with the no class command. If policy mapping is
deleted, all policies include the default policy mapping will be
deleted at the same time.
� 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.
Example This example describes how to set policy name class_1 in policy
map policy_1 and enter policy configuration mode.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#
Related policy-map
Commands
show policy-map
class
Purpose Use this command to create the hierarchy policies of H-QoS, and
enter into the next layer of H-QoS configuration mode. Delete the
configuration with the no form of this command.
Command Modes H-QoS hierarchy policies configuration
Syntax class <class-map-name><bps><burst-normal><burst-max>
conform-action <action> exceed-action <action>
no class <class-map-name><bps><burst-normal><burst-m
ax> conform-action <action> exceed-action <action>
Syntax
Description
<class-map-name> Class mapping name
class-map
Purpose Use this command to create class map and enter into class map
configuration mode. Delete the settings with the no command.
Command Modes Global configuration
Syntax class-map <class-map-name>
no class-map <class-map-name>
Syntax
Description
<class-map-name> Mapping name
Defaults Define the flow which satisfies all matching classes belong to this
mapping.
Instructions � System set a default class mapping named as class_default,
the default class mapping can not match the rule or delete.
The match mode of class mapping is defined as match_any
(match any rule, that is, match this class map), it can not be
modified.
� 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.
Example This example describes how to set class_1 map and enter mapping
configuration mode.
ZXR10(config)#class-map class_1
ZXR10(config-cmap)#
Instructions This command is applied to ZXR10 GAR, ZXR10 ZSR and ZXR10
GER.
Example This example describes how to clear the QoS statistic count on
interface fei_4/1.
ZXR10# clear qos queue-statistics fei_4/1
custom-queue-list
Purpose Use this command to apply a customized list to an interface, which
classifies traffic based on the congestion management rule defined
in the customized list and puts the packet matching a rule into the
corresponding queue. If the packet does not match any rule, it is
put into the default queue. Cancel the settings with the no form
of this command.
Command Modes Interface configuration
Syntax custom-queue-list <list-number>
no custom-queue-list
Syntax
Description
<list-number> Number of the customized list, range: 1~16
dos-protect
Purpose Use this command to set enable or disable DOS protection func-
tion. Cancel the settings with the no command.
Command Modes Interface configuration
Syntax dos-protect {enable | disable}
Syntax
Description
enable| disable Enables dos-protect|Disables dos-protect.
dos-protect port
Purpose Use this command to set the interface DOS protection function.
Cancel the settings with the no form of this command.
Command Modes Interface configuration
Syntax dos-protect port {any |<interface-name>}{all | icmp | acce
ss-group {<acl-no>|<acl-name>}| precedence <precedence-
value>| vlan-id <vlan-id-value>}<rate-limit> conform-action
<action> exceed-action <action>
no dos-protect port {any |<interface-name>}{all | icmp
| access-group {<acl-no>|<acl-name>}| precedence
<precedence-value>| vlan-id <vlan-id-value>}
Syntax
Description
any |<interface-na All interface | The specified interface
me>
Related dos-protect
Commands
dos-protect special
dos-protect special
Purpose This example describes how to set the special DOS protection func-
tion. Cancel the settings with the no command.
Command Modes Interface configuration
Syntax dos-protect special {ipv6 | icmp | no-mac | dst-mac-broa
dcast | dst-mac-multicast}<rate-limit> conform-action <act
ion> exceed-action <action>
no dos-protect special {ipv6 | icmp | no-mac | dst-mac-bro
adcast | dst-mac-multicast}
Syntax
Description
ipv6 IPv6 data packet
Related dos-protect
Commands
dos-protect port
fair-queue
Purpose Use this command to apply the Weighted Fair Queuing (WFQ) to an
interface, or set the maximal number of messages and the number
of dynamic queues for each queue. Cancel the settings with the
no form of this command.
Defaults In the case that the WFQ is applied to the interface but the maximal
number of messages and the number of dynamic queues are not
specified, the default values are used.
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� This command is applied to ZXR10 GAR and ZXR10 ZSR only.
Example � This example describes how to apply the WFQ to the inter-
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.
ZXR10(config)#interface fei_4/1
ZXR10(config-if)#fair-queue 96
flow-control
Purpose This example describes how to configure internal message flow
control. Cancel the setting with the no command.
Command Modes Global configuration
Syntax flow-control {cpu-rate board <board-no> normal-queue
{high | medium | low}| priority-rule board <board-no>
ip-address <ip-addr> protocol {{tcp | udp}|<protocol-no>}}
no flow-control {cpu-rate board <board-no>| priority-rule
board <board-no> ip-address <ip-addr> protocol {{tcp |
udp}|<protocol-no>}}
Syntax
Description
board <board-no> Board number, range: 1~16
ip-address IP address
<ip-addr>
hierarchy-group
Purpose Use this command to apply H-QoS mapping on the interface.
Delete this configuration with the no form of this command.
Command Modes Interface configuration
Syntax hierarchy-group {input | output}<hierarchy-qos-name>
no hierarchy-group {input | output}
Syntax
Description
input | output Ingress direction | Egress direction
Related hierarchy-qos
Commands
show running-config
hierarchy-qos
Purpose Use this command to create H-QoS mapping and enter into the
first layer configuration mode. Disable H-QoS mapping with the
no command.
Instructions � When this interface has been applied with H-QoS mapping, this
H-QoS mapping is not permitted to delete.
� ZXR10 T64E/T128 and ZXR10 T600/T1200 supports this com-
mand.
Example This example describes how to create H-QoS mapping named as
hqos_1, and enter into H-QoS mapping configuration mode.
ZXR10(config)#hierarchy-qos hqos_1
ZXR10(config-hqos-level1)#
match 802.1p
Purpose Use this command to create the matching item and specify the
matching rule as matching the data flow of 802.1p. Delete the
setting with the no form of this command.
Command Modes Class mapping configuration
Syntax match 802.1p < value>
no match 802.1p < value>
Syntax
Description
802.1p< value> 802.1p value, in the range of 0~7
Related class-map
Commands
show class-map
match access-group
Purpose Use this command to create match access group, and define the
matching rule is to match the specified (Ipv4) ACL number data
flow. Cancel the settings with the no command.
Instructions The platform version 4.6.02 and upgrade versions of ZXR10 6900
switch support this command.
Example In map class_1, set matching access-group and designate a
matching rule. The matching rule: to match the data flow defined
by (IPv4) ACL 10 .
ZXR10(config)#class-map class_1
ZXR10(config-cmap)#match access-group 10
Related class-map
Commands
show class-map
match any
Purpose Use this command to create match access group and define the
matching rule to match all data flows. Delete the configuration
with the no command.
Command Modes Class mapping configuration
Syntax match any
no match any
Instructions This command is applied to ZXR10 T64E/T128 and ZXR10 GER.
Example This example describes how to set match in map class_1 and de-
fine match rule to match all data flow.
ZXR10(config)#class-map class_1
ZXR10(config-cmap)#match any
Related class-map
Commands
show class-map
match class-map
Purpose Use this command to set match access group and define the
matching rule is to match the specified class map data flow.
Delete the match with the no command.
Command Modes Class mapping configuration
Syntax match class-map <class-map-name>
no match class-map <class-map-name>
Syntax
Description
<class-map-name> Class mapping name
Related class-map
Commands
show class-map
match destination-address-
mac
Purpose Use this command to set match access group and define the
matching rule to match the destination address MAC address data
flow. Delete the match access group with the no command.
Command Modes Class mapping configuration
Syntax match destination-address-mac <destination-address-mac-ad
ress>
no match destination-address-mac <destination-address-mac
-adress>
Syntax
Description
<destination-address- Destination MAC address
mac-adress>
Related class-map
Commands
show class-map
match input-interface
Purpose Use this command to set match access group and define the
matching rule to match the data flow from the specified input
interface. Delete the match with the no command.
Command Modes Class mapping configuration
Syntax match input-interface <input-interface-name>
no match input-interface <input-interface-name>
Syntax
Description
<input-interface-na Input interface name
me>
Related class-map
Commands
show class-map
match ip-dscp
Purpose Use this command to create match access group, and define the
matching rule to match the specified (IPv4) DSCP data flow. Delete
the match with the no command.
Command Modes Class mapping configuration
Syntax match ip-dscp <ip-dscp-value>
no match ip-dscp <ip-dscp-value>
Syntax
Description
<ip-dscp-value> DSCP value, range: 0~63
Related class-map
Commands
show class-map
match ip-precedence
Purpose Use this command to set match access group and define match
rule to match the specified (IPv4) IP priority data flow. Delete the
match access group with the no form of this command.
Command Modes Class mapping configuration
Syntax match ip-precedence <ip-precedence-value>
no match ip-precedence <ip-precedence-value>
Syntax
Description
<ip-precedence-val IP precedence value, range: 0~7
ue>
Related class-map
Commands
show class-map
match mpls-exp
Purpose Use this command to set match access group and define the
matching rule to match the specified MPLS-EXP field value data
flow. Delete the match access group with the no form of this
command.
Command Modes Class mapping configuration
Syntax match mpls-exp <mpls-exp-value>
no match mpls-exp <mpls-exp-value>
Syntax
Description
<mpls-exp-value> MPLS-EXP value, range: 0~7
Related class-map
Commands
show class-map
match not
Purpose Use this command to set match access group and define the
matching rule: not matching the specified data flow. Delete the
match with the no form of this command.
Command Modes Class mapping configuration
Syntax match not <match-criteria>
no match not <match-criteria>
Syntax
Description
match-criteria Some matching rule
� This example shows that map class_1 set match access group
and define matching rule: not matching any data flow.
ZXR10(config)#class-map class_1
ZXR10(config-cmap)#match not any
� This example shows that map class_1 set match access and
define matching rule: not matching DSCP 7 data flow.
ZXR10(config)#class-map class_1
ZXR10(config-cmap)#match not dscp 7
match mac
Purpose Use this command to create the matching item and specify the
matching rule as matching the data flow of 802.1p. Delete the
setting with the no command.
Command Modes Class mapping configuration
Syntax match 802.1p < value>
no match 802.1p < value>
Syntax
Description
802.1p< value> 802.1p value, in the range of 0~7
Related class-map
Commands
show class-map
match qos-group
Purpose Use this command to create the matching item and specify the
matching rule as matching the data flow of 802.1p. Delete the
setting with the no command.
Command Modes Class mapping configuration
Syntax match 802.1p < value>
no match 802.1p < value>
Syntax
Description
802.1p< value> 802.1p value, in the range of 0~7
Related class-map
Commands
show class-map
match vlan-id
Purpose Use this command to create the matching item and specify the
matching rule as matching the data flow of the designated vlan-id.
Delete the setting with the no command.
Command Modes Class mapping configuration
Syntax match vlan-id <vlan-id>
no match vlan-id <vlan-id>
Syntax
Description
vlan-id<vlan-id> VLAN ID, in the range of 1~4094
Related class-map
Commands
show class-map
police
Purpose Use this command to configure flow police. Delete the match with
the no form of this command.
Command Modes Policy class configuration
Syntax police <bps><burst-normal><burst-max> conform-action
<action> exceed-action <action>
no police
Syntax
Description
<bps> Average rate, unit: Kbits/s, range:
8~2000000
Instructions � If users use this command in the same class policy for many
times, the last configuration will cover the earlier configura-
tions.
� This command is applied to ZXR10 GER and ZXR10 T64E/T128.
Example This example describes how to configure flow inspection for the
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. Send packet matching the designated rate. Set DSCP
value as 10 for the packet exceeding the designated rate.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#police 8 20000 200000 conform-action
transmit exceed-action set-dscp-transmit 10
Related policy-map
Commands
show policy-map
policy-map
Purpose Use this command to set policy map and enter policy map con-
figuration mode. Delete the policy map with the no form of this
command.
Command Modes Global configuration
Syntax policy-map <policy-map-name>
no policy-map <policy-map-name>
Syntax
Description
<policy-map-name> Defines policy mapping name
Instructions � The policy mapping which has already applied on the interface
must not be deleted.
� 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.
Example This example describes how to set a policy mapping named pol-
icy_1 and enter policy mapping configuration mode.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#
Related service-policy
Commands
show policy-map
priority
Purpose Use this command to configure the port default priority. Restore
the default configuration with the no form of this command.
Command Modes Policy class configuration
Syntax priority <bandwidth><burst>
no priority
Syntax
Description
<bandwidth> Maximum bandwidth, unit: kbps, range:
8~2000000
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#priority 128 200000
Related policy-map
Commands
show policy-map
priority-group
Purpose Use this command to apply a priority list to an interface. This
interface classifies traffic based on the congestion management
rule which is defined in the priority list. If the packet matches a
rule, the packet enters the corresponding queue. If the packet
does not match any rule, it enters the default queue. Cancel the
settings with the no form of this command.
Command Modes Interface configuration
Syntax priority-group <list-number>
no priority-group
Syntax
Description
<list-number> Number of the priority list, range: 1~16
priority-list 802.1p
Purpose Use this command to assign a priority queue to the packet with
the designated 802.1p value in the priority-list. Delete the setting
with the no command.
Command Modes Global configuration
Syntax priority-list <list-number> 802.1p <802.1p value>{high |
medium | normal | low}
no priority-list <list-number> 802.1p <802.1p value>
Syntax
Description
list-number Priority list number, in the range of 1~16
Related priority-group
Commands
priority-list default
Purpose Use this command to specify a priority queue for the packet that
does not match any rules in the priority list. Restore default with
the no form of this command.
Command Modes Global configuration
Syntax priority-list <list-number> default {high | medium | normal
| low}
no priority-list <list-number> default
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Defaults Specify a queue with normal priority for the packet that does not
match any rules in the priority list if this command is not config-
ured.
Instructions For the same <list-number> , the command will specify a new
default queue in the next time.
This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10
T64E/T128 and ZXR10 ZSR.
Example This example describes how to specify a queue with low priority
for the packet that does not match any rules in the priority list 1.
ZXR10(config)#priority-list 1 default low
Related priority-group
Commands
priority-list dscp
Purpose Use this command to specify a priority queue for the packet with
the designated DSCP value in the priority list. Cancel the settings
with the no form of this command.
Command Modes Global configuration
Syntax priority-list <list-number> dscp <dscp-value>{high | medium
| normal | low}
no priority-list <list-number> dscp <dscp-value>
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Related priority-group
Commands
priority-list interface
Purpose Use this command to specify a priority queue for the packet enter-
ing the designated interface in the priority list. Cancel the settings
with the no command.
Command Modes Global configuration
Syntax priority-list <list-number> interface <interface-name>{high |
medium | normal | low}
no priority-list <list-number> interface <interface-name>
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Instructions This command is applied to ZXR10 GAR, ZXR10 GER and ZXR10
ZSR.
Example This example describes how to specify a queue with low priority
for the packet entering the interface fei_4/1 in priority-list 1.
ZXR10(config)#priority-list 1 interface fei_4/1 low
Related priority-group
Commands
priority-list list
Purpose Use this command to specify a priority queue for the packet with
the designated ACL number in the priority list. Cancel the settings
with the no form of this command.
Command Modes Global configuration
Syntax priority-list <list-number> list {<acl-no>|<acl-name>}{high |
medium | normal | low}
no priority-list <list-number> list <access-list-number>
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Related priority-group
Commands
priority-list mac
Purpose Use this command to assign a priority queue to the packet with
the designated MAC address in the priority-list. Delete the setting
with the no form of this command.
Command Modes Global configuration
Syntax priority-list <list-number> mac <mac-address>{high |
medium | normal | low}
no priority-list <list-number> mac < mac-address >
Syntax
Description
list-number Priority list number, in the range of 1~16
Related priority-group
Commands
priority-list mpls-exp
Purpose Use this command to specify a priority queue for the packet with
the designated MPLS-EXP value in the priority list. Cancel the set-
tings with the no command.
Command Modes Global configuration
Syntax priority-list <list-number> mpls-exp <mpls-exp-value>{high |
medium | normal | low}
no priority-list <list-number> mpls-exp <mpls-exp-value>
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Related priority-group
Commands
priority-list precedence
Purpose Use this command to specify a priority queue for the packet with
the designated IP precedence value in the priority list. Cancel the
settings with the no command.
Related priority-group
Commands
Historical priority-list <list-number> preference <precedence>{high |
Commands medium | normal | low}
no priority-list <list-number> preference <precedence>
priority-list qos-group
Purpose Use this command to assign a priority queue to the packet with
the designated qos group id in the priority-list. Delete the setting
with the no command.
Command Modes Global configuration
Syntax priority-list <list-number> qos-group < qos-group-id>{high |
medium | normal | low}
no priority-list <list-number> qos-group < qos-group-id>
Syntax
Description
list-number Priority list number, in the range of 1~16
Related priority-group
Commands
priority-list queue-limit
Purpose Use this command to set the maximal number of packets in the
queue with different priorities in the priority list. Restore default
with the no command.
Command Modes Global configuration
Syntax priority-list <list-number> queue-limit <high-limit><medium-
limit><normal-limit><low-limit>
no priority-list <list-number> queue-limit
Syntax
Description
<list-number> Number of the priority list, range: 1~16
Defaults In the case that this command is not executed, the maximal num-
ber of packets in the queue with different priorities in the priority
list is the default value.
Instructions This command is applied to ZXR10 GAR, ZXR10 GER and ZXR10
ZSR.
Example This example describes how to set the maximal number of packets
in the queue with high/medium/normal/low priority in priority-list
1 to 100/80/60/40 respectively.
ZXR10(config)#priority-list 1 queue-limit 100 80 60 40
Related priority-group
Commands
priority-list vlan-id
Purpose Use this command to assign a priority queue to the packet with
the designated vlan id in the priority-list. Delete the setting with
the no command.
Command Modes Global configuration
Syntax priority-list <list-number> vlan-id <vlan-id>{high | medium
| normal | low}
no priority-list <list-number> 802.1p <802.1p value>
Syntax
Description
list-number Priority list number, in the range of 1~16
Related priority-group
Commands
priority-queue
Purpose Use this command to configure policy priority-queue. Cancel the
settings with the no command.
Command Modes Policy class configuration
Syntax priority-queue {high | medium | normal | low}
no priority-queue
Syntax
Description
high | medium | Defines priority-queue.
normal | low
Related policy-map
Commands
show policy-map
qos ip
Purpose Use this command to enable the QoS function. Disable the function
with the no command.
Command Modes Global configuration
Syntax qos ip
no qos ip
Instructions This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10
T64E/T128 and ZXR10 ZSR.
Example This example describes how to enable the QoS function.
ZXR10(config)#qos ip
qos-map
Purpose Use this command to configure pipe, short-pipe and uniform mode.
Cancel the settings with the no command.
qos-map enable
Purpose Use this command to enable or disable QoS mapping. Delete this
configuration with the disable command.
Command Modes Interface configuration
Syntax qos-map {enable | disable}
Defaults Disable
Instructions This command is applied to ZXR10 GER.
Example This example describes how to enable QoS mapping on the inter-
face.
ZXR10(config)#interface fei_4/1
ZXR10(config-if)#qos-map enable
queue-list default
Purpose Use this command to specify a user-defined queue for the packet
which does not match any rules in the customized list. Restore
default with the no form of this command.
Command Modes Global configuration
Syntax queue-list <list-number> default <queue-number>
no queue-list <list-number> default
Syntax
Description
<list-number> Number of the customized list, range: 1~16
Defaults Specify the user—defined queue 1 for the packet that does not
match any rules in the customized list if this command is not con-
figured.
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� This command is applied to ZXR10 GAR and ZXR10 ZSR.
Example This example describes how to specify the customized queue 2 for
the packet that does not match any rules in the customized list 1.
ZXR10(config)#queue-list 1 default 2
Related custom-queue-list
Commands
queue-list interface
Purpose Use this command to specify a user-defined queue for the packet
entering the designated interface in the customized list. Cancel
the settings with the no command.
Command Modes Global configuration
Syntax queue-list <list-number> interface <interface-name><queue-
number>
no queue-list <list-number> interface <interface-name>
Syntax
Description
<list-number> Number of the customized list, range: 1~16
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� This command is applied to ZXR10 GAR and ZXR10 ZSR.
Example This example describes how to specify the customized queue 2 for
the packet entering the interface fei_4/1 in the customized list 1.
ZXR10(config)#queue-list 1 interface fei_4/1 2
Related custom-queue-list
Commands
queue-list list
Purpose Use this command to specify a user-defined queue for the packet
with the designated ACL number in the customized list. Cancel the
settings with the no command.
Command Modes Global configuration
Syntax queue-list <list-number> list {<acl-no>|<acl-name>}<queue-
number>
no queue-list <list-number> list <access-list-number>
Syntax
Description
<list-number> Number of the customized list, range: 1~16
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� This command is applied to ZXR10 GAR and ZXR10 ZSR.
Example This example describes how to specify the customized queue 2 for
the packet with ACL number 10 in the customized list 1.
ZXR10(config)#queue-list 1 list 10 2
Related custom-queue-list
Commands
queue-list queue
Purpose Use this command to set the maximal number of packets and bytes
for a user—defined queue in the customized list. Restore default
with the no command.
Command Modes Global configuration
Syntax queue-list <list-number> queue <queue-number>{[limit <lim
it>][byte-count <max-byte-count>]}
no queue-list <list-number> queue <queue-number>{[limit
<limit>][byte-count <max-byte-count>]}
Syntax
Description
<list-number> Number of the customized list, range: 1~16
Related custom-queue-list
Commands
random-detect
Purpose Use this command to apply the Weighted Random Early Detection
(WRED) to the interface, and set exponent used to calculate the
average queue length as well as limit to packets in different pri-
orities, discard probability and drop table. Cancel the setting or
restore default with the no command.
Command Modes Interface configuration and global configuration
Syntax random-detect {[weight <exponent>][precedence <preced
ence><min-threshold><normal-threshold><medium-threshold
><max-threshold><drop-table>[<mark-prob-denominator>]]}
no random-detect {[weight <exponent>][precedence
<precedence><min-threshold><max-threshold>[<mark-prob-d
enominator>]]}
Syntax
Description
weight <exponent> Exponent used to calculate the average queue
length
Defaults ZXR10 GER and ZXR10 T64E/T128 do not provide this command
and the exponent used to compute the average queue length is
the default value.
Instructions This command is applied to ZXR10 GAR, ZXR10 GER, ZXR10
T64E/T128 and ZXR10 ZSR.
Example � This example describes how to enable the WRED on the inter-
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(config)#interface fei_4/1
ZXR10(config-if)#random-detect
random-detect
Purpose Use this command to apply WRED discard policy on policy class.
Cancel this configuration with the no command.
Command Modes Policy class configuration
Syntax random-detect [prec-based]
no random-detect
Syntax
Description
prec-based Optional, it is an IP priority value which is
used for calculating packet drop probability.
Instructions � After the users cancel WRED policy, WRED weight and WRED
discard policy will be deleted at the same time.
� The command bandwidth has to be used first.
� This command is applied to ZXR10 T64E/T128.
Example This example describes how to activate WRED discard policy on
policy mapping policy_1 named as class_1.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#random-detect prec-based
Related policy-map
Commands
show policy-map
random-detect enable
Purpose Use this command to enable the WRED on the interface. Cancel
the settings with the no command.
Command Modes Global configuration
Syntax random-detect enable
no random-detect enable
Instructions This command is applied to ZXR10 GER and ZXR10
T64E/T128/T1200.
Example This example describes how to enable the WERD on the interface.
ZXR10(config)#random-detect enable
Related random-detect
Commands
random-detect precedence
Purpose Use this command to configure policy class which is based on each
IP precedence message packet limitation and discard probability.
Cancel the settings with the no form of this command.
Command Modes Policy class configuration
Syntax random-detect precedence <precedence-value><min-thresho
ld><max-threshold><mark-prob-denominator>
no random-detect precedence <precedence-value>
Syntax
Description
<precedence-value> IP precedence value, range: 0~7
Related policy-map
Commands
show policy-map
random-detect weight
Purpose Use this command to configure the weight denominator in WRED
discard policy class for accounting the average queue length. Re-
store default with the no command.
Command Modes Policy class configuration
Syntax random-detect weight <exponent>
no random-detect weight
Syntax
Description
<exponent> H-QoS mapping name
Defaults If this command is not configured but WRED discard policy is en-
able by using the command random-detect , then the denomi-
nator for accounting the average queue length is default value.
Instructions � Enable WRED discard policy firstly by using the command rand
om-detect , then use this command.
� This command is applied to ZXR10 T64E/T128.
Example This example describes how to confiure policy map policy_1: set
the name to class_1, set the denominator for accounting average
queue length to 7.
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#random-detect weight 7
Related policy-map
Commands
rate-limit(interface)
Purpose Use this command to set an input or output traffic policing policy
on the interface. Cancel the settings with the no command.
Command Modes Interface configuration
Syntax cmdname>rate-limit{input | output}{access-group {<acl-
no>|<acl-name>}| localport | dscp <dscp-value>| mpls-exp
<mpls-exp-value>| precedence <precedence-value>| 802.1p
<802.1p-value>| mac <xxxx.xxxx.xxxx>| mac-dst <xxxx.xxxx
.xxxx>[<xxxx.xxxx.xxxx>]}<bps><burst-normal><burst-max>
conform-action <action> exceed-action <action>
no rate-limit {input | output}{access-group <acl-index>|
localport | dscp <dscp-value>| mpls-exp <mpls-exp-value>|
precedence <precedence-value>| 802.1p <802.1p-value>|
mac <xxxx.xxxx.xxxx>| mac-dst <xxxx.xxxx.xxxx>[<xxxx.xxx
x.xxxx>]}<bps><burst-normal><burst-max> conform-action
<action> exceed-action <action>
Syntax
Description
input | output Input/Output
rate-limit(Global
Configuration)
Purpose Use this command to configure interface input or output flow in-
spection policy. Cancel the settings with the no form of this com-
mand.
Command Modes Global configuration
Syntax rate-limit vpls<vpls-name>{input | output {all | single}}{un
icast | broadcast | unknown}<bps><burst-normal><burst-m
ax> conform-action <action> exceed-action <action>
no rate-limit vpls<vpls-name>{input | output {all | single}{u
nicast | broadcast | unknown}
Syntax
Description
<vpls-name> VPLS name
service-policy
Purpose Use this command to bind a policy mapping on interface input or
output direction. Cancel the settings with the no command.
Command Modes Interface configuration
Syntax service-policy {input | output}<policy-map-name>
no service-policy {input | output}
Syntax
Description
input Input direction
Instructions � After the users bind a policy mapping in interface input or out-
put direction, the original interface PQ, CAR, WRED configura-
tions and so on will be invalid. If the users cancel interface
binding policy mapping, the original 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.
Example This example describes how to configure interface fei_1/1 output
direction bound policy map policy_1.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#service-policy output policy_1
Related policy-map
Commands
show running-config
set dot1p
Purpose Use this command to set policy class to use the specified value
that marks packet 802.1p field. Cancel the settings with the no
form of this command.
Command Modes Policy class configuration
Syntax set dot1p <dot1p-value>
no set dot1p
Syntax
Description
<dot1p-value> 802.1p value, range: 0~7
Related policy-map
Commands
show policy-map
set ip-dscp
Purpose Use this command to set policy class to use the specified value
that marks packet DSCP segment. Cancel the settings with the
no form of this command.
Command Modes Policy class configuration
Syntax set ip-dscp <ip-dscp-value>
no set ip-dscp
Syntax
Description
<ip-dscp-value> DSCP value, range: 0~63
Related policy-map
Commands
show policy-map
set ip-precedence
Purpose Use this command to set policy class to use the specified value
that marks packet IP priority field. Cancel the settings with the no
form of this command.
Command Modes Policy configuration
Syntax set ip-precedence <ip-precedence-value>
no set ip-precedence
Syntax
Description
<ip-precedence-val IP precedence, range: 0~7
ue>
Related policy-map
Commands
show policy-map
set mpls-exp
Purpose Use this command to set policy class use define message MPLS-
EXP field. Cancel the settings with the no form of this command.
Command Modes Policy class configuration
Syntax set mpls-exp <mpls-exp-value>
no set mpls-exp
Syntax
Description
<mpls-exp-value> MPLS-EXP, range: 0~7
ZXR10(config)#policy-map policy_1
ZXR10(config-pmap)#class class_1
ZXR10(config-pmap-c)#set mpls-exp 7
Related policy-map
Commands
show policy-map
show class-map
Purpose Use this command to show all or the specified map and its all
matching rule configuration.
Command Modes All modes except user EXEC
Syntax show class-map [<class-map-name>]
Syntax
Description
<class-map-name> Class map name
Related class-map
Commands
show running-config
show dos-protect
Purpose Use this command to show DOS protection configuration.
Command Modes All modes except user EXEC
Syntax show dos-protect [special | port {any |<interface-name>}]
Syntax
Description
special Displays all special DOS protection command
Example � This example describes how to show all DOS protection con-
figuration.
ZXR10(config)#show dos-protect
Related dos-protect
Commands
dos-protect port
dos-protect special
show flow-contrl
Purpose Use this command to show internal message flow control config-
uration.
Command Modes All modes except user EXEC
Syntax show flow-contrl {cpu-rate | priority-rule}
Instructions This command is applied to ZXR10 T64E/T128.
Example This example describes how to show all configurations for CPU rate.
ZXR10(config)#show flow-contrl cpu-rate
Related flow-contrl
Commands
show hierarchy-qos
Purpose Use this command to display H-QoS mapping and hierarchy policy.
Command Modes All modes except user EXEC
Syntax show hierarchy-qos [<hierarchy-qos-name>]
Syntax
Description
<hierarchy-qos-na H-QoS mapping name
me>
Related hierarchy-qos
Commands
show policy-map
Purpose Use this command to show all or the specified policy map, and its
all or the specified policy class configurations.
Command Modes All modes except user EXEC
Syntax show policy-map [<policy-map-name>[class <class-map-nam
e>]]
Syntax
Description
<policy-map-name> Policy map name
Related policy-map
Commands
show running-config
Instructions � The platform version 4.8.21 and the upgrade version support
this command.
� This command is applied to ZXR10 T64E/T128 and ZXR10
T600/1200.
Example � This example describes how to show the statistic information
of bandwidth policy on interface fei_4/1.
ZXR10(config)# show qos bandwidth-statistics fei_4/1
Related class-map
Commands
policy-map
class
Related priority-group
Commands
service-policy
Instructions � The platform versions 4.8.21 and upgrade version support this
command.
� This command is applied to ZXR10 T64E/T128 and ZXR10
T600/T1200.
Example � This example describes how to display the statistic information
of queue policy on interface fei_4/1.
ZXR10(config)# show qos queue-statistics fei_4/1
Syntax
Description
<interface-name> Specified interface name
Instructions � This command takes effect after the QoS is effective on the
interface.
� This command is applied to ZXR10 T64E/T128 and ZXR10
T600/T1200.
Example This example describes how to display the operation state when
the interface fei_4/1 binds with PQ policy.
ZXR10(config)#show queue statistic fei_4/1
Instructions � The platform version 4.6.02 and upgrade versions support this
command.
� This command is applied to ZXR10 GAR and ZXR10 ZSR.
Example This example describes how to show the congestion management
policy information and statistics of fei_4/1.
ZXR10(config)#show queueing interface fei_4/1
show queueing
random-detect
Purpose Use this command to show the WRED configuration and statistical
information of all WRED-enabled interfaces.
Command Modes All modes except user EXEC
show vpls-car
Purpose Use this command to show all configurations based on VPLS flow
restrict.
Command Modes All modes except user EXEC
Syntax show vpls-car [<vpls-name>]
Syntax
Description
<vpls-name> optional VPLS name