Re: try to remove row in ifTable

Dominique bastien <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Q: I'm not sure where you got the:

A: It's one of the syntax that I try. Is the same than
you but without the padding at the end it's why I try
0x3:0xFD where the second bit is set to zero.

Maybe this example can be add to the FAQ or to the
snmpd.conf example.

Thanks,

Dominique

--- Dave Shield <[email protected]> wrote:

> On 23/08/06, Dominique bastien <[email protected]>
> wrote:
> > I try to remove some rows in the ifTable, the
> loopback
> > interface and some interface use for internal
> communication.
> >
> > I program the snmpd.conf with these lines:
> >
> > view vn1 included .1
> > view vn1 excluded ifEntry.1.1 0x3:0xf9
> >
> > But this only remove the index field of the lo
> interface.
> 
> I'm not sure where you got the "0x3:0xf9" syntax
> from, but the
> following line (untested) ought to do what you need:
> 
>     view vn1 excluded  ifEntry.0.1  0xffa0
> 
> Or expanded into a fully numeric OID:
> 
>     view  vn1  excluded  .1.3.6.1.2.1.2.2.1.0.1 
> 0xffa0
> 
> The '0' subidentifier doesn't actually matter - it
> correspends to the
> cleared bit in the mask:
> 
>   1  3  6  1  2  1  2  2  :  1  0  1
>   1  1  1  1  1  1  1  1  :  1  0  1  = 0xffa0
> 
> so this value will be ignored.
> 
> Dave
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or
> change other options:
>
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.