You can copy a Replication Agent configuration with ra_admin.
ra_admin -c new_inst -p port_num -f old_inst
new_inst is the name of the new Replication Agent instance you are creating.
port_num is the client socket port number for the administration port of the new Replication Agent instance. Make sure that a second port, port_num+1, is available for the RASD.
old_inst is the name of an existing Replication Agent instance whose configuration you want to duplicate for the new Replication Agent instance.