Hi,
The first command will be accepted, the second will be reported as duplicate.
You can try using address-group:
set address trust server1 10.1.1.1 255.255.255.255
set address trust server2 10.1.1.2 255.255.255.255
set group address trust server-group
set group address trust server-group add server1
set group address trust server-group add server2
Hope this helps.
Regards.
Hardeep
If this update is helpful, you may mark it as accepted solution for others to benefit from it.