1SNMP::Info::Layer3::ERXU(s3eprm)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::ERX(3pm)
2
3
4
6 SNMP::Info::Layer3::ERX - SNMP Interface to Juniper ERX Layer 3
7 routers.
8
10 Rob Woodward
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $ERX = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myrouter',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $ERX->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Juniper ERX switches
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 Inherited Classes' MIBs
34 See SNMP::Info::Layer3 for its own MIB requirements.
35
37 These are methods that return scalar value from SNMP
38
39 $ERX->vendor()
40 Returns 'juniper'.
41
42 $ERX->os()
43 Returns 'JunOSe'.
44
45 $ERX->os_ver()
46 Returns the software version extracted from "sysDescr".
47
48 $ERX->model()
49 Returns the hardware model extracted from "sysDescr".
50
51 Globals imported from SNMP::Info::Layer3
52 See documentation in SNMP::Info::Layer3 for details.
53
55 These are methods that return tables of information in the form of a
56 reference to a hash.
57
58 Overrides
59 $ERX->i_ignore()
60 Returns reference to hash. Increments value of IID if port is to be
61 ignored.
62
63 Ignores InLoopback and Console interfaces
64
65 Table Methods imported from SNMP::Info::Layer3
66 See documentation in SNMP::Info::Layer3 for details.
67
68
69
70perl v5.38.0 2023-09-04 SNMP::Info::Layer3::ERX(3pm)