How to poll SNMP over routing instance
This article provides the needed steps to do SNMP polling inside a routing instance on EX system. If it is not configured correctly, SNMP polling will fail with similar error messages as below:
Jun 11 23:25:54 snmpd[817]: SNMPD_AUTH_RESTRICTED_ADDRESS: nsa_initial_callback: request from address 192.168.100.2 not allowed Jun 11 23:25:54 snmpd[817]: SNMPD_AUTH_FAILURE: nsa_initial_embedcomm: unauthorized SNMP community from 192.168.100.2 to unknown community name (public) Jun 11 23:25:56 snmpd[817]: SNMPD_AUTH_RESTRICTED_ADDRESS: nsa_initial_callback: request from address 192.168.100.2 not allowed Jun 11 23:25:56 snmpd[817]: SNMPD_AUTH_FAILURE: nsa_initial_embedcomm: unauthorized SNMP community from 192.168.100.2 to unknown community name (public)
To be able to perform SNMP polling inside a routing instance on the EX platform, refer to the minimal example configuration below :
{master:0}[edit] root# show routing-instances VRF1 { instance-type virtual-router; interface vlan.100; } {master:0}[edit] root# show snmp community public { routing-instance VRF1; } routing-instance-access;
routing-instance
routing-instance-access
routing-instance name@community string
VRF1@public