0% found this document useful (0 votes)
34 views1 page

PCQ Prueba

The document configures traffic shaping on a router or firewall by adding rules to mark connections and packets for specific address lists, and assigns those marked packets to priority queues with data rate limits of 1Mbit/s and 512kbit/s for inbound and outbound traffic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views1 page

PCQ Prueba

The document configures traffic shaping on a router or firewall by adding rules to mark connections and packets for specific address lists, and assigns those marked packets to priority queues with data rate limits of 1Mbit/s and 512kbit/s for inbound and outbound traffic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

/ip firewall mangle

add action=mark-connection chain=postrouting comment=Clients1Mbits_in dst-address-


list=1M new-connection-mark=Clients1Mbits_in
add action=mark-connection chain=forward comment=Clients1Mbits_out new-connection-
mark=Clients1Mbits_out src-address-list=1M
add action=mark-packet chain=postrouting comment=PMark_Cmw_1M_in connection-
mark=Clients1Mbits_in new-packet-mark=CmwPMark_Main_1M_in passthrough=no
add action=mark-packet chain=forward comment=PMark_Cmw_1M_out connection-
mark=Clients1Mbits_out new-packet-mark=CmwPMark_Main_1M_out passthrough=no
/queue type
add kind=pcq name=PCQ_down_1M pcq-classifier=dst-address pcq-rate=1M
add kind=pcq name=PCQ_up_1M pcq-classifier=src-address pcq-rate=1M
/queue tree
add name=Download parent=LAN priority=1 queue=default
add name=Upload parent=WAN priority=1 queue=default
add name=down_1M packet-mark=CmwPMark_Main_1M_in parent=Download queue=PCQ_down_1M
add name=up_1M packet-mark=CmwPMark_Main_1M_out parent=Upload queue=PCQ_up_1M

/ip firewall mangle


add action=mark-connection chain=postrouting comment=Clients512kbits_in dst-
address-list=512k new-connection-mark=Clients512kbits_in
add action=mark-connection chain=forward comment=Clients512kbits_out new-
connection-mark=Clients512kbits_out src-address-list=512k
add action=mark-packet chain=postrouting comment=PMark_Cmw_512k_in connection-
mark=Clients512kbits_in new-packet-mark=CmwPMark_Main_512k_in passthrough=no
add action=mark-packet chain=forward comment=PMark_Cmw_512k_out connection-
mark=Clients512kbits_out new-packet-mark=CmwPMark_Main_512k_out passthrough=no
/queue type
add kind=pcq name=PCQ_down_512k pcq-classifier=dst-address pcq-rate=512k
add kind=pcq name=PCQ_up_512k pcq-classifier=src-address pcq-rate=512k
/queue tree
add name=down_512k packet-mark=CmwPMark_Main_512k_in parent=Download
queue=PCQ_down_512k
add name=up_512k packet-mark=CmwPMark_Main_512k_out parent=Upload queue=PCQ_up_512k

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy