Limiting the results in snmptable Reg:

murali v <[email protected]> Thu, 23 Sep 2021 14:08:14 +0530
Newsgroups gmane.network.net-snmp.user
Message-ID <CALpvNHvbLQQ+kGRcGr2H2pPHMNqG8RY93guHP6b6Y2miFTi+Jg@mail.gmail.com>
Hi There,

I'm trying to fetch a routing table from a Cisco router using
IP-FORWARDING-MIB  =>  ipCidrRouteTable, which has got tens of lakhs of
records. using the snmptable command.

using the below command,

snmptable -m +IP-FORWARD-MIB -v2c -c public 192.168.0.1 1.3.6.1.2.1.4.24.4
-Cf , > routing.csv

Fetching all the records is not required.

Is there a way to fetch only a few thousands of them to analyse using the
snmptable command. When I try to execute the command, it takes hours and
finally the process gets killed for some unidentified reason.

Please gimme some inputs regarding this.

Murali V

_______________________________________________
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