
ZXR10 8900 Series User Manual (Basic Configuration Volume)
Step Command
Function
1
ZXR10(config)#
nas
This enters nas configuration
mode
2
ZXR10(config-nas)#
ratelimit
This enters ratelimit
configuration mode
3
ZXR10(config-nas-ratelimit)#
ip host
<
ip-addr
>
vlan
<
vlan-id
>{
down-rate
|
up-rate
}{
k
<
64-1000
>|
m
<
10
-1000
>}
This limits the rate of uplink
or downlink users
4
ZXR10(config)#
show ratelimit
{
all
|
host-ip
<
ip-addr
>}
This views configuration
information of Layer 3 rate
limit
Example
This example shows how to configure Layer 3 rate limit.
ZXR10(config)#nas
ZXR10(config-nas)#ratelimit
ZXR10(config-nas-ratelimit)#ip host 168.1.2.3 vlan 20 down-rate k 600
ZXR10(config-nas-ratelimit)#ip host 168.1.2.4 vlan 20 up-rate k 300
ZXR10(config-nas-ratelimit)#exit
ZXR10(config-nas)#exit
ZXR10(config)#show ratelimit all
Host-ip
Vlan
Up-rate
Down-rate
168.1.2.3
20
-
600K
168.1.2.4
20
300K
-
Configuring Queue Scheduling
ZXR10 8900 series switch supports SP and WRR queue scheduling
modes. When these two modes are mixed used, SP has a higher
priority over WRR.
To configure queue scheduling, use the following command.
Command
Function
ZXR10(config-if)#
queue-mode
{
strict-priority
|{
dwrr
<
queue-no
><
dwrr-weight
>
&
<
1-8
>}|{
wrr
<
queue-no
><
wrr-weight
>
&
<
1-8
>}}
This configures queue
scheduling and default 802.1p
priority on port.
Note:
Value range of
dwrr-weight
is 1~160000. Value range of
wrr-weight
is 1~15.
Example
Configure strict scheduling based on priority on interface gei_1/1.
Enable WRR scheduling on interface gei_1/2. Weights of Queues
0~7 are 10, 5, 8, 10, 5, 8, 9, 10 respectively. Set the default
802.1p of interface gei_1/2 to 5.
ZXR10(config)#interface gei_1/1
ZXR10(config-gei_1/1)#queue-mode strict-priority
ZXR10(config-gei_1/1)#exit
ZXR10(config)#interface gei_1/2
98
Confidential and Proprietary Information of ZTE CORPORATION