Switches, Hubs, and Modems
1752689 Members
5358 Online
108789 Solutions
New Discussion юеВ

getting vlan infos with snmp

 
Andreas Zulus
New Member

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 2
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