Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

quering particular vlan with BRIDGE-MIB over snmp

TomasD
Occasional Contributor

quering particular vlan with BRIDGE-MIB over snmp

Hi, I'm having problems with quering mac table only for particular vlans over snnp with BRIDGE-MIB(at the moment I'm getting table for all vlans), I've red cisco site and there was an example where vlan ID is specified right after ip of the snmp device like:
Issue this command in order to use VLAN 1 to obtain the MAC address table:
snmpwalk -c public@1 192.168.0.1 .1.3.6.1.2.1.17.4.3.1.1

I was wondering if its possible to do this with procurve switches?
I am able to query vlans over the telenet session like:
show mac-address vlan 1

any help appreciated!
1 REPLY
TomasD
Occasional Contributor

Re: quering particular vlan with BRIDGE-MIB over snmp

sorry it's rather vlan ID after the comunity string. so here's real example when I do:
$ snmpwalk -v1 -c public@1 10.176.40.53 mib-2.17.4.3.1.1
Timeout: No Response from 10.176.40.53
and if:
$ snmpwalk -v1 -c public 10.176.40.53 mib-2.17.4.3.1.1 | wc -l
(wc -l will count number of lines- the mac address)
173