Junos
Reply
Contributor
ringwyrm
Posts: 23
Registered: ‎08-11-2008
0
Accepted Solution

SNMP issue...

(.......I posted this in the wrong forum... I'm reposting it here....)

 

###########

[edit snmp]
juniper@BD-Bottom-M120# show

community testcommunity {
    authorization read-only;
    routing-instance RDI;
}
routing-instance-access;
traceoptions {
    file snmp;
    flag all;
}
############

 

 

 

 

 

##############

Feb 20 17:44:54 snmpd[4d88b0c2] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Feb 20 17:44:54 snmpd[4d88b0c2] >>> Get-Next-Request
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Source:      10.254.0.33
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Destination: 10.254.23.2
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Version:     SNMPv2
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Request_id:  0x4d88b0c2
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Community:   testcommunity
Feb 20 17:44:54 snmpd[4d88b0c2] >>>  Error:       status=0 / vb_index=0
Feb 20 17:44:54 snmpd[4d88b0c2] >>>   OID  : mib_2
Feb 20 17:44:54 snmpd[4d88b0c2] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Feb 20 17:44:54 SNMPD_AUTH_FAILURE: nsa_initial_embedcomm: unauthorized SNMP community from 10.254.0.33 to unknown community name (testcommunity)

################

 

 

 

 

Any ideas?  The traffic is indeed coming in on an interface attached to the RDI routing-instance, which is what we expect.

Recognized Expert
benb
Posts: 205
Registered: ‎11-05-2007

Re: SNMP issue...

When sending SNMP, using routing-instance, configure the client to use <routing-instance>@community.  So, in your example, have it send RDI@testcommunity.

 

http://www.juniper.net/techpubs/software/junos/junos94/swconfig-net-mgmt/routing-instance-identifying-junos-nm.html

 

 

Regards,

Ben

Contributor
ringwyrm
Posts: 23
Registered: ‎08-11-2008
0

Re: SNMP issue...

FIXED!  Thanks!
New User
flan828
Posts: 1
Registered: ‎01-21-2010
0

Re: SNMP issue...

I have something along the same lines. However, I did the xxx@routing-instance to do the snmp. Now I have an error in my /var/log/messages that states snmpd_auth_failure: nsa_log_community: unauthorized snmp community from x.x.x.x to unknown community name (xxx@routing-instance).

 

The funny part of it is that its polling the interfaces and everything just fine. However I still get this error in my messages log.

 

Any Takers?

 

Thanks,

Flan

 

Recognized Expert
benb
Posts: 205
Registered: ‎11-05-2007
0

Re: SNMP issue...

 


flan828 wrote:

I have something along the same lines. However, I did the xxx@routing-instance to do the snmp. Now I have an error in my /var/log/messages that states snmpd_auth_failure: nsa_log_community: unauthorized snmp community from x.x.x.x to unknown community name (xxx@routing-instance).

 

The funny part of it is that its polling the interfaces and everything just fine. However I still get this error in my messages log.

 

Any Takers?

 

Thanks,

Flan

 


 

 

This matches the symptoms, documented in PR451869.  As you indicated, it is a cosmetic issue.  The problem is fixed in JUNOS 10.0 and later.

 

Regards,

Ben

Contributor
elboertjie
Posts: 35
Registered: ‎06-12-2014
0

Re: SNMP issue...

[ Edited ]

We are running Junos 12.3R2 on an MX960 and we are also getting this error message:

 

Aug  1 13:22:11.888 2014  OURBOXNAME snmpd[1730]: SNMPD_AUTH_FAILURE: nsa_log_community: unauthorized SNMP community from x.x.x.x to y.y.y.y (p
ublic)

 

Any other ideas as to what causes this message?

 

Thank you

Super Contributor
ckim
Posts: 74
Registered: ‎01-09-2009
0

Re: SNMP issue...

is y.y.y.y an address in default routing-instance and you have snmp community public to serve x.x.x.x ?

/Charlie

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.