The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Router::LG::Juniper - Looking Glass driver for Juniper routers

SYNOPSIS

 use Router::LG;
 $glass=Router::LG->new();
 $router={
  -hostname => "core.router.isp.node",
  -class => "Juniper",
  -args => {
    -sshCommand => "/opt/ssh/bin/ssh",
  },
 };
 $glass->router($router);

DESCRIPTION

The Router::LG::Juniper class is a driver class for LG.pm specific to Juniper Routers. Implementors of LG.pm should not need to call methods on this class directly, as the Router::LG module can be used as the primary interface.

REMOTE ACCESS METHODS

Router::LG::Juniper uses the SSH protocol to access the remote router. Currently, this can only be achieved by making a call to the "ssh" client command. It assumes that the full path is "/usr/local/bin/ssh", but this can be altered by specifying the -sshCommand arguement. Don't let end users specify the values that can be set for this arguement.

COMMANDS

The following commands are defined by default:

     bgp            show route protocol bgp aspath-regex !a terse
     routes         show route !i terse
     traceroute     traceroute !ih
     ping           ping count 3 !ih

    Read the distribution documentation for information on the command data format.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 281:

=over without closing =back