On Sun, 2015-05-17 at 12:56 +0300, Mohammad Khalil wrote: > I have tried to build a script that will view multiple outputs , but > it did not work for me > > R1#sh run | sec event manager > event manager applet MULTIPLE > event none sync yes > action 1.0 cli command "show interfaces fastEthernet 1/0 | inc broadcasts" > action 1.1 cli command "show processes cpu sorted | inc CPU" > action 1.2 set PAR1 "$_cli_result" > action 1.3 set PAR2 "$_cli_result" > action 1.4 puts "$PAR1 $PAR2"
My guess is you need to swap action 1.1 and 1.2. Otherwise $_cli_result will just hold the last CLI output. -- Peter _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
