summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorelie <elie>2014-06-15 12:32:45 +0000
committerelie <elie>2014-06-15 12:32:45 +0000
commitfb2b229bfca8464dc9584c3235dd541d7d1859c7 (patch)
tree59aa7cbcf10a7397a5a7be27117338f39c42c6d6 /examples
parentf1ee948b218873309721702a116db94364dbb551 (diff)
downloadpysnmp-git-fb2b229bfca8464dc9584c3235dd541d7d1859c7.tar.gz
fix to test OIDs
Diffstat (limited to 'examples')
-rw-r--r--examples/v3arch/asyncore/agent/cmdrsp/implementing-snmp-table.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/agent/cmdrsp/implementing-snmp-table.py b/examples/v3arch/asyncore/agent/cmdrsp/implementing-snmp-table.py
index cd34ea53..a631493d 100644
--- a/examples/v3arch/asyncore/agent/cmdrsp/implementing-snmp-table.py
+++ b/examples/v3arch/asyncore/agent/cmdrsp/implementing-snmp-table.py
@@ -14,13 +14,13 @@
#
# The following Net-SNMP's commands will populate and walk a table:
#
-# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.1.2.97.98.99 s 'my value'
-# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.1.4.97.98.99 i 4
+# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.2.97.98.99 s 'my value'
+# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.4.97.98.99 i 4
# $ snmpwalk -v2c -c public 127.0.0.1 1.3.6
#
# ...while the following command will destroy the same row
#
-# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.1.4.97.98.99 i 6
+# $ snmpset -v2c -c public 127.0.0.1 1.3.6.6.1.5.4.97.98.99 i 6
# $ snmpwalk -v2c -c public 127.0.0.1 1.3.6
#
from pysnmp.entity import engine, config