Hello Jose,
In order to see which interfaces are assigned to which VLAN you can use the OIDs below.
The 2600 is compatible with the industry standard IEEE802.1q Q-BRIDGE-MIB. The port VLAN association can be read from:
Name: dot1qPvid
Type: OBJECT-TYPE
OID: 1.3.6.1.2.1.17.7.1.4.5.1.1
Full path: iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).dot1dBridge(17).qBridgeMIB(7).qBridgeMIBObjects(1).dot1qVlan(4).dot1qPortVlanTable(5).dot1qPortVlanEntry(1).dot1qPvid(1)
Module: Q-BRIDGE-MIB
I ran the following command from Net-SNMP to get the output:
snmpwalk -c <COMMUNITY> -v2c <IP> .1.3.6.1.2.1.17.7.1.4.5.1.1
If you need the VLAN association for a specific port, just add the port ID to the OID following the 'ifIndex' OID.
The 4000M/8000Ms are responding to the older HP-VLAN-MIB. You probably want:
Name: hpVlanMemberIndex
Type: OBJECT-TYPE
OID: 1.3.6.1.4.1.11.2.14.11.5.1.3.1.1.5.1.2
Full path: iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).hp(11).nm(2).icf(14).hpicfObjects(11).hpicfSwitch(5).hpSwitch(1).hpVLAN(3).hpVlanLevelOne(1).hpVlanObjects(1).hpVlanMemberTable(5).hpVlanMemberEntry(1).hpVlanMemberIndex(2)
Module: HP-VLAN
Description: The VLAN ID identifies the VLAN the interface is in. The corresponding row in the VLAN Ident Table must exist prior to the index being used in this table.
For the MAC addresses per port I have not found the answer. You could use
Name: dot1dTpFdbAddress
Type: OBJECT-TYPE
OID: 1.3.6.1.2.1.17.4.3.1.1
Full path: iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).dot1dBridge(17).dot1dTp(4).dot1dTpFdbTable(3).dot1dTpFdbEntry(1).dot1dTpFdbAddress(1)
Module: BRIDGE-MIB
The ouput shows the MAC addresses in decimals, rather than Hex. You can also use:
Name: dot1dTpFdbPort
Type: OBJECT-TYPE
OID: 1.3.6.1.2.1.17.4.3.1.2
Full path: iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).dot1dBridge(17).dot1dTp(4).dot1dTpFdbTable(3).dot1dTpFdbEntry(1).dot1dTpFdbPort(2)
Module: BRIDGE-MIB
and get the MAC table in decimals and hex, but then you're left without a port number. However, if you'd mix the two, you'd have what you want.
I hope this helps somewhat.
Martin.</IP></COMMUNITY>