My ISP has asked me to configure traffic-shaping in my routers and suggested following sample configuration which can be used with CISCO IOS. Does anybody know how to configure policy-maps in Mikrotik routers? Thank you!
Step 1.
Create Policy Map
policy-map
class class-default
shape average
E.g. For a 20Mbps service: router(config)# policy-map
Example_20M_service
class class-default
shape average 19600000 200000 0
If the CPE does not accept ‘0’ for excess-burst, input a
small value. E.g. 1000
Step 2.
Apply Policy Map to interface/sub-interface
interface ethernet
service-policy output
E.g. attach our 20M Service policy to the outgoing
Fast Ethernet interface
router(config)# interface FastEthernet4
service-policy output Example_20M_service