...
set protocol bgp [l2vpn] evpn vni <1-16777215> rd <rd>
If you want route target (RT) to be configured manually instead of being auto-configured, run the command below. The value of parameter route-target can have three values, export, import or both. If you choose both then the RT is used as both import and export route target.
set protocol bgp [l2vpn] evpn vni <1-16777215> route-target {both|export|import} <route-target>