1SNMP::Info::Layer3::N16U0s0e(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::N1600(3)
2
3
4
6 SNMP::Info::Layer3::N1600 - SNMP Interface to Avaya/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
29 an Avaya/Nortel N16XX device through SNMP.
30
31 Inherited Classes
32 SNMP::Info::Layer3
33 SNMP::Info::SONMP
34
35 Required MIBs
36 SWL2MGMT-MIB
37 RAPID-CITY
38 Inherited Classes' MIBs
39 See classes listed above for their required MIBs.
40
42 These are methods that return scalar value from SNMP
43
44 $n1600->bulkwalk_no
45 Return 1. Bulkwalk is currently turned off for this class.
46
47 $n1600->model()
48 Returns model type. Checks $n1600->id() against the RAPID-CITY-MIB
49 and then parses out "rcA".
50
51 $n1600->vendor()
52 Returns 'avaya'
53
54 $n1600->os()
55 Returns 'passport'
56
57 $n1600->os_ver()
58 Returns os version extracted from "sysDescr".
59
60 Overrides
61 $n1600->index_factor()
62 Required by SNMP::Info::SONMP. Number representing the number of
63 ports reserved per slot within the device MIB.
64
65 Returns 64 since largest switch has 48 ports. Since these switches
66 can not stack, the only requirement to reserve more than the max
67 number of ports.
68
69 Globals imported from SNMP::Info::Layer3
70 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
71
72 Globals imported from SNMP::Info::SONMP
73 See documentation in SNMP::SONMP::Layer3 for details.
74
76 These are methods that return tables of information in the form of a
77 reference to a hash.
78
79 Overrides
80 $n1600->interfaces()
81 Returns reference to hash of interface names to iids.
82
83 Places a 1 in front of index number. This is required for
84 compatibility with SNMP::Info::SONMP.
85
86 $n1600->i_duplex()
87 Returns reference to hash of interface operational link duplex
88 status.
89
90 $n1600->i_duplex_admin()
91 Returns reference to hash of interface administrative link duplex
92 status.
93
94 Table Methods imported from SNMP::Info::Layer3
95 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
96
97 Table Methods imported from SNMP::Info::SONMP
98 See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
99
100
101
102perl v5.30.1 2020-01-30 SNMP::Info::Layer3::N1600(3)