[j-nsp] SNMP Readaccess to single Interface

Subodh Kumar subodh at juniper.net
Tue Mar 25 07:25:40 EDT 2008


A very crude way, but should work. 

snmp {
    view single_intf {
        oid ifName.<ifIndex value>;
        oid ifDescr.<ifIndex value>;
        oid ifInOctects.<ifIndex value>;
        .
        .
        .
        (can add more objects specific to a interface)
    }
    community single-if {
        view single_intf;
        authorization read-only;
    }
}


Regards
Subodh

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-
> bounces at puck.nether.net] On Behalf Of Joerg Staedele / Trusted Network
> GmbH
> Sent: Tuesday, March 25, 2008 3:37 PM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] SNMP Readaccess to single Interface
> 
> Hi there,
> 
> i'm trying to allow snmp read access to a single interface only but i
> can't get it to work ...
> 
> A 3rd party should be able to poll interface statistics for a single
> interface and not the whole router.
> 
> Any example configs?
> 
> Thanks
> 
> Best regards,
> 
>  Joerg
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list