[c-nsp] SNMP Community Question

Tim Franklin tim at pelican.org
Tue Jan 22 12:23:52 EST 2008


On Tue, January 22, 2008 5:09 pm, Luan Nguyen wrote:
> You could try to create an snmp view:  snmp-server view fast00 <oid-tree
> of
> fast00> included
> then snmp-server comm fast00 view fast00 RW

The difficult part here is that the MIB trees are typically built the
other way out:

mib.stuff.interfacething.0
mib.stuff.interfacething.1
mib.stuff.interfacething.2
mib.stuff.otherinterfacething.0
mib.stuff.otherinterfacething.1
mib.stuff.otherinterfacething.2

Rather than:

mib.interfaces.0.stuff.interfacething
mib.interfaces.0.stuff.otherinterfacething
mib.interfaces.1.stuff.interfacething
...

I'm not sure if you can wildcard in the middle of a view, e.g.:

deny mib.stuff.*.0
permit mib.stuff.*.1
deny mib.stuff.*.2

Otherwise, it's going to be quite a long-winded view definition...

Regards,
Tim.




More information about the cisco-nsp mailing list