lyric0n
Technical User
- Dec 28, 2005
- 74
Hey guys,
I have a few questions about getting SNMP information off of switches. I need to pull the MAC address and port it is located on, and I have a SNMP string which will do that (.1.3.6.1.2.1.17.4.3.1.2), but there is one problem I have with it. When I query the switch, I need to concatenate an '@VlanID' onto the community string, and it will give me information for that VLAN. If I leave nothing, it defaults to giving me VLAN 1. Is there an SNMP string which will give me all of the MAC/Port information, or a way I can reconstruct the community string to pass in all the VLAN ID's at once? Querying the switch for each VLAN ID takes too long...
Thanks,
Chris
I have a few questions about getting SNMP information off of switches. I need to pull the MAC address and port it is located on, and I have a SNMP string which will do that (.1.3.6.1.2.1.17.4.3.1.2), but there is one problem I have with it. When I query the switch, I need to concatenate an '@VlanID' onto the community string, and it will give me information for that VLAN. If I leave nothing, it defaults to giving me VLAN 1. Is there an SNMP string which will give me all of the MAC/Port information, or a way I can reconstruct the community string to pass in all the VLAN ID's at once? Querying the switch for each VLAN ID takes too long...
Thanks,
Chris