This is a multi-part message in MIME format.

--===============1597965004==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C82B99.E3962CE4"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C82B99.E3962CE4
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Okay, I found the answer to my own question:

=20

I needed to specify the listening addresses as below:

=20

* snmptrapd udp:162,udp6:162 -f -Le &=20

=20

Then I was able to catch IPv6 traps as well as IPv4's:

=20

2007-11-20 17:13:31 UDP/IPv6: [::1]:33350 [UDP/IPv6: [::1]:33350]:

RFC1213-MIB::sysUpTime.0 =3D Timeticks: (14121) 0:02:21.21
SNMPv2-MIB::snmpTrapOID.0 =3D OID: NET-SNMP-AGENT-MIB::nsNotifyRestart

=20

2007-11-20 17:13:31 127.0.0.1 [UDP: [127.0.0.1]:33347]:

RFC1213-MIB::sysUpTime.0 =3D Timeticks: (14121) 0:02:21.21
SNMPv2-MIB::snmpTrapOID.0 =3D OID: NET-SNMP-AGENT-MIB::nsNotifyRestart

=20

The trap2sink in my snmpd.conf are:

=20

trap2sink localhost notify 162

trap2sink udp6:[::1]:162 notify 162

=20

Emi

=20

-----Original Message-----
From: Emi Yanagi=20
Sent: Thursday, November 15, 2007 4:33 PM
To: net-snmp-coders@lists.sourceforge.net
Subject: trap2sink IPv6 support

=20

=20

Dear net-snmp-coders,

=20

I tried the following syntax but neither worked for me.

=20

trap2sink udp6:[fe80::214:22ff:fe7b:fca2]:162

trap2sink udp6:'[fe80::214:22ff:fe7b:fca2]':162

=20

trap2sink with IPv4 address works just fine.

=20

How to specify trap2sink with IPv6?=20

=20

Thanks for your support.

Emi

=20


------_=_NextPart_001_01C82B99.E3962CE4
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









style=3D'font-size:
10.0pt'>Okay, I found the answer to my own =
question:>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>I needed to specify the listening addresses as =
below:>>



style=3D'font-size:
10.0pt'>>



style=3D'margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'> size=3D2 face=3DSymbol> style=3D'font-size:10.0pt;font-family:Symbol'> style=3D'mso-list:Ignore'>· Roman"> style=3D'font:7.0pt "Times New =
Roman"'>        
snmptrapd udp:162,udp6:162 =
-f -Le
& >>



style=3D'font-size:
10.0pt'> >>



style=3D'font-size:
10.0pt'>Then I was able to catch IPv6 traps as well as =
IPv4’s:>>



style=3D'font-size:
10.0pt'>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>2007-11-20 17:13:31 UDP/IPv6: [::1]:33350 =
[UDP/IPv6:
[::1]:33350]:>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>RFC1213-MIB::sysUpTime.0 =3D Timeticks: =
(14121)
0:02:21.21        =
SNMPv2-MIB::snmpTrapOID.0
=3D OID: =
NET-SNMP-AGENT-MIB::nsNotifyRestart>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>2007-11-20 17:13:31 127.0.0.1 [UDP:
[127.0.0.1]:33347]:>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>RFC1213-MIB::sysUpTime.0 =3D Timeticks: =
(14121)
0:02:21.21      =
  SNMPv2-MIB::snmpTrapOID.0
=3D OID: =
NET-SNMP-AGENT-MIB::nsNotifyRestart>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>The trap2sink in my snmpd.conf are:>>



style=3D'font-size:
10.0pt'>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>trap2sink  localhost 
notify       =
162>>



face=3D"Courier New"> style=3D'font-size:10.0pt'>trap2sink  
udp6:[::1]:162       notify =
162>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Emi>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>-----Original Message-----

From: Emi Yanagi

Sent: Thursday, November 15, 2007 4:33 PM

To: net-snmp-coders@lists.sourceforge.net

Subject: trap2sink IPv6 support



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Dear net-snmp-coders,>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>I tried the following syntax but neither worked for =
me.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>trap2sink   =
udp6:[fe80::214:22ff:fe7b:fca2]:162>>



style=3D'font-size:
10.0pt'>trap2sink   =
udp6:'[fe80::214:22ff:fe7b:fca2]':162>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>trap2sink with IPv4 address works just =
fine.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>How to specify trap2sink with IPv6? =
>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Thanks for your support.>>



style=3D'font-size:
10.0pt'>Emi>>



style=3D'font-size:
10.0pt'>>









------_=_NextPart_001_01C82B99.E3962CE4--


--===============1597965004==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1597965004==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============1597965004==--