System.out.println("Doing SNMPv2 walk..");
SnmpWalk walk = new SnmpWalk("127.0.0.1","1.3.6.1.2.1.1");
walk.doWalk();
System.out.println("Doing SNMPv3 walk..");
walk = new SnmpWalk("127.0.0.1","1.3.6.1.2.1.1",
"kschmidt","MD5","mysecretpass","DES","mypassphrase");
walk.doWalk();