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

getting vlan infos with snmp

Andreas Zulus
Occasional Visitor

getting vlan infos with snmp

hello!

i tried to get infos of the vlans on my 5412zl via snmp. the only entry i found is "ifDescr" but its not enough.

does anybody know where i can get more detailed infos about it?

thx, andi
2 REPLIES
Mohieddin Kharnoub
Honored Contributor

Re: getting vlan infos with snmp

Hi

Have you tried one of the MIBs:

http://www.hp.com/rnd/software/MIBs.htm

Good Luck !!!
Science for Everyone

Re: getting vlan infos with snmp

these oids will be useful to you if you have not found them already..

my $vlan_names_oid = '1.3.6.1.2.1.17.7.1.4.3.1.1';
my $vlan_ports_oid = '1.3.6.1.2.1.17.7.1.4.3.1.2';
my $vlan_untagged_ports_oid = '1.3.6.1.2.1.17.7.1.4.5.1.1';

working out what untagged vlan is on a port is easy, to get tagged vlans you need to decode hex,

cheers,
Martin