1SNMP::Info::Layer3::MicUrsoesrofCto(n3t)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::Microsoft(3)
2
3
4
6 SNMP::Info::Layer3::Microsoft - SNMP Interface to L3 Microsoft Windows
7 routers
8
10 begemot
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $router = 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 = $router->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Generic Microsoft Routers running Microsoft Windows OS
28
29 Inherited Classes
30 SNMP::Info::Layer3
31
32 Required MIBs
33 Inherited Classes' MIBs
34 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
35 requirements.
36
38 These are methods that return scalar value from SNMP
39
40 Overrides
41 $router->vendor()
42 Returns 'microsoft'
43
44 $router->os()
45 Returns 'windows'
46
47 $router->os_ver()
48 Returns ''
49
50 $router->model()
51 Returns 'Windows Router'
52
53 $router->serial()
54 Returns ''
55
56 Globals imported from SNMP::Info::Layer3
57 See documentation in "GLOBALS" 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 $router->interfaces()
65 Map the Interfaces to their physical names. Adds interface number
66 to interface name because identical interface cards return
67 identical "ifDescr".
68
69 Table Methods imported from SNMP::Info::Layer3
70 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
71
72
73
74perl v5.34.0 2022-01-21 SNMP::Info::Layer3::Microsoft(3)