Junos
Junos

SNMP issue...

02.20.09   |  
‎02-20-2009 10:19 AM

(.......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.

6 REPLIES
Junos

Re: SNMP issue...

02.20.09   |  
‎02-20-2009 10:33 AM

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

Junos

Re: SNMP issue...

02.20.09   |  
‎02-20-2009 11:41 AM
FIXED!  Thanks!
Junos

Re: SNMP issue...

01.21.10   |  
‎01-21-2010 12:08 PM

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

 

Junos

Re: SNMP issue...

01.21.10   |  
‎01-21-2010 01:17 PM

 


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

Junos

Re: SNMP issue...

[ Edited ]
08.01.14   |  
‎08-01-2014 06:03 AM

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

Junos

Re: SNMP issue...

08.01.14   |  
‎08-01-2014 08:11 AM

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

/Charlie