I am trying to do a mass config test. I have created the config shown in the code below. I called it "Rebuild all packages".
I assigned it to a test router, copied and pasted the commands into the command box as shown below. I tested the commands in a copy paste on the router and all went well.
When I hit save, I get the error "Failed to create device preset".
Code: Select all
/queue tree remove [/queue tree find]
/queue type remove [/queue type find where default=no]
/ppp profile remove [/ppp profile find name!="default"]
/ip firewall mangle remove [/ip firewall mangle find]
/ip firewall address-list remove [/ip firewall address-list find list ~"^[0-9]+\\..*"]
:delay 1
/queue type
add kind=pcq name="1Mbps / 0.25Mbps Default Connection Download" \
pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=1M pcq-total-limit=\
80000KiB
add kind=pcq name="1Mbps / 0.25Mbps Default Connection Upload" \
pcq-classifier=src-address pcq-limit=40KiB pcq-rate=250k pcq-total-limit=\
16000KiB
add kind=pcq name="80Mbps Home Download" pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=85M pcq-total-limit=80000KiB
add kind=pcq name="80Mbps Home Upload" pcq-classifier=src-address pcq-limit=40KiB pcq-rate=45M pcq-total-limit=16000KiB
add kind=pcq name="50Mbps Home Download" pcq-burst-rate=65M \
pcq-burst-threshold=55M pcq-burst-time=15s pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=55M pcq-total-limit=80000KiB
add kind=pcq name="50Mbps Home Upload" pcq-burst-rate=12M \
pcq-burst-threshold=7M pcq-burst-time=15s pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=7M pcq-total-limit=16000KiB
add kind=pcq name="30Mbps Home Download" pcq-burst-rate=40M \
pcq-burst-threshold=33M pcq-burst-time=15s pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=33M pcq-total-limit=80000KiB
add kind=pcq name="30Mbps Home Upload" pcq-burst-rate=10M \
pcq-burst-threshold=5M pcq-burst-time=15s pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=5M pcq-total-limit=16000KiB
add kind=pcq name="10Mbps Home Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=11M pcq-total-limit=80000KiB
add kind=pcq name="10Mbps Home Upload" pcq-classifier=src-address pcq-limit=\
40KiB pcq-rate=2M pcq-total-limit=16000KiB
add kind=pcq name="8Mbps/3Mbps Split Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=9M pcq-total-limit=80000KiB
add kind=pcq name="8Mbps/3Mbps Split Upload" pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=4M pcq-total-limit=16000KiB
add kind=pcq name="7.5Mbps Home Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=8M pcq-total-limit=80000KiB
add kind=pcq name="7.5Mbps Home Upload" pcq-classifier=src-address pcq-limit=\
40KiB pcq-rate=1M pcq-total-limit=16000KiB
add kind=pcq name="5Mbps Home Download" pcq-classifier=dst-address pcq-limit=\
200KiB pcq-rate=6M pcq-total-limit=80000KiB
add kind=pcq name="5Mbps Home Upload" pcq-classifier=src-address pcq-limit=\
40KiB pcq-rate=660k pcq-total-limit=16000KiB
add kind=pcq name="2.5Mbps Home Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=3M pcq-total-limit=80000KiB
add kind=pcq name="2.5Mbps Home Upload" pcq-classifier=src-address pcq-limit=\
40KiB pcq-rate=660k pcq-total-limit=16000KiB
add kind=pcq name="80Mbps Business Download" pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=85M pcq-total-limit=80000KiB
add kind=pcq name="80Mbps Business Upload" pcq-classifier=src-address pcq-limit=40KiB pcq-rate=45M pcq-total-limit=16000KiB
add kind=pcq name="50Mbps Business Download" pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=55M pcq-total-limit=80000KiB
add kind=pcq name="50Mbps Business Upload" pcq-classifier=src-address pcq-limit=40KiB pcq-rate=7M pcq-total-limit=16000KiB
add kind=pcq name="30Mbps Business Download" pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=33M pcq-total-limit=80000KiB
add kind=pcq name="30Mbps Business Upload" pcq-classifier=src-address pcq-limit=40KiB pcq-rate=5M pcq-total-limit=16000KiB
add kind=pcq name="15Mbps Business Download" pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=17M pcq-total-limit=80000KiB
add kind=pcq name="15Mbps Business Upload" pcq-classifier=src-address pcq-limit=40KiB pcq-rate=7M pcq-total-limit=16000KiB
add kind=pcq name="10Mbps Business Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=11M pcq-total-limit=80000KiB
add kind=pcq name="10Mbps Business Upload" pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=2M pcq-total-limit=16000KiB
add kind=pcq name="7.5Mbps Business Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=8M pcq-total-limit=80000KiB
add kind=pcq name="7.5Mbps Business Upload" pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=1M pcq-total-limit=16000KiB
add kind=pcq name="5Mbps Business Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=6M pcq-total-limit=80000KiB
add kind=pcq name="5Mbps Business Upload" pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=660k pcq-total-limit=16000KiB
add kind=pcq name="2.5Mbps Business Download" pcq-classifier=dst-address \
pcq-limit=200KiB pcq-rate=3M pcq-total-limit=80000KiB
add kind=pcq name="2.5Mbps Business Upload" pcq-classifier=src-address \
pcq-limit=40KiB pcq-rate=660k pcq-total-limit=16000KiB
add kind=pcq name="20Mbps / 20Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=21M pcq-total-limit=80000KiB
add kind=pcq name="20Mbps / 20Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=21M pcq-total-limit=16000KiB
add kind=pcq name="15Mbps / 15Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=16M pcq-total-limit=80000KiB
add kind=pcq name="15Mbps / 15Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=16M pcq-total-limit=16000KiB
add kind=pcq name="10Mbps / 10Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=11M pcq-total-limit=80000KiB
add kind=pcq name="10Mbps / 10Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=11M pcq-total-limit=16000KiB
add kind=pcq name="7.5Mbps / 7.5Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=8M pcq-total-limit=80000KiB
add kind=pcq name="7.5Mbps / 7.5Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=8M pcq-total-limit=16000KiB
add kind=pcq name="5Mbps / 5Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=6M pcq-total-limit=80000KiB
add kind=pcq name="5Mbps / 5Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=6M pcq-total-limit=16000KiB
add kind=pcq name="2.5Mbps / 2.5Mbps Business Symm Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=3M pcq-total-limit=80000KiB
add kind=pcq name="2.5Mbps / 2.5Mbps Business Symm Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=3M pcq-total-limit=16000KiB
add kind=pcq name="15Mbps/5Mbps Bridge Holder Download" pcq-classifier=\
dst-address pcq-limit=200KiB pcq-rate=16M pcq-total-limit=80000KiB
add kind=pcq name="15Mbps/5Mbps Bridge Holder Upload" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=6M pcq-total-limit=16000KiB
add kind=pcq name="50Mbps/50Mbps Business Download JHCS Office" \
pcq-classifier=dst-address pcq-limit=200KiB pcq-rate=50M pcq-total-limit=\
80000KiB
add kind=pcq name="50Mbps/50Mbps Business Upload JHCS Office" pcq-classifier=\
src-address pcq-limit=40KiB pcq-rate=50M pcq-total-limit=16000KiB
/queue tree
add name=VOIP-UPLOAD packet-mark=VOIP_UPLOAD parent=global priority=1 queue=\
pcq-upload-default
add name=VOIP_DOWNLOAD packet-mark=VOIP_DOWNLOAD parent=global priority=1 \
queue=pcq-upload-default
add max-limit=200M name="Main Download" parent=global queue=\
pcq-download-default
add max-limit=100M name="Home Download" parent="Main Download" priority=3 \
queue=pcq-download-default
add max-limit=100M name="Business Download" parent="Main Download" priority=1 \
queue=default
add max-limit=50M name="Business Symmetrical Download" parent="Main Download" \
priority=2 queue=default
add max-limit=100M name="Main Upload" parent=global queue=pcq-upload-default
add max-limit=60M name="Business Upload" parent="Main Upload" queue=default
add max-limit=50M name="Business Symmetrical Upload" parent="Main Upload" \
queue=default
add max-limit=60M name="Home Upload" parent="Main Upload" queue=\
pcq-upload-default
add name="Default Connection Download" packet-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps_Download" parent=\
"Home Download" priority=1 queue=\
"1Mbps / 0.25Mbps Default Connection Download"
add name="Default Connection Upload" packet-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps_Upload" parent="Home Upload" \
priority=1 queue="1Mbps / 0.25Mbps Default Connection Upload"
add name="80Mbps / 40Mbps Home Download" packet-mark="57. EU_Home_80Mbps/40Mbps_Download" parent="Home Download" priority=1 queue="80Mbps Home Download"
add name="80Mbps/40Mbps Home Upload" packet-mark="57. EU_Home_80Mbps/40Mbps_Upload" parent="Home Upload" priority=1 queue="80Mbps Home Upload"
add name="50Mbps / 5Mbps Home Download" packet-mark=\
"56. EU_Home_50Mbps/5Mbps_Download" parent="Home Download" priority=1 \
queue="50Mbps Home Download"
add name="50Mbps/5Mbps Home Upload" packet-mark=\
"56. EU_Home_50Mbps/5Mbps_Upload" parent="Home Upload" priority=1 queue=\
"50Mbps Home Upload"
add name="30Mbps / 3Mbps Home Download" packet-mark=\
"55. EU_Home_30Mbps/3Mbps_Download" parent="Home Download" priority=1 \
queue="30Mbps Home Download"
add name="30Mbps/3Mbps Home Upload" packet-mark=\
"55. EU_Home_30Mbps/3Mbps_Upload" parent="Home Upload" priority=1 queue=\
"30Mbps Home Upload"
add name="10Mbps / 1Mbps Home Download" packet-mark=\
"53. EU_Home_10Mbps/1Mbps_Download" parent="Home Download" priority=1 \
queue="10Mbps Home Download"
add name="10Mbps / 1Mbps Home Upload" packet-mark=\
"53. EU_Home_10Mbps/1Mbps_Upload" parent="Home Upload" priority=1 queue=\
"10Mbps Home Upload"
add name="8Mbps / 3Mbps Split Download" packet-mark=\
"54. EU_Home_8Mbps/3Mbps-Download" parent="Home Download" priority=1 \
queue="8Mbps/3Mbps Split Download"
add name="8Mbps/3Mbps Split Upload" packet-mark=\
"54. EU_Home_8Mbps/3Mbps-Upload" parent="Home Upload" priority=1 queue=\
"8Mbps/3Mbps Split Upload"
add name="7.5Mbps / 750Kbps Home Download" packet-mark=\
"52. EU_Home_7.5Mbps/750Kbps_Download" parent="Home Download" priority=1 \
queue="7.5Mbps Home Download"
add name="7.5Mbps / 750Kbps Home Upload" packet-mark=\
"52. EU_Home_7.5Mbps/750Kbps_Upload" parent="Home Upload" priority=1 \
queue="7.5Mbps Home Upload"
add name="5Mbps / 512Kbps Home Download" packet-mark=\
"51. EU_Home_5Mbps/512Kbps_Download" parent="Home Download" priority=1 \
queue="5Mbps Home Download"
add name="5Mbps / 512Kbps Home Upload" packet-mark=\
"51. EU_Home_5Mbps/512Kbps_Upload" parent="Home Upload" priority=1 queue=\
"5Mbps Home Upload"
add name="2.5Mbps / 0.5Kbps Home Download" packet-mark=\
"50. EU_Home_2.5Mbps/0.5Kbps_Download" parent="Home Download" priority=1 \
queue="2.5Mbps Home Download"
add name="2.5Mbps / 0.5Kbps Home Upload" packet-mark=\
"50. EU_Home_2.5Mbps/0.5Kbps_Upload" parent="Home Upload" priority=1 \
queue="2.5Mbps Home Upload"
add name="80Mbps / 40Mbps Business Download" packet-mark="27. EU_Business_80Mbps/40Mbps-Download" parent="Business Download" priority=1 queue="80Mbps Business Download"
add name="80Mbps / 40Mbps Business Upload" packet-mark="27. EU_Business_80Mbps/40Mbps-Upload" parent="Business Upload" priority=1 queue="80Mbps Business Upload"
add name="50Mbps / 5Mbps Business Download" packet-mark="26. EU_Business_50Mbps/5Mbps-Download" parent="Business Download" priority=1 queue="50Mbps Business Download"
add name="50Mbps / 5Mbps Business Upload" packet-mark="26. EU_Business_50Mbps/5Mbps-Upload" parent="Business Upload" priority=1 queue="50Mbps Business Upload"
add name="30Mbps / 3Mbps Business Download" packet-mark="25. EU_Business_30Mbps/3Mbps-Download" parent="Business Download" priority=1 queue="30Mbps Business Download"
add name="30Mbps / 3Mbps Business Upload" packet-mark="25. EU_Business_30Mbps/3Mbps-Upload" parent="Business Upload" priority=1 queue="30Mbps Business Upload"
add name="15Mbps / 5Mbps Business Download" packet-mark="24. EU_Business_15Mbps/5Mbps-Download" parent="Business Download" priority=1 queue="15Mbps Business Download"
add name="15Mbps / 5Mbps Business Upload" packet-mark="24. EU_Business_15Mbps/5Mbps-Upload" parent="Business Upload" priority=1 queue="15Mbps Business Upload"
add name="10Mbps / 1Mbps Business Download" packet-mark=\
"23. EU_Business_10Mbps/1Mbps-Download" parent="Business Download" \
priority=1 queue="10Mbps Business Download"
add name="10Mbps / 1Mbps Business Upload" packet-mark=\
"23. EU_Business_10Mbps/1Mbps-Upload" parent="Business Upload" priority=1 \
queue="10Mbps Business Upload"
add name="7.5Mbps / 750Kbps Business Download" packet-mark=\
"22. EU_Business_7.5Mbps/750Kbps-Download" parent="Business Download" \
priority=1 queue="7.5Mbps Business Download"
add name="7.5Mbps / 750Kbps Business Upload" packet-mark=\
"22. EU_Business_7.5Mbps/750Kbps-Upload" parent="Business Upload" \
priority=1 queue="7.5Mbps Business Upload"
add name="5Mbps / 512Kbps Business Download" packet-mark=\
"21. EU_Business_5.0Mbps/512Kbps-Download" parent="Business Download" \
priority=1 queue="5Mbps Business Download"
add name="5Mbps / 512Kbps Business Upload" packet-mark=\
"21. EU_Business_5.0Mbps/512Kbps-Upload" parent="Business Upload" \
priority=1 queue="5Mbps Business Upload"
add name="2.5Mbps / 0.5Kbps Business Download" packet-mark=\
"20. EU_Business_2.5Mbps/0.5Kbps-Download" parent="Business Download" \
priority=1 queue="2.5Mbps Business Download"
add name="2.5Mbps / 0.5Kbps Business Upload" packet-mark=\
"20. EU_Business_2.5Mbps/0.5Kbps-Upload" parent="Business Upload" \
priority=1 queue="2.5Mbps Business Upload"
add name="20Mbps / 20Mbps Business Symmetrical Download" packet-mark=\
"6. EU_Business_Symm_20Mbps/20Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"20Mbps / 20Mbps Business Symm Download"
add name="20Mbps / 20Mbps Business Symmetrical Upload" packet-mark=\
"6. EU_Business_Symm_20Mbps/20Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"20Mbps / 20Mbps Business Symm Upload"
add name="15Mbps / 15Mbps Business Symmetrical Download" packet-mark=\
"5. EU_Business_Symm_15Mbps/15Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"15Mbps / 15Mbps Business Symm Download"
add name="15Mbps / 15Mbps Business Symmetrical Upload" packet-mark=\
"5. EU_Business_Symm_15Mbps/15Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"15Mbps / 15Mbps Business Symm Upload"
add name="10Mbps / 10Mbps Business Symmetrical Download" packet-mark=\
"4. EU_Business_Symm_10Mbps/10Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"10Mbps / 10Mbps Business Symm Download"
add name="10Mbps / 10Mbps Business Symmetrical Upload" packet-mark=\
"4. EU_Business_Symm_10Mbps/10Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"10Mbps / 10Mbps Business Symm Upload"
add name="7.5Mbps / 7.5Mbps Business Symmetrical Download" packet-mark=\
"3. EU_Business_Symm_7.5Mbps/7.5Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"7.5Mbps / 7.5Mbps Business Symm Download"
add name="7.5Mbps / 7.5Mbps Business Symmetrical Upload" packet-mark=\
"3. EU_Business_Symm_7.5Mbps/7.5Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"7.5Mbps / 7.5Mbps Business Symm Upload"
add name="5Mbps / 5Mbps Business Symmetrical Download" packet-mark=\
"2. EU_Business_Symm_5Mbps/5Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"5Mbps / 5Mbps Business Symm Download"
add name="5Mbps / 5Mbps Business Symmetrical Upload" packet-mark=\
"2. EU_Business_Symm_5Mbps/5Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"5Mbps / 5Mbps Business Symm Upload"
add name="2.5Mbps / 2.5Mbps Business Symmetrical Download" packet-mark=\
"1. EU_Business_Symm_2.5Mbps/2.5Mbps-Download" parent=\
"Business Symmetrical Download" priority=1 queue=\
"2.5Mbps / 2.5Mbps Business Symm Download"
add name="2.5Mbps / 2.5Mbps Business Symmetrical Upload" packet-mark=\
"1. EU_Business_Symm_2.5Mbps/2.5Mbps-Upload" parent=\
"Business Symmetrical Upload" priority=1 queue=\
"2.5Mbps / 2.5Mbps Business Symm Upload"
add name="15Mbps / 5Mbps Bridge Holder Download" packet-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Download" parent=\
"Home Download" priority=1 queue="15Mbps/5Mbps Bridge Holder Download"
add name="15Mbps / 5Mbps Bridge Holder Upload" packet-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Upload" parent="Home Upload" \
priority=1 queue="15Mbps/5Mbps Bridge Holder Upload"
add name="50Mbps / 50Mbps Business Download JHCS Office" packet-mark=\
OFFICE_JHCS_Traffic_Download parent="Business Download" priority=1 queue=\
"50Mbps/50Mbps Business Download JHCS Office"
add name="50Mbps/50Mbps Business Upload JHCS Office" packet-mark=\
OFFICE_JHCS_Traffic_Upload parent="Business Upload" priority=1 queue=\
"50Mbps/50Mbps Business Upload JHCS Office"
/ppp profile
add address-list="000. EU_Default_Connection_1Mbps/0.25Mbps" change-tcp-mss=\
yes local-address=10.20.0.1 name="Default Service 1Mbps / 0.25Mbps" \
only-one=yes
add address-list="57. EU_Home_80Mbps/40Mbps" change-tcp-mss=yes local-address=10.20.0.1 name="Home User 80Mbps / 40Mbps" only-one=yes
add address-list="56. EU_Home_50Mbps/5Mbps" change-tcp-mss=yes local-address=\
10.20.0.1 name="Home User 50Mbps / 5Mbps" only-one=yes
add address-list="55. EU_Home_30Mbps/3Mbps" change-tcp-mss=yes local-address=\
10.20.0.1 name="Home User 30Mbps / 3Mbps" only-one=yes
add address-list="53. EU_Home_10Mbps/1Mbps" change-tcp-mss=yes local-address=\
10.20.0.1 name="Home User 10Mbps / 1Mbps" only-one=yes
add address-list="54. EU_Home_8Mbps/3Mbps" change-tcp-mss=yes local-address=\
10.20.0.1 name="Home User 8Mbps / 3Mbps" only-one=yes
add address-list="52. EU_Home_7.5Mbps/750Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Home User 7.5Mbps / 0.75Mbps" only-one=yes
add address-list="51. EU_Home_5Mbps/512Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Home User 5Mbps / 0.5Mbps" only-one=yes
add address-list="50. EU_Home_2.5Mbps/0.5Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Home User 2.5Mbps / 0.5Mbps" only-one=yes
add address-list="27. EU_Business_80Mbps/40Mbps" change-tcp-mss=yes local-address=10.20.0.1 name="Business User 80Mbps / 40Mbps" only-one=yes
add address-list="26. EU_Business_50Mbps/5Mbps" change-tcp-mss=yes local-address=10.20.0.1 name="Business User 50Mbps / 5Mbps" only-one=yes
add address-list="25. EU_Business_30Mbps/3Mbps" change-tcp-mss=yes local-address=10.20.0.1 name="Business User 30Mbps / 3Mbps" only-one=yes
add address-list="24. EU_Business_15Mbps/5Mbps" change-tcp-mss=yes local-address=10.20.0.1 name="Business User 15Mbps / 5Mbps" only-one=yes
add address-list="23. EU_Business_10Mbps/1Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business User 10Mbps / 1Mbps " only-one=yes
add address-list="22. EU_Business_7.5Mbps/750Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business User 7.5Mbps / 0.75Mbps" only-one=\
yes
add address-list="21. EU_Business_5.0Mbps/512Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business User 5Mbps / 0.5Mbps" only-one=yes
add address-list="20. EU_Business_2.5Mbps/0.5Kbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business User 2.5Mbps / 0.5Mbps" only-one=\
yes
add address-list="6. EU_Business_Symm_20Mbps/20Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 20Mbps / 20Mbps" only-one=yes
add address-list="5. EU_Business_Symm_15Mbps/15Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 15Mbps / 15Mbps" only-one=yes
add address-list="4. EU_Business_Symm_10Mbps/10Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 10Mbps / 10Mbps" only-one=yes
add address-list="3. EU_Business_Symm_7.5Mbps/7.5Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 7.5Mbps / 7.5Mbps" only-one=\
yes
add address-list="2. EU_Business_Symm_5Mbps/5Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 5Mbps / 5Mbps" only-one=yes
add address-list="1. EU_Business_Symm_2.5Mbps/2.5Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="Business Symm 2.5Mbps / 2.5Mbps" only-one=\
yes
add address-list="100. EU_BridgeHolder_15Mbps/5Mbps" change-tcp-mss=yes \
local-address=10.20.0.1 name="BridgeHolder Private 15Mbps / 5Mbps" \
only-one=yes
add address-list=OFFICE_JHCS change-tcp-mss=yes local-address=10.20.0.1 name=\
"JHCS OFFICE Profile 50/50" only-one=yes
/ip firewall mangle
add action=mark-connection chain=forward comment=\
"Mark connection VOIP SIP - DSCP (TOS) 26" dscp=26 new-connection-mark=\
VOIP passthrough=yes protocol=udp
add action=mark-connection chain=forward comment=\
"Mark connection VOIP RTP - DSCP (TOS) 46" dscp=46 new-connection-mark=\
VOIP passthrough=yes protocol=udp
add action=mark-packet chain=forward comment=\
"Mark VOIP - CONNECTION-TYPE SIP" connection-type=sip new-packet-mark=\
VOIP_DOWNLOAD passthrough=no protocol=udp src-address-list=WAN_RANGE
add action=mark-packet chain=forward comment=\
"Mark VOIP - CONNECTION-TYPE SIP" connection-type=sip dst-address-list=\
WAN_RANGE new-packet-mark=VOIP_UPLOAD passthrough=no protocol=udp
add action=mark-packet chain=prerouting comment="Mark packet VOIP UPLOAD" \
connection-mark=VOIP new-packet-mark=VOIP_UPLOAD passthrough=no \
src-address-list=WAN_RANGE
add action=mark-packet chain=prerouting comment="Mark packet VOIP DOWNLOAD" \
connection-mark=VOIP dst-address-list=WAN_RANGE new-packet-mark=\
VOIP_DOWNLOAD passthrough=no
add action=mark-connection chain=prerouting comment="Mark Connections For Queu\
e Trees - 000. EU_Default_Connection_1Mbps/0.25Mbps" new-connection-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps" src-address-list=\
"000. EU_Default_Connection_1Mbps/0.25Mbps"
add action=mark-connection chain=postrouting comment="Mark Connections For Que\
ue Trees - 000. EU_Default_Connection_1Mbps/0.25Mbps" \
new-connection-mark="000. EU_Default_Connection_1Mbps/0.25Mbps" \
src-address-list="000. EU_Default_Connection_1Mbps/0.25Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Upload - 000\
. EU_Default_Connection_1Mbps/0.25Mbps_Upload" connection-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps" new-packet-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps_Upload" passthrough=no \
src-address-list="000. EU_Default_Connection_1Mbps/0.25Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Downloading \
- 000. EU_Default_Connection_1Mbps/0.25Mbps_Download" connection-mark=\
"000. EU_Default_Connection_1Mbps/0.25Mbps" dst-address-list=39 \
new-packet-mark="000. EU_Default_Connection_1Mbps/0.25Mbps_Download" \
passthrough=no
add action=mark-packet chain=postrouting comment="Mark Packets For Downloading\
\_- NAT 000. EU_Default_Connection_1Mbps/0.25Mbps_Download" \
connection-mark="000. EU_Default_Connection_1Mbps/0.25Mbps" \
dst-address-list="000. EU_Default_Connection_1Mbps/0.25Mbps" \
new-packet-mark="000. EU_Default_Connection_1Mbps/0.25Mbps_Download" \
passthrough=no
add action=mark-connection chain=prerouting comment="Mark Connections For Queue Trees - 57. EU_Home_80Mbps/40Mbps" new-connection-mark="57. EU_Home_80Mbps/40Mbps_Connection" src-address-list="57. EU_Home_80Mbps/40Mbps"
add action=mark-connection chain=postrouting comment="Mark Connections For Queue Trees - 57. EU_Home_80Mbps/40Mbps" new-connection-mark="57. EU_Home_80Mbps/40Mbps_Connection" src-address-list="57. EU_Home_80Mbps/40Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Upload - 57. EU_Home_80Mbps/40Mbps_Upload" connection-mark="57. EU_Home_80Mbps/40Mbps_Connection" new-packet-mark="57. EU_Home_80Mbps/40Mbps_Upload" passthrough=no src-address-list="57. EU_Home_80Mbps/40Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Downloading - 57. EU_Home_80Mbps/40Mbps_Download" connection-mark="57. EU_Home_80Mbps/40Mbps_Connection" dst-address-list="57. EU_Home_80Mbps/40Mbps" new-packet-mark="57. EU_Home_80Mbps/40Mbps_Download" passthrough=no
add action=mark-packet chain=postrouting comment="Mark Packets For Downloading - NAT 57. EU_Home_80Mbps/40Mbps_Download" connection-mark="57. EU_Home_80Mbps/40Mbps_Connection" dst-address-list="57. EU_Home_80Mbps/40Mbps" new-packet-mark="57. EU_Home_80Mbps/40Mbps_Download" passthrough=no
add action=mark-connection chain=prerouting comment=\
"Mark Connections For Queue Trees - 56. EU_Home_50Mbps/5Mbps" \
new-connection-mark="56. EU_Home_50Mbps/5Mbps_Connection" \
src-address-list="56. EU_Home_50Mbps/5Mbps"
add action=mark-connection chain=postrouting comment=\
"Mark Connections For Queue Trees - 56. EU_Home_50Mbps/5Mbps" \
new-connection-mark="56. EU_Home_50Mbps/5Mbps_Connection" \
src-address-list="56. EU_Home_50Mbps/5Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Upload - 56. EU_Home_50Mbps/5Mbps_Upload" \
connection-mark="56. EU_Home_50Mbps/5Mbps_Connection" new-packet-mark=\
"56. EU_Home_50Mbps/5Mbps_Upload" passthrough=no src-address-list=\
"56. EU_Home_50Mbps/5Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Downloading - 56. EU_Home_50Mbps/5Mbps_Download" \
connection-mark="56. EU_Home_50Mbps/5Mbps_Connection" dst-address-list=\
"56. EU_Home_50Mbps/5Mbps" new-packet-mark=\
"56. EU_Home_50Mbps/5Mbps_Download" passthrough=no
add action=mark-packet chain=postrouting comment=\
"Mark Packets For Downloading - NAT 56. EU_Home_50Mbps/5Mbps_Download" \
connection-mark="56. EU_Home_50Mbps/5Mbps_Connection" dst-address-list=\
"56. EU_Home_50Mbps/5Mbps" new-packet-mark=\
"56. EU_Home_50Mbps/5Mbps_Download" passthrough=no
add action=mark-connection chain=prerouting comment=\
"Mark Connections For Queue Trees - 55. EU_Home_30Mbps/3Mbps" \
new-connection-mark="55. EU_Home_30Mbps/3Mbps_Connection" \
src-address-list="55. EU_Home_30Mbps/3Mbps"
add action=mark-connection chain=postrouting comment=\
"Mark Connections For Queue Trees - 55. EU_Home_30Mbps/3Mbps" \
new-connection-mark="55. EU_Home_30Mbps/3Mbps_Connection" \
src-address-list="55. EU_Home_30Mbps/3Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Upload - 55. EU_Home_30Mbps/3Mbps_Upload" \
connection-mark="55. EU_Home_30Mbps/3Mbps_Connection" new-packet-mark=\
"55. EU_Home_30Mbps/3Mbps_Upload" passthrough=no src-address-list=\
"55. EU_Home_30Mbps/3Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Downloading - 55. EU_Home_30Mbps/3Mbps_Download" \
connection-mark="55. EU_Home_30Mbps/3Mbps_Connection" dst-address-list=\
"55. EU_Home_30Mbps/3Mbps" new-packet-mark=\
"55. EU_Home_30Mbps/3Mbps_Download" passthrough=no
add action=mark-packet chain=postrouting comment=\
"Mark Packets For Downloading - NAT 55. EU_Home_30Mbps/3Mbps_Download" \
connection-mark="55. EU_Home_30Mbps/3Mbps_Connection" dst-address-list=\
"55. EU_Home_30Mbps/3Mbps" new-packet-mark=\
"55. EU_Home_30Mbps/3Mbps_Download" passthrough=no
add action=mark-connection chain=prerouting comment=\
"Mark Connections For Queue Trees - 100. EU_BridgeHolder_15Mbps/5Mbps" \
new-connection-mark="100. EU_BridgeHolder_15Mbps/5Mbps_Connection" \
src-address-list="100. EU_BridgeHolder_15Mbps/5Mbps"
add action=mark-connection chain=postrouting comment=\
"Mark Connections For Queue Trees - 100. EU_BridgeHolder_15Mbps/5Mbps" \
new-connection-mark="100. EU_BridgeHolder_15Mbps/5Mbps_Connection" \
src-address-list="100. EU_BridgeHolder_15Mbps/5Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Upload - 100\
. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Upload" connection-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Connection" new-packet-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Upload" passthrough=no \
src-address-list="100. EU_BridgeHolder_15Mbps/5Mbps"
add action=mark-packet chain=prerouting comment="Mark Packets For Downloading \
- 100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Download" connection-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Connection" dst-address-list=\
"100. EU_BridgeHolder_15Mbps/5Mbps" new-packet-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Download" passthrough=no
add action=mark-packet chain=postrouting comment="Mark Packets For Downloading\
\_- NAT 100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Download" \
connection-mark="100. EU_BridgeHolder_15Mbps/5Mbps_Connection" \
dst-address-list="100. EU_BridgeHolder_15Mbps/5Mbps" new-packet-mark=\
"100. EU_BridgeHolder_15Mbps/5Mbps_Traffic-Download" passthrough=no
add action=mark-connection chain=prerouting comment=\
"Mark Connections For Queue Trees - 53. EU_Home_10Mbps/1Mbps" \
new-connection-mark="53. EU_Home_10Mbps/1Mbps_Connection" \
src-address-list="53. EU_Home_10Mbps/1Mbps"
add action=mark-connection chain=postrouting comment=\
"Mark Connections For Queue Trees - 53. EU_Home_10Mbps/1Mbps" \
new-connection-mark="53. EU_Home_10Mbps/1Mbps_Connection" \
src-address-list="53. EU_Home_10Mbps/1Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Upload - 53. EU_Home_10Mbps/1Mbps_Upload" \
connection-mark="53. EU_Home_10Mbps/1Mbps_Connection" new-packet-mark=\
"53. EU_Home_10Mbps/1Mbps_Upload" passthrough=no src-address-list=\
"53. EU_Home_10Mbps/1Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Downloading - 53. EU_Home_10Mbps/1Mbps_Download" \
connection-mark="53. EU_Home_10Mbps/1Mbps_Connection" dst-address-list=\
"53. EU_Home_10Mbps/1Mbps" new-packet-mark=\
"53. EU_Home_10Mbps/1Mbps_Download" passthrough=no
add action=mark-packet chain=postrouting comment=\
"Mark Packets For Downloading - NAT 53. EU_Home_10Mbps/1Mbps_Download" \
connection-mark="53. EU_Home_10Mbps/1Mbps_Connection" dst-address-list=\
"53. EU_Home_10Mbps/1Mbps" new-packet-mark=\
"53. EU_Home_10Mbps/1Mbps_Download" passthrough=no
add action=mark-connection chain=prerouting comment=\
"Mark Connections For Queue Trees - 54. EU_Home_8Mbps/3Mbps" \
new-connection-mark="54. EU_Home_8Mbps/3Mbps_Connection" \
src-address-list="54. EU_Home_8Mbps/3Mbps"
add action=mark-connection chain=postrouting comment=\
"Mark Connections For Queue Trees - 54. EU_Home_8Mbps/3Mbps" \
new-connection-mark="54. EU_Home_8Mbps/3Mbps_Connection" \
src-address-list="54. EU_Home_8Mbps/3Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Upload - 54. EU_Home_8Mbps/3Mbps-Upload" \
connection-mark="54. EU_Home_8Mbps/3Mbps_Connection" new-packet-mark=\
"54. EU_Home_8Mbps/3Mbps-Upload" passthrough=no src-address-list=\
"54. EU_Home_8Mbps/3Mbps"
add action=mark-packet chain=prerouting comment=\
"Mark Packets For Downloading - 54. EU_Home_8Mbps/3Mbps-Download" \
connection-mark="54. EU_Home_8Mbps/3Mbps_Connection" dst-address-list=\
"54. EU_Home_8Mbps/3Mbps" new-packet-mark=\
"54. EU_Home_8Mbps/3Mbps-Download" passthrough=no
add action=mark-packet chain=postrouting comment=\
"Mark Packets For Downloading - NAT 54. EU_Home_8Mbps/3Mbps-Download" \
connection-mark="54. EU_Home_8Mbps/3Mbps_Connection" dst-address-list=\
"54. EU_Home_8Mbps/3Mbps" new-packet-mark=\
"54. EU_Home_8Mbps/3Mbps-Download" passthrough=no