Power Connect SNMP

Lots of info is available via SNMP from the PowerConnects.

References

Basic walk

snmpwalk -c COMMUNITY -v 1 SWITCHIP 1.3.6.1.2.1.17.7.1.2.2.1.2

Where COMMUNITY and SWITCHIP are replaced with appropriate values.

Dump the MACs per port

The MACs are reported by VLAN with their associated port. There info is backwards from what we want...

SNMPv2-SMI::mib-2.17.7.1.2.1.1.2.2901 = Counter32: 388
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.4.150.30.52.96 = INTEGER: 51
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.4.226.215.60.192 = INTEGER: 156
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.6.103.32.190.214 = INTEGER: 252
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.12.41.154.51.190 = INTEGER: 156
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.12.41.162.29.6 = INTEGER: 156
SNMPv2-SMI::mib-2.17.7.1.2.2.1.2.2901.0.12.41.175.131.50 = INTEGER: 8

The first line above seems to say that 388 MACs are know on the 2901 VLAN (seems reasonable).

The second line says MAC 0.4.150.30.52.96 is on port 51. In hex this is 00:04:96:1E:34:60, which is correct for the 3rd XGE port on unit 1.

Note that for v2 (changed in v3?) of the 6248 software, the MACs are in Q-BRIDGE-MIB which is unlike most other switches and so the MAC reporting doesn't work with tools that are made for the CISCO MIBs.

-- TomRockwell - 20 Aug 2009
Topic revision: r4 - 31 Oct 2009, TomRockwell
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback