Can you paste the end of your configuration run, where it summarizes the
results? The “rocommunity6” configuration directive will be available if
that configuration summary includes “UDPIPv6” in the “Network transport
support:” list - e.g.,
On Wed, Jan 17, 2018 at 10:58:40AM -0500, Simon Chamlian wrote:
> but these tokens are not recognized:
> ./snmpd.conf: line 12: Warning: Unknown token: rocommunity6.
> ./snmpd.conf: line 13: Warning: Unknown token: rwcommunity6.
This means that snmpd did not understand you config, and
Seems like --enable-ipv6 is not enough to make SNMPv2 work with IPv6 since:
# ./snmpd -H 2>&1 | grep community
trapsink host [community] [port]
trap2sinkhost [community] [port]
informsink host [community] [port]
trapcommunity
I am sure about the compilation with --enable-ipv6 because it works with
snmp v3
# snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv 172.27.42.15
MPBC-1RU-MIB::mpbc1RUNEID.0 -Oqv
"VERSA_199"
# snmpget -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv
[fe80::6eff:beff:fe02:d0%eth0]
n Wed, Jan 17, 2018 at 10:58:40AM -0500, Simon Chamlian wrote:
> but these tokens are not recognized:
> ./snmpd.conf: line 12: Warning: Unknown token: rocommunity6.
> ./snmpd.conf: line 13: Warning: Unknown token: rwcommunity6.
This means that snmpd did not understand you config, and