|
Hi Kevin,
I have uploaded a new version (1.5) of Net::Appliance::Phrasebook to CPAN with a prototype JUNOS command set included.
Some things you will need to do to use it properly:
1. Probably disable paging using $s->do_paging(0) before connect. Otherwise, please send me the command used to enable/disable paging on JUNOS (Google failed me!)
2. Set $s->in_privileged_mode(1) immediately after connecting. From what I understand JUNOS does not have Cisco-style unprivileged and privileged modes.
3. Commit your config before disconnecting using $s->cmd(commit) You can just call exit and then answer the [yes/no] commit question, but it's fiddly, so I don't recommend it.
Please let me know how you get on. If there are errors and you want to send a command output to me privately instead of posting here, use my email address which is at the bottom of the module's manual page.
regards,
oliver.
|