IPDevice::JuniperRouter
use IPDevice::JuniperRouter; my $router = new IPDevice::JuniperRouter; $router->set_hostname('hostname'); my $card = $router->add_card('0'); $card->add_module('0/1');
This module provides routines for storing informations regarding a Juniper router.
This module provides, in addition to all methods from IPDevice::RouterBase, the following methods.
Object constructor. Valid arguments:
hostname: The initial router hostname.
Returns the IPDevice::RouterBase::Interface with the given name. Valid names have the format 'so-1/2/3', 'lo0', 'lo0.0', 'fe-0/1/2.1', or just '1/2/3'. If the interface does not yet exist, it will be created.
Copyright (c) 2004 Samuel Abels. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Samuel Abels <spam debain org>
To install IPDevice::IPv4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPDevice::IPv4
CPAN shell
perl -MCPAN -e shell install IPDevice::IPv4
For more information on module installation, please visit the detailed CPAN module installation guide.