[Bridge] q-bridge-mib and snmp question

Stephen Hemminger shemminger at osdl.org
Tue Sep 5 09:30:10 PDT 2006


On Mon, 4 Sep 2006 08:39:22 -0700 (PDT)
pfer <forgamedev at yahoo.com> wrote:

> Hello people!
> 
> Sorry if this is a bit off-topic, but I was not able
> to find a more appropriate mailing list for this.
> 
> I would like to set forwarding rule entries in an
> ethernet switch, with snmp.

Linux bridge doesn't implement SNMP.

And setting entries with SNMP would be a security hole.
One of the reasons (beside laziness) that I haven't even
looked at more management support is that many management
protocols seemed to be designed without security.

> 
> Problem is, it works with the D-link web-manager and
> terminal, but not with snmp.
> 
> I'd be happy if you could point me to a more
> appropriate list too :D
> 
> dot1qStaticUnicastTable stores the per-vlan entries I
> wish to fill (da-mac address, etc), but when I try to
> use something like:
> 
> #snmpset -c private -v2c 10.4.2.102
> .1.3.6.1.2.1.17.7.1.3.1.1.3.4.0.16.90.177.25.152.0 x
> 00004000
> 
> (the 00004000 egress ports for the 4 numbered vlan for
> 
>  the 0.16.90.177.25.152 mac, for all ports (0 at end)
> )
> 
> I get a "non-writeable" error, contrary to what the
> q-brigde-mib rfc says of this entry. (read-write)
> 
> The same value can be read back after it is set with
> other methods, so it shall be working.
> 
> My guess is that I shall set another variable
> somewhere, but I can't find it.
> 
> I use net-snmp, worked for many stuff fine, so the
> problem is not there.
> 
> 
> Any suggestions? Someone tried to set static
> forwarding rules with 802.1q?
> 
> Thanks for help,
> 
> Ferenc Pintér
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Bridge mailing list
> Bridge at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/bridge
> 


-- 
Stephen Hemminger <shemminger at osdl.org>



More information about the Bridge mailing list