Power Connect SNMP

Lots of info is available via SNMP from the PowerConnects.


Basic walk

snmpwalk -c COMMUNITY -v 1 SWITCHIP

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- = Counter32: 388
SNMPv2-SMI::mib- = INTEGER: 51
SNMPv2-SMI::mib- = INTEGER: 156
SNMPv2-SMI::mib- = INTEGER: 252
SNMPv2-SMI::mib- = INTEGER: 156
SNMPv2-SMI::mib- = INTEGER: 156
SNMPv2-SMI::mib- = 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 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