1SNMP::Info::CiscoAgg(3)User Contributed Perl DocumentatioSnNMP::Info::CiscoAgg(3)
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 "lag_members"
57 Mimics "ad_lag_ports" from SNMP::Info::IEEE802dot3ad but based on
58 ifindex instead of instead of bp_index.
59
60 OVERRIDES
61 "agg_ports_lag"
62 This will retrieve LAG ports based on "dot3adAggPortSelectedAggID"
63 data. It will be merged into "agg_ports" data.
64
65 Table Methods imported from SNMP::Info::IEEE802dot3ad
66 See documentation in SNMP::Info::IEEE802dot3ad for details.
67
69 "munge_port_ifindex"
70 Takes "clagAggPortListInterfaceIndexList", uses the index as master
71 port, then returns all members as ifindex. Works with single or
72 multiple slaves to a master.
73
74
75
76perl v5.30.0 2019-10-30 SNMP::Info::CiscoAgg(3)