Site to Site tunnel

I am trying to follow a recomended article to setup a site to site tunnel between a RB4011 and a Sonicwall Router.. Things are working fine except when I get to the command to add a peer followed by the dh-mod and etc. I get the following error.

[admin@MikroTik] /ip ipsec peer> add address=x.x.x.x/32 dh-group=modp1024 dpd-interval=disable-dpd enc-algorithm=3des exchange-mode=ike2 myid=fqdn:routerboard.domain.net secret=xxxxxxxxxxxxxxxxx
expected end of command (line 1 column 30)
[admin@MikroTik] /ip ipsec peer>

I have found other examples that give the same format, maybe differen actions after the “add address” command, but with any of them I get the same error. It appears that the RB is expecting the command to ene with the address and subnet (x.x.x.x/32)

I tried the following from another example and I get the same error. It appears to be expecting the end of the command after the IP address.
/ip ipsec peer
add address=184.105.XXX.XXX/32 enc-algorithm=3des generate-policy=port-strict lifetime=8h secret=XXXXXXXXX

I am running RouterOS v6.47.2

Any help is appreciated

It looks like outdated config, some options were split some time ago.

https://wiki.mikrotik.com/wiki/Manual:IP/IPsec