Dear Net-snmp-coder,

I have some problem with snmpd.conf for supporting IPv6

Here is my snmpd.conf

 

# define system information


sysdescr mytest                                                         

# convert read and write community string to security name


com2sec myread     0.0.0.0/24  public


com2sec6 myread     default  public


com2sec mywrite    0.0.0.0/24  private


com2sec6 mywrite    default  private


# convert security name to group name


group MyROGroup v1    myread


group MyROGroup v2c   myread


group MyRWGroup v1    mywrite


group MyRWGroup v2c   mywrite


# create view name


view all included .1    80


view all excluded .1.3.6.1.6.3.16  FE


view all excluded .1.3.6.1.2.1.88  FE


# allow access definition


access MyROGroup "" any noauth exact all none none


access MyRWGroup "" any noauth exact all all none


authtrapenable 1


trapcommunity public


 

trap2sink 'udp6:[2010:1234:5678:abcd:4687:fcff:fed1:ef63]:162'

trap2sink udp6:[2010:1234:5678:abcd:4687:fcff:fed1:ef63]:162

trap2sink udp6:[2010:1234:5678:abcd:4687:fcff:fed1:ef63] 

 

but it doesn't send trap.

 

However, when I type the following by console

 

Snmptrap -v 2c -c public
udp6:[2010:1234:5678:abcd:4687:fcff:fed1:ef63]:162 ""
UCD-SNMP-MIB::ucdStart

 

It does send trap to host!

Therefore, I think some wrong configure in my snmpd.conf.

Please help me to correct it, thanks.

 

BR

Stacey.

 

 

 

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to