How to do Policy mapping in Mikrotik

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

You can do similar things in the /queue tree menu.
See the wiki: https://wiki.mikrotik.com/wiki/Manual:Queue#Queue_Tree

Of course there are many more capabilities than this simple config that is shown in the Cisco example.
You should be able to mimic that with something simple like:

/queue tree
add limit-at=20M max-limit=20M name=queue-internet parent=ether1 queue=default

(of course instead of ether1 apply your interface name for internet, if it is PPPoE use the PPPoE interface name)

Thank you very much for your help. This was exactly what I needed.

/queue tree
add limit-at=20M max-limit=20M name=queue-internet parent=ether1 queue=default

(of course instead of ether1 apply your interface name for internet, if it is PPPoE use the PPPoE interface name)
[/quote]

Thank you very much for your help. This was exactly what I needed.