SNMP From Within A Routing-Instance

From Baranoski.ca
Revision as of 15:00, 18 October 2021 by Casey (talk | contribs) (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>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

snmp {
    community MyROString {
        authorization read-only;
        clients {
            192.168.1.100/32;
        }
        routing-instance INSTANCE2 {
            clients {
                10.10.10.100/32;
            }
        }
    }
}

Then, the SNMP poller within the routing-instance needs to adjust the SNMP community to be routing-instance@community

INSTANCE2@MyROString