1SNMP::Info::CiscoAgg(3pUms)er Contributed Perl DocumentatSiNoMnP::Info::CiscoAgg(3pm)
2
3
4
6 SNMP::Info::CiscoAgg - SNMP Interface to Cisco Aggregated Links
7
9 SNMP::Info Developers
10
12 # Let SNMP::Info determine the correct subclass for you.
13 my $info = new SNMP::Info(
14 AutoSpecify => 1,
15 Debug => 1,
16 DestHost => 'myrouter',
17 Community => 'public',
18 Version => 2
19 )
20 or die "Can't connect to DestHost.\n";
21
22 my $class = $info->class();
23 print "SNMP::Info determined this device to fall under subclass : $class\n";
24
26 This class provides access to Aggregated Links configuration on Cisco
27 devices. It combines Cisco PAgP, Cisco proprietary info and IEEE
28 802.3ad information.
29
30 Use or create in a subclass of SNMP::Info. Do not use directly.
31
32 Inherited Classes
33 SNMP::Info::IEEE802dot3ad
34
35 Required MIBs
36 CISCO-PAGP-MIB
37 CISCO-LAG-MIB
38 CISCO-IF-EXTENSION-MIB
39
41 "agg_ports"
42 Returns a HASH reference mapping from slave to master port for each
43 member of a port bundle on the device. Keys are ifIndex of the
44 slave ports, Values are ifIndex of the corresponding master ports.
45
46 "agg_ports_cisco"
47 Implements the cisco LAG info retrieval. Merged into "agg_ports"
48 data automatically. Will fetch all members of
49 "clagAggPortListInterfaceIndexList" even if they are not running an
50 aggregation protocol.
51
52 "agg_ports_pagp"
53 Implements the PAgP LAG info retrieval. Merged into "agg_ports"
54 data automatically.
55
56 "agg_ports_propvirtual"
57 A version of SNMP::Info::Aggregate::agg_ports_ifstack that inspects
58 only ports of type propVirtual. You still need to use
59 agg_ports_ifstack.
60
61 "lag_members"
62 Mimics "ad_lag_ports" from SNMP::Info::IEEE802dot3ad but based on
63 ifindex instead of instead of bp_index.
64
65 OVERRIDES
66 "agg_ports_lag"
67 This will retrieve LAG ports based on "dot3adAggPortSelectedAggID"
68 data. It will be merged into "agg_ports" data.
69
70 Table Methods imported from SNMP::Info::IEEE802dot3ad
71 See documentation in SNMP::Info::IEEE802dot3ad for details.
72
74 "munge_port_ifindex"
75 Takes "clagAggPortListInterfaceIndexList", uses the index as master
76 port, then returns all members as ifindex. Works with single or
77 multiple slaves to a master.
78
79
80
81perl v5.38.0 2023-09-04 SNMP::Info::CiscoAgg(3pm)