1SNMP::Info::Layer3::ForUcsee1r0(C3opnmt)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::Force10(3pm)
2
3
4
6 SNMP::Info::Layer3::Force10 - SNMP Interface to Force10 Networks FTOS
7
9 William Bulley
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $force10 = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 # These arguments are passed directly to SNMP::Session
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $force10->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Force10 Networks FTOS-based devices.
28
29 Inherited Classes
30 SNMP::Info::Layer3
31 SNMP::Info::MAU
32
33 Required MIBs
34 F10-PRODUCTS-MIB
35 Inherited Classes' MIBs
36 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
37 requirements.
38
39 See "Required MIBs" in SNMP::Info::MAU for its own MIB
40 requirements.
41
43 These are methods that return scalar values from SNMP:
44
45 $force10->vendor()
46 Returns 'force10'
47
48 $force10->model()
49 Tries to reference $force10->id() to the Force10 product MIB listed
50 above.
51
52 $force10->os()
53 Returns 'ftos'.
54
55 $force10->os_ver()
56 Grabs the operating system version from "sysDescr"
57
58 Global Methods imported from SNMP::Info::Layer3
59 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
60
61 Global Methods imported from SNMP::Info::MAU
62 See documentation in "GLOBALS" in SNMP::Info::MAU for details.
63
65 These are methods that return tables of information in the form of a
66 reference to a hash.
67
68 $force10->v_name()
69 Returns the VLAN names.
70
71 $force10->i_vlan()
72 Currently not implemented.
73
74 $force10->i_duplex_admin()
75 Returns info from MAU-MIB
76
77 $force10->i_speed_admin()
78 Returns info from MAU-MIB
79
80 Table Methods imported from SNMP::Info::Layer3
81 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
82
83 Table Methods imported from SNMP::Info::MAU
84 See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
85
86
87
88perl v5.38.0 2023-09-04 SNMP::Info::Layer3::Force10(3pm)