summaryrefslogtreecommitdiff
path: root/examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py')
-rw-r--r--examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py b/examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py
index 807822bf..1071647e 100644
--- a/examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py
+++ b/examples/v3arch/asyncore/manager/cmdgen/usm-sha-none.py
@@ -6,12 +6,12 @@ Send a SNMP SET request with the following options:
* with SNMPv3 with user 'usr-sha-none', SHA auth and no privacy protocols
* over IPv4/UDP
-* to an Agent at 195.218.195.228:161
+* to an Agent at 104.236.166.95:161
* for an OID in tuple form and a string-typed value
This script performs similar to the following Net-SNMP command:
-| $ snmpset -v3 -l authNoPriv -u usr-sha-none -a SHA -A authkey1 -ObentU 195.218.195.228:161 1.3.6.1.2.1.1.9.1.3.1 s 'my new value'
+| $ snmpset -v3 -l authNoPriv -u usr-sha-none -a SHA -A authkey1 -ObentU 104.236.166.95:161 1.3.6.1.2.1.1.9.1.3.1 s 'my new value'
"""#
from pysnmp.entity import engine, config
@@ -46,7 +46,7 @@ config.addTransport(
)
config.addTargetAddr(
snmpEngine, 'my-router',
- udp.domainName, ('195.218.195.228', 161),
+ udp.domainName, ('104.236.166.95', 161),
'my-creds'
)