summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2016-03-07 22:48:27 +0100
committerIlya Etingof <etingof@gmail.com>2016-03-07 22:48:27 +0100
commitccb528629250e3d195155745f9ed83daa8229f9e (patch)
tree0df2fc10d005c26a4265879ddd9afb30b36a6a59 /README.md
parenta55ed52d7ca6b0077ebedbc1b34c4323b9497c7e (diff)
downloadpysnmp-git-ccb528629250e3d195155745f9ed83daa8229f9e.tar.gz
some more touches
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 9 insertions, 11 deletions
diff --git a/README.md b/README.md
index 4699fa3e..82c859a5 100644
--- a/README.md
+++ b/README.md
@@ -54,21 +54,16 @@ written in pure-Python could be installed via:
$ pip install pysnmp-apps
-and used in the very similar manner as conventional Net-SNMP tools.
+and used in the very similar manner as conventional Net-SNMP tools:
+
+ $ snmpget.py -v3 -l authPriv -u usr-md5-des -A authkey1 -X privkey1 demo.snmplabs.com sysDescr.0
+ SNMPv2-MIB::sysDescr.0 = DisplayString: SunOS zeus.snmplabs.com 4.1.3_U1 1 sun4m
Examples
--------
-As of this writing, PySNMP implements two SNMP architectures -- the first
-is a legacy one specified by SNMPv1 & v2c standards. It is quite
-low-level and protocol-oriented by design. In particular, it requires
-application to manage authentication and access issues, deal with transport
-failures and similar housekeeping stuff.
-
-The second model supported by PySNMP is aligned to [SNMPv3 architecture]
-(http://www.ibr.cs.tu-bs.de/projects/snmpv3/). Here is an example on querying SNMP agent
-for arbitrary value (sysDescr) over SNMP v3 with authentication and
-privacy enabled:
+PySNMP is designed highly modular and implements many programming interfaces. Most
+high-level and easy to use API is called *hlapi* and can be used like this:
from pysnmp.hlapi import *
@@ -92,6 +87,9 @@ privacy enabled:
print('='.join([x.prettyPrint() for x in varBind]))
+We maintain publically available SNMP Agent and TRAP sink at *demo.snmplabs.com*. You are
+welcome to play with it while experimenting with your PySNMP scripts.
+
For more example scripts please refer to [examples section](http://pysnmp.sourceforge.net/examples/contents.html#high-level-snmp)
at pysnmp web site.