summaryrefslogtreecommitdiff
path: root/examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py')
-rw-r--r--examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py b/examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py
index 49b20831..45ec3c5e 100644
--- a/examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py
+++ b/examples/v3arch/asyncore/manager/cmdgen/usm-sha-aes128.py
@@ -5,12 +5,12 @@ SNMPv3, auth: SHA, privacy: AES128
Send a SNMP GET request
* with SNMPv3 with user 'usr-sha-aes', SHA auth and AES128 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
This script performs similar to the following Net-SNMP command:
-| $ snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1 -ObentU 195.218.195.228:161 1.3.6.1.2.1.1.1.0
+| $ snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1 -ObentU 104.236.166.95:161 1.3.6.1.2.1.1.1.0
"""#
from pysnmp.entity import engine, config
@@ -45,7 +45,7 @@ config.addTransport(
)
config.addTargetAddr(
snmpEngine, 'my-router',
- udp.domainName, ('195.218.195.228', 161),
+ udp.domainName, ('104.236.166.95', 161),
'my-creds'
)