failure: master-port has master-port itself

I am trying to learn how to script a CRS125-24G-1S with the router OS ver 6.33.3. My biggest challenge has come with trying to do this.

/interface ethernet> set [ find default-name=ether22 ] master-port=ether5
/interface ethernet> set [ find default-name=ether21 ] master-port=ether3


each tie this is run I get back the following error
failure: master-port has master-port itself

I am currently accessing the router via ether port 1 and the device is in a default configuration.

I have tried
/interface ethernet> set ether4-slave-local,ether6-slave-local,ether8-slave-local master-port=ether2-slave

same results

I am sure a more experienced person will tell me its a simple mistake but I am not seeing it.

It’s saying that ether5 and ether3 are already slaves to another master port (and ether2-slave on your last example). They can’t be nested.

Unset the master-port for ether3 and ether5 first.

So by default are all the ports bonded to ether1?

A CRS without wireless defaults to all ports in one switch group.
Not bonded. Bonding is a different thing, done from the switch menu.