Junos Automation (Scripting)
Junos Automation (Scripting)

commit script to turn on knob in vty

‎01-20-2011 09:07 PM

HI

 

Is it possible to turn on a knob in vty mode on junos shell ?

 

 

IF i have to check on a event and turn on a knob in vty fwdd # ?

 

 

Thx

Naresh

1 REPLY 1
Junos Automation (Scripting)

Re: commit script to turn on knob in vty

‎01-24-2011 05:31 AM

If you are trying to run a PFE command from within the script then you can use the <request-pfe-execute> rpc:

 

         var $rpc = {

             <request-pfe-execute> {

                 <target> "fwdd";

                 <command> "pfe command...";

             }

         }

 

However, running a shell command from within a script isn't supported.