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 => 2
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 SONICWALL-SMI
33 SNWL-COMMON-MIB
34 Inherited Classes' MIBs
35 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
36 requirements.
37
39 These are methods that return scalar value from SNMP
40
41 Overrides
42 $router->vendor()
43 Returns 'sonicwall'
44
45 $router->os()
46 Returns 'sonicos enhanded' or 'sonicos standard' based on
47 'snwlSysFirmwareVersion'
48
49 $router->os_ver()
50 Returns 'snwlSysFirmwareVersion'
51
52 $router->model()
53 Returns 'snwlSysModel'
54
55 $router->serial()
56 Returns the MAC address of the first X0/LAN interface.
57
58 Globals imported from SNMP::Info::Layer3
59 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
60
62 These are methods that return tables of information in the form of a
63 reference to a hash.
64
65 Table Methods imported from SNMP::Info::Layer3
66 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
67
68
69
70perl v5.32.0 2020-07-28 SNMP::Info::Layer3::SonicWALL(3)