Re: [j-nsp] How to retain annotations in | display set

2008-01-17 Thread Stacy W. Smith
Alternatively, you can use "\n" in the annotate command to create line breaks. [edit snmp] [EMAIL PROTECTED] annotate community public "Where\nthe\nship\nresides..." [edit snmp] [EMAIL PROTECTED] show /* Where the ship resides... */ community public; --Stacy On 17 Jan 2008, at 1:56 AM, Alai

Re: [j-nsp] How to retain annotations in | display set

2008-01-17 Thread Alain Briant
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 i

[j-nsp] How to retain annotations in | display set

2008-01-16 Thread wang dong bei
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 PROT