FileDocCategorySizeDatePackage
MainSnmpWalk.javaAPI DocExample398Mon Aug 29 19:18:58 BST 2005None

MainSnmpWalk

public class MainSnmpWalk extends Object

Fields Summary
Constructors Summary
public MainSnmpWalk()

	
Methods Summary
public static voidmain(java.lang.String[] args)

		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();