1SNMP::Info::Layer3::AruUbsaeCrX(C3o)ntributed Perl DocumSeNnMtPa:t:iIonnfo::Layer3::ArubaCX(3)
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 =item ARUBAWIRED-VSF-MIB =item ARUBAWIRED-
36 POWERSUPPLY-MIB
37 Inherited Classes' MIBs
38 See SNMP::Info::Layer3 for its own MIB requirements.
39
40 See SNMP::Info::IEEE802_Bridge for its own MIB requirements.
41
42 See SNMP::Info::IEEE802dot3ad for its own MIB requirements.
43
45 These are methods that return scalar value from SNMP
46
47 $cx->stack_info()
48 If the device supports VSF stacking and is not in standalone mode,
49 returns a string describing the switch family and the number of
50 stack members. Example return value: '6300M (stack of 2)'. Will
51 return undef when VSF is not supported or when the device is VSF
52 standalone.
53
54 $cx->model()
55 Returns stack_info() if defined, otherwise will fall back to
56 returning the model from "entPhysicalModelName.1"; if that's also
57 not set, will use "sysObjectID" as a last resort, stripping
58 'arubaWiredSwitch' from the value.
59
60 $cx->vendor()
61 Returns (lowercased) value for "entPhysicalMfgName.1", or 'aruba'.
62
63 $cx->os()
64 Returns 'arubaos-cx'.
65
66 $cx->os_ver()
67 Returns the software version. Either "entPhysicalSoftwareRev.1" or
68 extracted from "sysDescr".
69
70 $cx->fan()
71 Returns a string with status information for all fans listed in
72 "ARUBAWIRED-FAN-MIB".
73
74 Globals imported from SNMP::Info::Layer3
75 See documentation in SNMP::Info::Layer3 for details.
76
77 Globals imported from SNMP::Info::IEEE802_Bridge
78 See documentation in SNMP::Info::IEEE802_Bridge for details.
79
80 Globals imported from SNMP::Info::IEEE802dot3ad
81 See documentation in SNMP::Info::IEEE802dot3ad for details.
82
84 These are methods that return tables of information in the form of a
85 reference to a hash.
86
87 Overrides
88 "agg_ports"
89 Returns a HASH reference mapping from slave to master port for each
90 member of a port bundle on the device. Keys are ifIndex of the
91 slave ports, Values are ifIndex of the corresponding master ports.
92
93 "v_name" =item "qb_i_vlan" =item "i_vlan_type" =item "qb_v_egress"
94 =item "qb_cv_egress" =item "qb_v_untagged" =item "qb_cv_untagged" All
95 overridden to return the VLAN data structures that we'd expect for a
96 device that implements "Q-BRIDGE-MIB", but with data from
97 SNMP::Info::IEEE8021_Bridge at PBB 1.
98
99 Table Methods imported from SNMP::Info::Layer3
100 See documentation in SNMP::Info::Layer3 for details.
101
102 Table Methods imported from SNMP::Info::IEEE802_Bridge
103 See documentation in SNMP::Info::IEEE802_Bridge for details.
104
105 Table Methods imported from SNMP::Info::IEEE802dot3ad
106 See documentation in SNMP::Info::IEEE802dot3ad for details.
107
108
109
110perl v5.36.0 2022-07-22 SNMP::Info::Layer3::ArubaCX(3)