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
40 MIBs can be found at ftp://ftp.cisco.com/pub/mibs/v2/v2.tar.gz
41
43 "agg_ports"
44 Returns a HASH reference mapping from slave to master port for each
45 member of a port bundle on the device. Keys are ifIndex of the
46 slave ports, Values are ifIndex of the corresponding master ports.
47
48 "agg_ports_cisco"
49 Implements the cisco LAG info retrieval. Merged into "agg_ports"
50 data automatically. Will fetch all members of
51 "clagAggPortListInterfaceIndexList" even if they are not running an
52 aggregation protocol.
53
54 "agg_ports_pagp"
55 Implements the PAgP LAG info retrieval. Merged into "agg_ports"
56 data automatically.
57
58 "lag_members"
59 Mimics "ad_lag_ports" from SNMP::Info::IEEE802dot3ad but based on
60 ifindex instead of instead of bp_index.
61
62 OVERRIDES
63 "agg_ports_lag"
64 This will retrieve LAG ports based on "dot3adAggPortSelectedAggID"
65 data. It will be merged into "agg_ports" data.
66
67 Table Methods imported from SNMP::Info::IEEE802dot3ad
68 See documentation in SNMP::Info::IEEE802dot3ad for details.
69
71 "munge_port_ifindex"
72 Takes "clagAggPortListInterfaceIndexList", uses the index as master
73 port, then returns all members as ifindex. Works with single or
74 multiple slaves to a master.
75
76
77
78perl v5.28.1 2019-04-04 SNMP::Info::CiscoAgg(3)