Command Examples - ZyXEL Communications IES4005M User Manual

2u 5-slot temperature-hardened chassis msan
Table of Contents

Advertisement

Chapter 22 QoS
Table 110 QoS Commands Summary (continued)
COMMAND
max-rate <rate>
max-queue-depth <depth>
no qos vc-shaping-profile
<name>
show qos vc-shaping-profile
[name]

22.2.1 Command Examples

This example shows how to map priority bits 0 and 1 to queue 2 and map priority bits 6 and 7 to
queue 5. This results in strict-priority queuing QoS for traffic going out the uplink port.
ras# show qos queue-mapping
pri:
0
1
qid:
0
1
ras# config
ras(config)# qos queue-mapping
ras(config-QosQueueMapping)# pbit0 2
ras(config-QosQueueMapping)# pbit1 2
ras(config-QosQueueMapping)# pbit6 5
ras(config-QosQueueMapping)# pbit7 5
ras(config-QosQueueMapping)# exit
ras(config)# exit
ras# show qos queue-mapping
pri:
0
1
qid:
2
2
ras#
This example configures a weighted fair queuing profile with extra weight for queues 0-2 and sets
slot 2's DSL port 4 to use it.
ras# config
ras(config)# qos wrr-wfq-profile test
ras(qos wrr-wfq-profile)# queue7 weight 50 depth 255
ras(qos wrr-wfq-profile)# queue6 weight 50 depth 255
ras(qos wrr-wfq-profile)# queue5 weight 50 depth 255
ras(qos wrr-wfq-profile)# queue4 weight 50 depth 255
ras(qos wrr-wfq-profile)# queue3 weight 50 depth 255
ras(qos wrr-wfq-profile)# queue2 weight 70 depth 255
ras(qos wrr-wfq-profile)# queue1 weight 70 depth 255
ras(qos wrr-wfq-profile)# queue0 weight 70 depth 255
ras(qos wrr-wfq-profile)# exit
ras(config)# interface dsl 2/4
ras(config-interface-dsl-2/4)# qos algorithm wfq
ras(config-interface-dsl-2/4)# qos weight-profile test
ras(config-interface-dsl-2/4)# exit
ras(config)# exit
ras#
160
DESCRIPTION
Configures the maximum shaping rate.
Configures the maximum shaping rate.
Removes the specified VC shaping profile.
Displays all VC shaping profiles or the specified one.
2
3
4
5
6
7
2
3
4
5
6
7
2
3
4
5
6
7
2
3
4
5
5
5
M
P
C
13
C
13
C
13
E
13
IES4005M User's Guide

Advertisement

Table of Contents
loading

Table of Contents