1SNMP::Info::Layer3::ForUcsee1r0(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::Force10(3)
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 SNMP::Info::LLDP
33
34 Required MIBs
35 F10-PRODUCTS-MIB
36 Inherited Classes' MIBs
37 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
38 requirements.
39
40 See "Required MIBs" in SNMP::Info::MAU for its own MIB
41 requirements.
42
43 See "Required MIBs" in SNMP::Info::LLDP for its own MIB
44 requirements.
45
47 These are methods that return scalar values from SNMP:
48
49 $force10->vendor()
50 Returns 'force10'
51
52 $force10->model()
53 Tries to reference $force10->id() to the Force10 product MIB listed
54 above.
55
56 $force10->os()
57 Returns 'ftos'.
58
59 $force10->os_ver()
60 Grabs the operating system version from "sysDescr"
61
62 Global Methods imported from SNMP::Info::Layer3
63 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
64
65 Global Methods imported from SNMP::Info::MAU
66 See documentation in "GLOBALS" in SNMP::Info::MAU for details.
67
68 Global Methods imported from SNMP::Info::Layer3
69 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
70
72 These are methods that return tables of information in the form of a
73 reference to a hash.
74
75 $force10->v_name()
76 Returns the VLAN names.
77
78 $force10->i_vlan()
79 Currently not implemented.
80
81 $force10->i_duplex_admin()
82 Returns info from MAU-MIB
83
84 $force10->i_speed_admin()
85 Returns info from MAU-MIB
86
87 Table Methods imported from SNMP::Info::Layer3
88 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
89
90 Table Methods imported from SNMP::Info::MAU
91 See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
92
93 Table Methods imported from SNMP::Info::LLDP
94 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
95
96
97
98perl v5.28.1 2019-04-04 SNMP::Info::Layer3::Force10(3)