Difference between revisions of "SNMP From Within A Routing-Instance"
Jump to navigation
Jump to search
(Created page with "If you want to do SNMP polling from within a routing-instance on a Juniper (EX for sure, not sure if it's the same on the MX), you need to adjust the config as follows: <PRE>...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | If you want to do SNMP polling from within a routing-instance on a Juniper (EX for sure, not sure if it's the same on the MX), you need to adjust the config as follows: | + | If you want to do SNMP polling from within a routing-instance on a Juniper (EX and SRX for sure, not sure if it's the same on the MX), you need to adjust the config as follows: |
<PRE> | <PRE> | ||
snmp { | snmp { | ||
Line 16: | Line 16: | ||
</PRE> | </PRE> | ||
− | Then, the SNMP | + | Then, the SNMP server polling the device from within the routing-instance needs to adjust the SNMP community to be '''routing-instance@community''' |
<PRE> | <PRE> | ||
INSTANCE2@MyROString | INSTANCE2@MyROString | ||
</PRE> | </PRE> | ||
+ | |||
+ | <!-- Last needed this on 20250512 --> |
Latest revision as of 09:40, 13 May 2025
If you want to do SNMP polling from within a routing-instance on a Juniper (EX and SRX for sure, not sure if it's the same on the MX), you need to adjust the config as follows:
snmp { community MyROString { authorization read-only; clients { 192.168.1.100/32; } routing-instance INSTANCE2 { clients { 10.10.10.100/32; } } } }
Then, the SNMP server polling the device from within the routing-instance needs to adjust the SNMP community to be routing-instance@community
INSTANCE2@MyROString