I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-10-18 23:20:59-07 by oliver in response to 9018
Re: Juniper Phrase Book
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.
Direct Responses: 9224 | 9434 | Write a response