QoS
Example
Motorola, Inc.
549453-001-00-a
Page 37 of 51
Q
Q
o
o
S
S
E
E
x
x
a
a
m
m
p
p
l
l
e
e
An easy way to demonstrate QoS is to use the traffic shaping queue scheduler. To further simplify the example,
dynamic packet classifier is not used.
Packet Classification:
Static. All packets on Eth1 will be classified high. All packets on Eth2 will be classified low.
Packet transmission:
Shaping. All four queues will be configured with unique bitrates.
Connections:
A SmartBits network tester can be used; however the same QoS results can be easily demonstrated using iperf and
four PCs. In either case, one flow will be connected from Eth1 of the mT2 switch to Port1-1 of the first WallPlate. The
other flow will be connected to Eth2 of the mT2 switch and Port1-2 of the first WallPlate.
Commands:
network qos enable
system reboot
network qos interface priority eth1 mode static level high
network qos interface priority eth2 mode static level medium
network qos interface egress shaping port1 queue critical peak 30 average 30 burst 100
network qos interface egress shaping port1 queue high peak 20 average 20 burst 100
network qos interface egress shaping port1 queue med peak 10 average 10 burst 100
network qos interface egress shaping port1 queue low peak 5 average 5 burst 1
Note that the PCs connected to Eth1/Port1-1 will receive 20Mbps bitrate; whereas the other PCs will receive 10Mbps
bitrate. While the test is running, change the static level command and watch the behavior change.
network qos interface priority eth1 mode static level low