1SNMP::Info::Layer3::ERXU(s3e)r Contributed Perl DocumentaStNiMoPn::Info::Layer3::ERX(3)
2
3
4
6 SNMP::Info::Layer3::ERX - SNMP Interface to ERX Layer 3 routers.
7
9 Rob Woodward
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $ERX = 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 = $ERX->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for Juniper ERX switches
27
28 Inherited Classes
29 SNMP::Info::Layer3
30
31 Required MIBs
32 Inherited Classes' MIBs
33 See SNMP::Info::Layer3 for its own MIB requirements.
34
36 These are methods that return scalar value from SNMP
37
38 $ERX->vendor()
39 Returns 'Juniper'.
40
41 $ERX->os()
42 Returns 'JunOSe'.
43
44 $ERX->os_ver()
45 Returns the software version extracted from "sysDescr".
46
47 $ERX->model()
48 Returns the hardware model extracted from "sysDescr".
49
50 Globals imported from SNMP::Info::Layer3
51 See documentation in SNMP::Info::Layer3 for details.
52
54 These are methods that return tables of information in the form of a
55 reference to a hash.
56
57 Overrides
58 $ERX->i_ignore()
59 Returns reference to hash. Increments value of IID if port is to be
60 ignored.
61
62 Ignores InLoopback and Console interfaces
63
64 Table Methods imported from SNMP::Info::Layer3
65 See documentation in SNMP::Info::Layer3 for details.
66
67
68
69perl v5.28.0 2018-11-29 SNMP::Info::Layer3::ERX(3)