Hi Dong bei I don't think it's possible to do what you want since the display set is showing "set" commands and the annotations are "annotate" commands.
The only way , so , to copy annotations is to copy/paste the regular format of config with a "load merge" or a "load override" command. This is the normal way it has to be done (ie): [EMAIL PROTECTED] load merge terminal [Type ^D at a new line to end input] /* Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides...Where the ship resides... */ snmp { community public; } load complete [edit] [EMAIL PROTECTED] Furthermore, if you want to add several lines to your comment you can do it the same way via copy/paste and try for example to "load merge terminal" this [EMAIL PROTECTED] load merge terminal [Type ^D at a new line to end input] /* Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... Where the ship resides... */ snmp { community public; } load complete Hope this helps you Regards Alain wang dong bei a écrit : >Hi, >When I do a show, the annotation is displayed. However, if I pipe the output >to display set, they disappeared: > >[EMAIL PROTECTED]> show configuration snmp >/* Where the ship resides... */ >location Zion; > >[EMAIL PROTECTED]> show configuration snmp | display set >set snmp location Zion > >[EMAIL PROTECTED]> > >How can I retain them in the display set format? Other than that, i >sometimes need to drop down very lengthy annotations. Are there anyways for >me to input an annotation in multiple lines - just like using '\' to span my >command in bash? > >thanks and regards, > >dong bei >_______________________________________________ >juniper-nsp mailing list juniper-nsp@puck.nether.net >https://puck.nether.net/mailman/listinfo/juniper-nsp > > > > _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp