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

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

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.

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.

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 !ihRead the distribution documentation for information on the command data format.