[c-nsp] EEM Multiple Outputs

Peter Rathlev peter at rathlev.dk
Mon May 18 03:41:57 EDT 2015


On Mon, 2015-05-18 at 10:32 +0300, Mohammad Khalil wrote:
> Thanks very much , how can I make some space between the outputs?

The "puts" action accepts "\n", if by space you mean empty lines:

event manager applet TEST-APPLET 
 event none sync yes
 action 1.0 cli command "show interfaces Gi1/1 | incl packets"
 action 1.1 set PAR1 "$_cli_result"
 action 2.0 cli command "show clock"
 action 2.1 set PAR2 "$_cli_result"
 action 3.0 puts "$PAR1"
 action 3.1 puts "\n"
 action 3.2 puts "$PAR2"
!

-- 
Peter





More information about the cisco-nsp mailing list