ZyXEL Communications IES4005M User Manual page 161

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

Advertisement

This example configures a WRR-WFQ profile on all ports of the line card in slot 2 and assigns weight
values (1,2,3,4,12,13,14,15) to the physical queues (0 to 7). This example also configures all the
ports to use WFQ QoS algorithm with a maximum rate 50000 kbps.
ras# config
ras(config)# qos wrr-wfq-profile EXAMPLE
ras(config-wrr-wfq-profile-EXAMPLE)# queue7 weight 15 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue6 weight 14 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue5 weight 13 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue4 weight 12 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue3 weight 4 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue2 weight 3 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue1 weight 2 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# queue0 weight 1 depth 255
ras(config-wrr-wfq-profile-EXAMPLE)# exit
ras(config)# exit
ras# show qos wrr-wfq-profile EXAMPLE
wrr-wfq-profile Name:EXAMPLE
queue id:
weight:
depth:
ras(config)# interface dsl 2/*
ras(config-interface-dsl-2/*)# qos algorithm wfq
ras(config-interface-dsl-2/*)# qos weight-profile EXAMPLE
ras(config-interface-dsl-2/*)# qos max-rate 50000
ras(config-interface-dsl-2/*)# exit
This example configures a shaping profile, EXAMPLE2. The maximum rate is 50000 kbps for queues
0 to 2 and 75000 kbps for queues 3 to 5. Then it assigns this profile to port 1 of the line card in slot
2. This example also shows the EXAMPLE2 QoS shaping profile's settings. Note that the default
maximum rate of a port is 100000 kbps with a depth of 255 packets.
ras# config
ras(config)#
ras(config-shaping-profile-EXAMPLE2)# queue0 max-rate 50000 depth 255
ras(config-shaping-profile-EXAMPLE2)# queue1 max-rate 50000 depth 255
ras(config-shaping-profile-EXAMPLE2)# queue2 max-rate 50000 depth 255
ras(config-shaping-profile-EXAMPLE2)# queue3 max-rate 75000 depth 255
ras(config-shaping-profile-EXAMPLE2)# queue4 max-rate 75000 depth 255
ras(config-shaping-profile-EXAMPLE2)# queue5 max-rate 75000 depth 255
ras(config-shaping-profile-EXAMPLE2)# exit
ras(config)#
ras(config-interface-dsl-2/1)#
ras(config-interface-dsl-2/1)# exit
ras(config)# exit
ras#
show qos shaping-profile EXAMPLE2
shapingProfile Name:EXAMPLE2
queue id:
max rate: 50000
depth:
ras#
This example shows how to configure two VC-shaping profiles. One is EXAMPLE-50M with a
maximum rate of 50000 kbps and a depth of 100 packets. The other one is EXAMPLE-75M with a
IES4005M User's Guide
0
1
2
1
2
3
255
255
255
qos shaping-profile EXAMPLE2
interface dsl 2/1
qos shaping-profile EXAMPLE2
0
1
2
50000
50000
75000
255
255
255
3
4
5
4
12
13
14
255
255
255
255
3
4
5
75000
75000 100000 100000
255
255
255
255
Chapter 22 QoS
6
7
15
255
6
7
255
161

Advertisement

Table of Contents
loading

Table of Contents