How do I do community string Indexing for other switches like D link DES 3526 and Brocade Fastiron SX800?
I am running a java program to poll a specific vlan on a Brocade sx 800 l3 switch. The program throws a "Time out error". I then checked the switch log , which says community string invalid. I'm having trouble with the syntax "community@vlanid".
Displaying all Vlans and their names:
Could someone please tell me the community string indexing for switches other than Cisco?
EDIT
I tried the commands in CLI with Net-SNMP:
Poll sysDescr:
snmpwalk -v 2c -c public 10.21.200.4 1.3.6.1.2.1.1.1
SNMPv2-MIB::sysDescr.0 = STRING: DES-3526 Fast-Ethernet Switch
Poll dot1dTpFdbAddress (default Vlan):
snmpbulkwalk -v 2c -c public 10.21.200.4 1.3.6.1.2.1.17.4.3.1.1
SNMPv2-SMI::mib-2.17.4.3.1.1.0.27.17.189.90.220 = Hex-STRING: 00 1B 11 BD 5A DC
SNMPv2-SMI::mib-2.17.4.3.1.1.4.254.127.149.86.136 = Hex-STRING: 04 FE 7F 95 56 88
Poll dot1dTpFdbAddress (default Vlan4):
snmpbulkwalk -v 2c -c public@4 10.21.200.4 .1.3.6.1.2.1.17.4.3.1.1
Timeout: No Response from 10.21.200.4
Netdisco listing all ports and corresponding MAC addresses
I want to retrieve all MAC addresses from individual ports. The Q-Bridge MIB shows all the ports on the switch but unfortunately the MAC address OID is not accessible. On the other hand, using the Bridge MIB lists only MAC addresses from the default Vlan. P.S: the community string indexing ( coommstring@vlanid ) to access other vlans only works with CISCO switches.
snmpget -v 2c -c public [SWITCH-ADDRESS-HERE] .1.3.6.1.2.1.1.1.0
snmpbulkwalk -v 2c -c public@4 [SWITCH-ADDRESS-HERE] .1.3.6.1.2.1.17.4.3.1.1
. Does that return what you need?