1SNMP::Info::Layer3::AruUbsaeCrX(C3opnmt)ributed Perl DocSuNmMePn:t:aItnifoon::Layer3::ArubaCX(3pm)
2
3
4
6 SNMP::Info::Layer3::ArubaCX - SNMP Interface to L3 Devices running
7 ArubaOS-CX
8
10 Jeroen van Ingen
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $cx = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myrouter',
18 Community => 'public',
19 Version => 2
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $cx->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Subclass for devices running ArubaOS-CX
28
29 Inherited Classes
30 SNMP::Info::Layer3
31 SNMP::Info::IEEE802_Bridge
32 SNMP::Info::IEEE802dot3ad
33
34 Required MIBs
35 ARUBAWIRED-FAN-MIB
36 ARUBAWIRED-VSF-MIB
37 ARUBAWIRED-POE-MIB
38 ARUBAWIRED-POWERSUPPLY-MIB
39 Inherited Classes' MIBs
40 See SNMP::Info::Layer3 for its own MIB requirements.
41
42 See SNMP::Info::IEEE802_Bridge for its own MIB requirements.
43
44 See SNMP::Info::IEEE802dot3ad for its own MIB requirements.
45
47 These are methods that return scalar value from SNMP
48
49 $cx->stack_info()
50 If the device supports VSF stacking and is not in standalone mode,
51 returns a string describing the switch family and the number of
52 stack members. Example return value: '6300M (stack of 2)'. Will
53 return undef when VSF is not supported or when the device is VSF
54 standalone.
55
56 $cx->model()
57 Returns stack_info() if defined, otherwise will fall back to
58 returning the model from "entPhysicalModelName.1"; if that's also
59 not set, will use "sysObjectID" as a last resort, stripping
60 'arubaWiredSwitch' from the value.
61
62 $cx->vendor()
63 Returns (lowercased) value for "entPhysicalMfgName.1", or 'aruba'.
64
65 $cx->os()
66 Returns 'arubaos-cx'.
67
68 $cx->os_ver()
69 Returns the software version. Either "entPhysicalSoftwareRev.1" or
70 extracted from "sysDescr".
71
72 $cx->fan()
73 Returns a string with status information for all fans listed in
74 "ARUBAWIRED-FAN-MIB".
75
76 Globals imported from SNMP::Info::Layer3
77 See documentation in SNMP::Info::Layer3 for details.
78
79 Globals imported from SNMP::Info::IEEE802_Bridge
80 See documentation in SNMP::Info::IEEE802_Bridge for details.
81
82 Globals imported from SNMP::Info::IEEE802dot3ad
83 See documentation in SNMP::Info::IEEE802dot3ad for details.
84
86 These are methods that return tables of information in the form of a
87 reference to a hash.
88
89 $cx->peth_port_power()
90 Power supplied by PoE ports, in milliwatts.
91 ("arubaWiredPoePethPsePortAveragePower")
92
93 Overrides
94 "agg_ports"
95 Returns a HASH reference mapping from slave to master port for each
96 member of a port bundle on the device. Keys are ifIndex of the
97 slave ports, Values are ifIndex of the corresponding master ports.
98
99 "v_name" =item "qb_i_vlan" =item "i_vlan_type" =item "qb_v_egress"
100 =item "qb_cv_egress" =item "qb_v_untagged" =item "qb_cv_untagged" All
101 overridden to return the VLAN data structures that we'd expect for a
102 device that implements "Q-BRIDGE-MIB", but with data from
103 SNMP::Info::IEEE8021_Bridge at PBB 1.
104
105 Table Methods imported from SNMP::Info::Layer3
106 See documentation in SNMP::Info::Layer3 for details.
107
108 Table Methods imported from SNMP::Info::IEEE802_Bridge
109 See documentation in SNMP::Info::IEEE802_Bridge for details.
110
111 Table Methods imported from SNMP::Info::IEEE802dot3ad
112 See documentation in SNMP::Info::IEEE802dot3ad for details.
113
114
115
116perl v5.38.0 2023-09-04 SNMP::Info::Layer3::ArubaCX(3pm)