load merge terminal

The purpose is to copy set commands from one device and paste them on another one to reduce manual configuration time.

I created a BGP group named dcoverlay-IBGP on device A. I tried to copy/merge it on device B. Deice B threw an error:

root@spine2# load merge terminal 
[Type ^D at a new line to end input]
set protocols bgp group dcoverlay-IBGP type internal

terminal:1:(3) syntax error: set
  [edit]
    'set protocols bgp group dcoverlay-IBGP type internal'
      syntax error
 
^C[abort]

I verified that the command was syntaxically correct by entering it manually: