[j-nsp] poll physical GigE and all its VLAN sub-interfaces counters over SNMP with single SNMP GetRequest query

Julien Goodwin jgoodwin at studio442.com.au
Tue May 6 06:32:52 EDT 2014


On 06/05/14 01:41, Martin T wrote:
...
> ..it appears that VLAN sub-interfaces counters are not included. Is it
> possible to request GigE and all its VLAN sub-interfaces counters over
> SNMP with single SNMP GetRequest query? Or is the only option to poll
> all the sub-interfaces and add the counter values together when using
> SNMP?

One thing you can do, although not with normal CLI tools, or even most
SNMP libraries, is simply send batches of get requests in a single
packet. As long as you ensure the replies will still fit into a single
packet this works fine.

Actually *implementing* this is probably more of a PITA than just using
CLI, not that the CLI is guaranteed to be in sync with itself.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: OpenPGP digital signature
URL: <https://puck.nether.net/pipermail/juniper-nsp/attachments/20140506/3bfb7f22/attachment.sig>


More information about the juniper-nsp mailing list