summaryrefslogtreecommitdiff
path: root/examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py')
-rw-r--r--examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py b/examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py
index 475435ee..9e34fd0d 100644
--- a/examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py
+++ b/examples/v3arch/asyncore/proxy/command/udp6-to-udp4-conversion.py
@@ -8,7 +8,7 @@ messages to distant SNMPv1/2c Agent over UDP/IPv4 transport:
* with local SNMPv2c community 'public'
* local Agent listening at [::1]:161
* remote SNMPv2c community 'public'
-* remote Agent listening at 195.218.195.228:161
+* remote Agent listening at 104.236.166.95:161
This script can be queried with the following Net-SNMP command:
@@ -16,7 +16,7 @@ This script can be queried with the following Net-SNMP command:
due to proxy, it is equivalent to
-| $ snmpget -v2c -c public 195.218.195.228:161 sysDescr.0
+| $ snmpget -v2c -c public 104.236.166.95:161 sysDescr.0
Warning: for production operation you would need to modify this script
so that it will re-map possible duplicate request-ID values, coming in
@@ -81,7 +81,7 @@ config.addTargetParams(
)
config.addTargetAddr(
snmpEngine, 'distant-agent',
- udp.domainName, ('195.218.195.228', 161),
+ udp.domainName, ('104.236.166.95', 161),
'distant-agent-auth', retryCount=0, tagList='remote'
)