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 Inherited Classes
31 SNMP::Info::Layer3
32
33 Required MIBs
34 ALTEON-ROOT-MIB
35 ALTEON-TIGON-SWITCH-MIB
36 ALTEON-TS-PHYSICAL-MIB
37 ALTEON-TS-NETWORK-MIB
38 ALTEON-CS-PHYSICAL-MIB
39 ALTEON-CHEETAH-SWITCH-MIB
40 ALTEON-CHEETAH-NETWORK-MIB
41 Inherited Classes' MIBs
42 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
43 requirements.
44
46 These are methods that return scalar value from SNMP
47
48 $alteon->model()
49 Returns model type. Checks $alteon->id() against the ALTEON-ROOT-
50 MIB and then parses out "aceswitch", "aws", and "ods" replaces
51 "acedirector" with AD, and replaces copperModule/fiberModule with
52 BladeCenter GbESM.
53
54 $alteon->vendor()
55 Returns 'radware'
56
57 $alteon->os()
58 Returns 'alteon'
59
60 $alteon->os_ver()
61 Returns the software version reported by "agSoftwareVersion"
62
63 $alteon->tftp_action()
64 ("agTftpAction")
65
66 $alteon->tftp_host()
67 ("agTftpServer")
68
69 $alteon->tftp_file()
70 ("agTftpCfgFileName")
71
72 $alteon->tftp_result()
73 ("agTftpLastActionStatus")
74
75 $alteon->fan()
76 ("hwFanStatus")
77
78 $alteon->ps1_status()
79 Returns status of primary power supply
80
81 $alteon->ps2_status()
82 Returns status of redundant power supply
83
84 Globals imported from SNMP::Info::Layer3
85 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
86
88 These are methods that return tables of information in the form of a
89 reference to a hash.
90
91 Overrides
92 $alteon->interfaces()
93 Returns reference to the map between IID and physical port.
94
95 Utilizes description for network interfaces. Ports are determined
96 by formula ("ifIndex mod 256").
97
98 $alteon->i_duplex()
99 Returns reference to hash. Maps port operational duplexes to IIDs.
100
101 $alteon->i_duplex_admin()
102 Returns reference to hash. Maps port admin duplexes to IIDs.
103
104 $alteon->i_vlan()
105 Returns a mapping between "ifIndex" and the PVID or default VLAN.
106
107 $alteon->i_vlan_membership()
108 Returns reference to hash of arrays: key = "ifIndex", value = array
109 of VLAN IDs. These are the VLANs which are members of the egress
110 list for the port.
111
112 Example:
113 my $interfaces = $alteon->interfaces();
114 my $vlans = $alteon->i_vlan_membership();
115
116 foreach my $iid (sort keys %$interfaces) {
117 my $port = $interfaces->{$iid};
118 my $vlan = join(',', sort(@{$vlans->{$iid}}));
119 print "Port: $port VLAN: $vlan\n";
120 }
121
122 $alteon->i_vlan_membership_untagged()
123 Returns reference to hash of arrays: key = "ifIndex", value = array
124 of VLAN IDs. These are the VLANs which are members of the untagged
125 egress list for the port.
126
127 $alteon->v_index()
128 Returns VLAN IDs
129
130 $alteon->v_name()
131 Human-entered name for vlans.
132
133 $alteon->i_name()
134 Maps ("agPortCurCfgPortName") to port and returns the human set
135 port name if exists.
136
137 $alteon->bp_index()
138 Returns a mapping between "ifIndex" and the Bridge Table.
139
140 Table Methods imported from SNMP::Info::Layer3
141 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
142
143
144
145perl v5.32.0 2020-07-28 SNMP::Info::Layer3::AlteonAD(3)