1SNMP::Info::Layer3::TasUmsaenr(3C)ontributed Perl DocumeSnNtMaPt:i:oInnfo::Layer3::Tasman(3)
2
3
4
6 SNMP::Info::Layer3::Tasman - SNMP Interface to Avaya Secure Routers
7
9 Eric Miller
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $tasman = 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 = $tasman->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for Avaya Secure Routers
28
29 Inherited Classes
30 SNMP::Info::Layer3
31 SNMP::Info::MAU
32
33 Required MIBs
34 NT-ENTERPRISE-DATA-MIB
35 SYSTEM-MIB
36 CHASSIS-MIB
37 ENVIRONMENT-MIB
38 Inherited Classes' MIBs
39 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
40 requirements.
41
42 See "Required MIBs" in SNMP::Info::MAU for its own MIB
43 requirements.
44
46 These are methods that return scalar values from SNMP
47
48 $tasman->vendor()
49 Returns 'avaya'
50
51 $tasman->model()
52 Tries to get the model from "nnchassisModel" and if not available
53 cross references $tasman->id() to NT-ENTERPRISE-DATA-MIB.
54
55 Substitutes 'SR' for 'ntSecureRouter' in the name for readability.
56
57 $tasman->os()
58 Returns 'tasman'
59
60 $tasman->os_ver()
61 Grabs the os version from "nnsysVersion"
62
63 $tasman->ps1_type()
64 ("nnenvPwrsupType.1")
65
66 $tasman->ps1_status()
67 ("nnenvPwrsupStatus.1")
68
69 $tasman->ps2_type()
70 ("nnenvPwrsupType.2")
71
72 $tasman->ps2_status()
73 ("nnenvPwrsupStatus.2")
74
75 $tasman->nn_sys_ver()
76 ("nnsysVersion.0")
77
78 $tasman->nn_ch_model()
79 ("nnchassisModel.0")
80
81 $tasman->nn_ch_op_stat()
82 ("nnchassisOperStatus.0")
83
84 $tasman->nn_ch_serial()
85 ("nnchassisSerialNumber.0")
86
87 $tasman->serial()
88 Tries both ("nnchassisOperStatus") and ("nnchassisSerialNumber") as
89 oid was redefined between versions.
90
91 Global Methods imported from SNMP::Info::Layer3
92 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
93
94 Global Methods imported from SNMP::Info::MAU
95 See documentation in "GLOBALS" in SNMP::Info::MAU for details.
96
98 These are methods that return tables of information in the form of a
99 reference to a hash.
100
101 $tasman->i_duplex_admin()
102 Returns reference to hash of iid to administrative duplex setting.
103
104 First checks for fixed gigabit ports which are always full duplex.
105 Next checks the port administrative speed ("portAdminSpeed") which
106 if set to autonegotiate then the duplex will also autonegotiate,
107 otherwise it uses the reported port duplex ("portDuplex").
108
109 $tasman->i_speed_admin()
110 Returns reference to hash of iid to administrative speed setting.
111
112 "portAdminSpeed"
113
114 Pseudo ENTITY-MIB information
115 These methods emulate ENTITY-MIB Physical Table methods using CHASSIS-
116 MIB.
117
118 $tasman->e_index()
119 Returns reference to hash. Key: IID, Value: Integer.
120
121 $tasman->e_class()
122 Returns reference to hash. Key: IID, Value: General hardware type.
123
124 $tasman->e_descr()
125 Returns reference to hash. Key: IID, Value: Human friendly name
126
127 $tasman->e_vendor()
128 Returns reference to hash. Key: IID, Value: avaya
129
130 $tasman->e_serial()
131 Returns reference to hash. Key: IID, Value: Serial number
132
133 $tasman->e_pos()
134 Returns reference to hash. Key: IID, Value: The relative position
135 among all entities sharing the same parent.
136
137 $tasman->e_type()
138 Returns reference to hash. Key: IID, Value: Type of
139 component/sub-component.
140
141 $tasman->e_parent()
142 Returns reference to hash. Key: IID, Value: The value of e_index()
143 for the entity which 'contains' this entity. A value of zero
144 indicates this entity is not contained in any other entity.
145
146 $entity->e_fru()
147 BOOLEAN. Is a Field Replaceable unit?
148
149 Table Methods imported from SNMP::Info::Layer3
150 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
151
152 Table Methods imported from SNMP::Info::MAU
153 See documentation in "TABLE METHODS" in SNMP::Info::MAU for details.
154
155
156
157perl v5.32.1 2021-01-27 SNMP::Info::Layer3::Tasman(3)