1SNMP::Info::Layer3::SonUisceWrALCLo(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::SonicWALL(3)
2
3
4
6 SNMP::Info::Layer3::SonicWALL - SNMP Interface to L3 SonicWALL Firewall
7
9 phishphreek@gmail.com
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $router = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myrouter',
17 Community => 'public',
18 Version => 1
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $router->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 Subclass for Generic SonicWALL Firewalls
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
37 These are methods that return scalar value from SNMP
38
39 Overrides
40 $router->vendor()
41 Returns 'SonicWALL'
42
43 $router->os()
44 Returns 'SonicOS'
45
46 $router->os_ver()
47 Returns '4.2.0.0-10e'
48
49 $router->model()
50 Returns 'PRO 3060 Enhanced'
51
52 $router->serial()
53 Returns the MAC address of the first X0/LAN interface.
54
55 Globals imported from SNMP::Info::Layer3
56 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
57
59 These are methods that return tables of information in the form of a
60 reference to a hash.
61
62 Overrides
63 Table Methods imported from SNMP::Info::Layer3
64 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
65
66
67
68perl v5.28.0 2018-11-29 SNMP::Info::Layer3::SonicWALL(3)