1Info::Layer3::Juniper(3U)ser Contributed Perl DocumentatiIonnfo::Layer3::Juniper(3)
2
3
4

NAME

6       SNMP::Info::Layer3::Juniper - SNMP Interface to L3 Juniper Devices
7

AUTHOR

9       Bill Fenner
10

SYNOPSIS

12        # Let SNMP::Info determine the correct subclass for you.
13        my $juniper = new SNMP::Info(
14                                 AutoSpecify => 1,
15                                 Debug       => 1,
16                                 DestHost    => 'myrouter',
17                                 Community   => 'public',
18                                 Version     => 2
19                               )
20           or die "Can't connect to DestHost.\n";
21
22        my $class      = $juniper->class();
23        print "SNMP::Info determined this device to fall under subclass : $class\n";
24

DESCRIPTION

26       Subclass for Generic Juniper Routers running JUNOS
27
28   Inherited Classes
29       SNMP::Info::Layer3
30
31   Required MIBs
32       Inherited Classes' MIBs
33           See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
34           requirements.
35

GLOBALS

37       These are methods that return scalar value from SNMP
38
39       $juniper->vendor()
40           Returns 'juniper'
41
42       $juniper->os()
43           Returns 'junos'
44
45       $juniper->os_ver()
46           Returns the software version extracted from "sysDescr".
47
48       $juniper->model()
49           Returns the model from "sysObjectID", with "jnxProductNameremoved"
50           from the beginning.
51
52       $juniper->serial()
53           Returns serial number
54
55           ("jnxBoxSerialNo.0")
56
57   Globals imported from SNMP::Info::Layer3
58       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
59

TABLE METHODS

61       These are methods that return tables of information in the form of a
62       reference to a hash.
63
64       $juniper->i_vlan()
65           Returns the list of interfaces whose "ifType" is l2vlan(135), and
66           the VLAN ID extracted from the interface description.
67
68   Table Methods imported from SNMP::Info::Layer3
69       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
70
71
72
73perl v5.12.0                      2009-06-12          Info::Layer3::Juniper(3)
Impressum