1Info::Layer3::N1600(3)User Contributed Perl DocumentationInfo::Layer3::N1600(3)
2
3
4
6 SNMP::Info::Layer3::N1600 - SNMP Interface to Nortel 16XX Network
7 Devices
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $n1600 = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 1
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $n1600->class();
24
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Provides abstraction to the configuration information obtainable from a
29 Nortel N16XX device through SNMP.
30
31 For speed or debugging purposes you can call the subclass directly, but
32 not after determining a more specific class using the method above.
33
34 my $n1600 = new SNMP::Info::Layer3::N1600(...);
35
36 Inherited Classes
37 SNMP::Info::Layer3
38 SNMP::Info::SONMP
39
40 Required MIBs
41 SWL2MGMT-MIB
42 RAPID-CITY
43 Inherited Classes' MIBs
44 See classes listed above for their required MIBs.
45
47 These are methods that return scalar value from SNMP
48
49 $n1600->bulkwalk_no
50 Return 1. Bulkwalk is currently turned off for this class.
51
52 $n1600->model()
53 Returns model type. Checks $n1600->id() against the RAPID-CITY-MIB
54 and then parses out "rcA".
55
56 $n1600->vendor()
57 Returns 'nortel'
58
59 $n1600->os()
60 Returns 'passport'
61
62 $n1600->os_ver()
63 Returns os version extracted from "sysDescr".
64
65 Overrides
66 $n1600->index_factor()
67 Required by SNMP::Info::SONMP. Number representing the number of
68 ports reserved per slot within the device MIB.
69
70 Returns 64 since largest switch has 48 ports. Since these switches
71 can not stack, the only requirement to reserve more than the max
72 number of ports.
73
74 Globals imported from SNMP::Info::Layer3
75 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
76
77 Globals imported from SNMP::Info::SONMP
78 See documentation in SNMP::SONMP::Layer3 for details.
79
81 These are methods that return tables of information in the form of a
82 reference to a hash.
83
84 Overrides
85 $n1600->interfaces()
86 Returns reference to hash of interface names to iids.
87
88 Places a 1 in front of index number. This is required for
89 compatibility with SNMP::Info::SONMP.
90
91 $n1600->i_duplex()
92 Returns reference to hash of interface operational link duplex
93 status.
94
95 $n1600->i_duplex_admin()
96 Returns reference to hash of interface administrative link duplex
97 status.
98
99 Table Methods imported from SNMP::Info::Layer3
100 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
101
102 Table Methods imported from SNMP::Info::SONMP
103 See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
104
105
106
107perl v5.12.0 2009-06-12 Info::Layer3::N1600(3)