Where do I change path cost for RSTP

In the following topology, where do I change the path cost for RSTP?

zzz.jpg
Do I change the path cost on the switch side A & D, or on the SXT side B & C?

Thank you.

example:


/interface bridge port
add bridge=brdge1 interface=ether1 path-cost=4

https://help.mikrotik.com/docs/display/ROS/Spanning+Tree+Protocol

Thank you, I know how to change it. My question is WHERE should the change be. The switch port to the SXT or the wlan port of the SXT.