1SNMP::Info::Layer3::PacUkseetrFrCoonntt(r3i)buted Perl DSoNcMuPm:e:nItnaftoi:o:nLayer3::PacketFront(3)
2
3
4
6 SNMP::Info::Layer3::PacketFront - SNMP Interface to PacketFront devices
7
9 Jeroen van Ingen initial version based on SNMP::Info::Layer3::NetSNMP
10 by Bradley Baetz and Bill Fenner
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $pfront = 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 = $pfront->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for PacketFront devices
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 UCD-SNMP-MIB
34 NET-SNMP-TC
35 HOST-RESOURCES-MIB
36 PACKETFRONT-PRODUCTS-MIB
37 PACKETFRONT-DRG-MIB
38 Inherited Classes' MIBs
39 See SNMP::Info::Layer3 for its own MIB requirements.
40
42 These are methods that return scalar value from SNMP
43
44 $pfront->vendor()
45 Returns 'packetfront'.
46
47 $pfront->os()
48 Returns the OS extracted from "sysDescr".
49
50 $pfront->os_ver()
51 Returns the software version extracted from "sysDescr".
52
53 $pfront->serial()
54 Returns the value of "productSerialNo".
55
56 Globals imported from SNMP::Info::Layer3
57 See documentation in SNMP::Info::Layer3 for details.
58
60 These are methods that return tables of information in the form of a
61 reference to a hash.
62
63 Overrides
64 $pfront->i_ignore()
65 Returns reference to hash. Increments value of IID if port is to
66 be ignored.
67
68 Ignores loopback
69
70 $pfront->layers()
71 L2 capability isn't always reported correctly by the device itself;
72 what the device reports is augmented with L2 capability if the
73 device has bridge ports.
74
75 Table Methods imported from SNMP::Info::Layer3
76 See documentation in SNMP::Info::Layer3 for details.
77
78
79
80perl v5.32.0 2020-07-28SNMP::Info::Layer3::PacketFront(3)