User's Manual
EnRoute50x/51x User’s Guide
TR0153 Rev. D2
95
When sending data out through any of the wireless interfaces (wlanN, mesh0), these priorities
map directly to the hardware priority output queues on the wireless card. The default level is
Best Effort.
To increase the hardware priority of traffic from a particular interface, set the value of Min
Hardware Priority to a value larger than 1. This will force all traffic from the chosen interface to
use a hardware queue equal to or greater than the Min Hardware Priority value set. To reduce
the maximum hardware priority of traffic from an interface, set the Max Hardware Priority
parameter to a value less than 4. To disable hardware prioritization, set the Min/Max Hardware
Priority parameters to „0‟.
Changing hardware priorities does not affect the rate limiting and reservation (section 13.2), it
only affects which output hardware queues are used.
CLI
Flow priority levels are set with the „in.<intf>.flow_priority‟ parameters in the „qos‟ interface,
where <intf> is one of the following: default, local, eth0, mesh0, wlan1, wlan2, wlan3, wlan4.
„local‟ refers to traffic originating on the node itself, not from its clients (in practice this means
mesh network control traffic). The example below sets locally generated traffic to have top
priority and wlan1 to have priority over all other interfaces.
> use qos
qos> set in.default.flow_priority=10
qos> set in.local.flow_priority=90
qos> set in.wlan1.flow_priority=20
qos> set in.wlan2.flow_priority=inherit
qos> set in.wlan3.flow_priority=inherit
qos> set in.wlan4.flow_priority=inherit
qos> set in.eth0.flow_priority=inherit
Hardware priority levels are set with „in.<intf>.hwpri{max,min}‟ in the „qos‟ interface, where
<intf> is one of the following: default, local, eth0, mesh0, wlan1, wlan2, wlan3, wlan4.
The example below shows how to configure the system such that all traffic from „wlan1‟ with a
„Voice‟ or „Video‟ priority will be reduced to a „Best Effort‟ priority. Traffic with „Best Effort‟ and
„Background‟ priorities will not be affected.
> use qos
qos> set in.wlan1.hwpri.max=2
The example below shows how to configure the system such that all traffic from „wlan2‟ with a
„Background‟ or „Best Effort‟ priority will be increased to a „Video‟ priority. Traffic with „Video‟
and „Voice‟ priorities will not be affected.
> use qos
qos> set in.wlan2.hwpri.min=2