1SNMP::Info::Layer3::AltUesoenrADC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::AlteonAD(3)
2
3
4
6 SNMP::Info::Layer3::AlteonAD - SNMP Interface to Radware Alteon ADC
7 Switches.
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $alteon = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $alteon->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Abstraction subclass for Radware Alteon Series ADC switches and Nortel
28 BladeCenter Layer2-3 GbE Switch Modules.
29
30 For speed or debugging purposes you can call the subclass directly, but
31 not after determining a more specific class using the method above.
32
33 my $alteon = new SNMP::Info::Layer3::AlteonAD(...);
34
35 Inherited Classes
36 SNMP::Info::Layer3
37
38 Required MIBs
39 ALTEON-ROOT-MIB
40 ALTEON-TIGON-SWITCH-MIB
41 ALTEON-TS-PHYSICAL-MIB
42 ALTEON-TS-NETWORK-MIB
43 ALTEON-CS-PHYSICAL-MIB
44 ALTEON-CHEETAH-SWITCH-MIB
45 ALTEON-CHEETAH-NETWORK-MIB
46 Inherited Classes' MIBs
47 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
48 requirements.
49
51 These are methods that return scalar value from SNMP
52
53 $alteon->model()
54 Returns model type. Checks $alteon->id() against the ALTEON-ROOT-
55 MIB and then parses out "aceswitch", "aws", and "ods" replaces
56 "acedirector" with AD, and replaces copperModule/fiberModule with
57 BladeCenter GbESM.
58
59 $alteon->vendor()
60 Returns 'radware'
61
62 $alteon->os()
63 Returns 'alteon'
64
65 $alteon->os_ver()
66 Returns the software version reported by "agSoftwareVersion"
67
68 $alteon->tftp_action()
69 ("agTftpAction")
70
71 $alteon->tftp_host()
72 ("agTftpServer")
73
74 $alteon->tftp_file()
75 ("agTftpCfgFileName")
76
77 $alteon->tftp_result()
78 ("agTftpLastActionStatus")
79
80 $alteon->fan()
81 ("hwFanStatus")
82
83 $alteon->ps1_status()
84 Returns status of primary power supply
85
86 $alteon->ps2_status()
87 Returns status of redundant power supply
88
89 Globals imported from SNMP::Info::Layer3
90 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
91
93 These are methods that return tables of information in the form of a
94 reference to a hash.
95
96 Overrides
97 $alteon->interfaces()
98 Returns reference to the map between IID and physical port.
99
100 Utilizes description for network interfaces. Ports are determined
101 by formula ("ifIndex mod 256").
102
103 $alteon->i_duplex()
104 Returns reference to hash. Maps port operational duplexes to IIDs.
105
106 $alteon->i_duplex_admin()
107 Returns reference to hash. Maps port admin duplexes to IIDs.
108
109 $alteon->i_vlan()
110 Returns a mapping between "ifIndex" and the PVID or default VLAN.
111
112 $alteon->i_vlan_membership()
113 Returns reference to hash of arrays: key = "ifIndex", value = array
114 of VLAN IDs. These are the VLANs which are members of the egress
115 list for the port.
116
117 Example:
118 my $interfaces = $alteon->interfaces();
119 my $vlans = $alteon->i_vlan_membership();
120
121 foreach my $iid (sort keys %$interfaces) {
122 my $port = $interfaces->{$iid};
123 my $vlan = join(',', sort(@{$vlans->{$iid}}));
124 print "Port: $port VLAN: $vlan\n";
125 }
126
127 $alteon->i_vlan_membership_untagged()
128 Returns reference to hash of arrays: key = "ifIndex", value = array
129 of VLAN IDs. These are the VLANs which are members of the untagged
130 egress list for the port.
131
132 $alteon->v_index()
133 Returns VLAN IDs
134
135 $alteon->v_name()
136 Human-entered name for vlans.
137
138 $alteon->i_name()
139 Maps ("agPortCurCfgPortName") to port and returns the human set
140 port name if exists.
141
142 $alteon->bp_index()
143 Returns a mapping between "ifIndex" and the Bridge Table.
144
145 Table Methods imported from SNMP::Info::Layer3
146 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
147
148
149
150perl v5.28.0 2018-11-29 SNMP::Info::Layer3::AlteonAD(3)