Hi,
The results of using quotes as follows
% snmpget -v1 -c SNMP_COMMUNITY-61 'udp6:[fe80::203:baff:fe2a:a645]:1161'
sysName.0
Timeout: No Response from udp6:[fe80::203:baff:fe2a:a645]:1161.
Now we do not get "No match". Perhaps it was due to shell.
Starting of snmp agent
----------------------
We prepare snmpd.conf file as follows
rocommunity SNMP_COMMUNITY-1
rwcommunity SNMP_COMMUNITY-2
rocommunity6 SNMP_COMMUNITY-61
rwcommunity6 SNMP_COMMUNITY-62
We started agent using following command
./snmpd -d -p udp:161,udp6:1161
The snmpd.log says following when agent is started NET-SNMP version 5.4.dev
Important to note that in Net-SNMP_5.4.dev we do not get Unknown Token error
for rocommunity6 and rwcommunity6.
Also when checked through "./snmpd -H" we fine that rocummunity6 and
rwcommunity6 are listed as known directives.
Support Information
-------------------
Output of "netstat -a -P udp" command as follows
UDP: IPv4
Local Address Remote Address State
-------------------- -------------------- ------- ...
*.* Unbound
*.snmp Idle
*.* Unbound
UDP: IPv6
Local Address Remote Address State
-------------------- -------------------- ------- ...
(*.snmp NOT PRESENT)
...
We suspect that agent is not coming up with udp6 as shown by netstat output and
this is the reason why we are now getting timeout.
Sincerely,
Rahul K
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Wednesday, September 06, 2006 1:23 PM
To: [EMAIL PROTECTED]
Cc: [email protected]; [EMAIL PROTECTED]
Subject: Re: IPv6 support not enabled on Solaris 9 when building Net-SNMP_5.3.1
On 06/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The output is "No match".
> For example
>
> COMMAND -> snmpget -v1 -c SNMP_COMMUNITY-61 udp6:[fe80::203:baff:fe2a:a645]
> sysName.0
> OUTPUT -> No match
That feels like a shell error, rather than an SNMP one.
I suspect that snmpget is never getting as far as ever sending the request.
Try quoting the address:
snmpget .... 'udp6:[fe80::203:baff:fe2a:a645]' sysName.0
Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders