altq on $dmz_if hfsc bandwidth 80Mb \
queue { std_ret_dmz, std_dmz_dmz, \
std_ext_dmz, std_extlan_dmz, std_int_dmz, \
domain_dmz, ssh_dmz, www_dmz }
queue std_ext_dmz bandwidth 10% priority 1 \
hfsc(realtime 1% linkshare 9% upperlimit 50%)
queue std_extlan_dmz bandwidth 15% qlimit 100 priority 2 \
hfsc(realtime 5% linkshare 10% upperlimit 70%)
queue std_int_dmz bandwidth 15% qlimit 100 priority 2 \
hfsc(realtime 5% linkshare 10% upperlimit 70%)
queue std_dmz_dmz bandwidth 5% qlimit 100 priority 2 \
hfsc(realtime 0b linkshare 5% upperlimit 70%)
queue std_ret_dmz bandwidth 15% qlimit 100 priority 2 \
hfsc(default realtime 5% linkshare 10% upperlimit 70%)
queue domain_dmz bandwidth 15% priority 7 \
hfsc(realtime 5% linkshare 10% upperlimit 50%)
queue ssh_dmz bandwidth 15% hfsc(realtime 5% linkshare 10% upperlimit 70%) \
{ ssh_dmz_a_bulk,ssh_dmz_a_prio, ssh_dmz_b_bulk,ssh_dmz_b_prio }
queue ssh_dmz_a_bulk bandwidth 20% priority 4 hfsc(realtime 5% linkshare 15%)
queue ssh_dmz_a_prio bandwidth 20% priority 6 hfsc(realtime 5% linkshare 15%)
queue ssh_dmz_b_bulk bandwidth 20% priority 3 hfsc(realtime 5% linkshare 15%)
queue ssh_dmz_b_prio bandwidth 20% priority 5 hfsc(realtime 5% linkshare 15%)
queue www_dmz bandwidth 1Mb qlimit 32 priority 0 \
hfsc(realtime 0b linkshare 1Mb upperlimit (100Kb 1000 1000Kb))