From: Mike H. <mh...@ac...> - 2005-06-07 22:59:11
|
On Jun 07, "To net...@li..." wrote: > > I'm taking another look at getting Vlan info from an extreme alpine 3808. > > When last we left our heros: > > [snip] > > > > > Thanks for your reply. I think I'm confused; Max's suggestion was to > > > > override the i_vlan with qb_i_vlan_t from Bridge: > > > > > > > > *SNMP::Info::Layer3::ExtrApline380x::i_vlan = \&SNMP::Info::Bridge::qb_i_vlan_t; > > Also, what's the differene between doing the above and putting > > 'i_vlan' => 'dot1qPvid' > > in %FUNCS? > > Groping, I should probably refrain from emailing the list every 5 minutes as I discover something, but it seems like I'm much closer than I thought. I added a munge function to the i_vlan as such: %MUNGE = ( ... 'i_vlan' => \&mth_munge ... sub mth_munge { my $arg = shift; print "#$arg#\n"; return "MTHICK"; } And lo and behold, when I netdisco -d -D the switch, I see spew-a-plenty: #1# #1# #1# #4093# #1# #1# #1# #1# #1# #1# ... But no sign of the numbers or MTHICK in the DB... Mike |