EasyManua.ls Logo

ZyXEL Communications IES4005M - Page 161

ZyXEL Communications IES4005M
236 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 22 QoS
IES4005M User’s Guide
161
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.
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.
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
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: 0 1 2 3 4 5 6 7
weight: 1 2 3 4 12 13 14 15
depth: 255 255 255 255 255 255 255 255
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
ras# config
ras(config)# qos shaping-profile EXAMPLE2
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)# interface dsl 2/1
ras(config-interface-dsl-2/1)# qos shaping-profile EXAMPLE2
ras(config-interface-dsl-2/1)# exit
ras(config)# exit
ras# show qos shaping-profile EXAMPLE2
shapingProfile Name:EXAMPLE2
queue id: 0 1 2 3 4 5 6 7
max rate: 50000 50000 50000 75000 75000 75000 100000 100000
depth: 255 255 255 255 255 255 255 255
ras#

Table of Contents

Related product manuals