This article explains how to perform an SNMPv2 walk for a polling interface within a routing instance.
By default, an SNMPv2 walk performed from the SNMP server using only the community string operates solely within the default routing instance.
To access MIB objects and perform SNMP operations for routing instances, SNMPv2 clients must encode the routing instance name within the community string of their SNMP requests. The format is as follows:
routing-instance@community
Below is an example of an SNMPv2 walk command when polling an interface for a specific routing instance:
snmpwalk -v 2c -c default@juniper 10.10.10.1 system
For further information on SNMPv2 configuration and additional polling methods, please refer to the following document: [J/SRX/Junos] How to permit SNMPv1 and SNMPv2c polling for an interface in a routing instance/logical system