Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] q-bridge-mib and snmp question
@ 2006-09-04 15:39 pfer
  2006-09-05 16:30 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: pfer @ 2006-09-04 15:39 UTC (permalink / raw)
  To: bridge

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.

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bridge] q-bridge-mib and snmp question
  2006-09-04 15:39 [Bridge] q-bridge-mib and snmp question pfer
@ 2006-09-05 16:30 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2006-09-05 16:30 UTC (permalink / raw)
  To: pfer; +Cc: bridge

On Mon, 4 Sep 2006 08:39:22 -0700 (PDT)
pfer <forgamedev@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@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/bridge
> 


-- 
Stephen Hemminger <shemminger@osdl.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-05 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-04 15:39 [Bridge] q-bridge-mib and snmp question pfer
2006-09-05 16:30 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox