Skip to contentSkip to conversation

q-bridge-mib and snmp question

Bridge pfer 2 participants 2 messages Sep 4, 2006 – Sep 5, 2006 Ethernet bridge

lore
Share & tools
lore

pfer

author
#0 lore raw

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

#1 lore raw
Quoted 7 lines · On Mon, 4 Sep 2006 08:39:22 -0700 (PDT) pfer <[email protected]> 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.

Quoted 49 lines

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
[email protected]
https://lists.osdl.org/mailman/listinfo/bridge

Signature · 1 line
Stephen Hemminger <[email protected]>