Yes, I have tried the same manual configuration through "lab" user and it works fine.
On Wed, Apr 22, 2015 at 12:43 AM, Pallavi Mahajan <[email protected]> wrote: > Have you tried checking if the user ‘lab’ can invoke the ‘set interface’ > config knob from the CLI? > > Thanks, > Pallavi > > On 21/04/15 9:10 pm, "Chen Jiang" <[email protected]> wrote: > > >Hi! Experts > > > >I tried to use event-options to change the JUNOS configuration but there > >is > >some issue, are you experience the same issue and could shed some light on > >this. > > > >Thanks for your help! > > > >lab@r1# show event-options > >generate-event { > > Configure-Ot-Change time-of-day "21:44:00 +0800"; > >} > >policy cfg-change { > > events Configure-Ot-Change; > > then { > > change-configuration { > > retry count 3 interval 1; > > commands { > > "set interface ge-1/0/0 description test"; > > } > > user-name lab; > > commit-options { > > log "it works"; > > } > > } > > } > >} > > > >lab@r1# show system login > >user lab { > > class super-user; > > authentication { > > encrypted-password "$1$bCUr1ywM$IsPhjvdT88q/EGwtPD1UX1"; ## > >SECRET-DATA > > } > >} > > > >lab@r1# run show log messages | match "21:44" > >Apr 7 21:44:02 r1 eventd: EVENTD_CONFIG_CHANGE_FAILED: Configuration > >change failed: rpc to management daemon failed while executing policy > >cfg-change with user lab privileges > > > > > >-- > >BR! > > > > > > > > James Chen > >_______________________________________________ > >juniper-nsp mailing list [email protected] > >https://puck.nether.net/mailman/listinfo/juniper-nsp > > -- BR! James Chen _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

