[an error occurred while processing this directive][an error occurred while processing this directive]

Specifying a Routing Instance in an SNMPv1 or SNMPv2c Community

You can specify the routing instance along with the client information when you add a client to an SNMP community. To specify the routing instance to which a client belongs, include the routing-instance statement followed by the routing instance name and client information in the SNMP configuration.

The following example shows the configuration statement to add routing instance test-ri to SNMP community community1.

Note: Routing instances specified at the [edit snmp community community-name] hierarchy level are added to the default logical system in the community.

[edit snmp]community community1 {clients {;}routing-instance test-ri {clients {;}}}

If the routing instance is defined within a logical system, include the routing-instance statement at the [edit snmp community community-name logical-system logical-system-name] hierarchy level, as in the following example:

[edit snmp]community community1 {clients {;}logical-system test-LS {routing-instance test-ri {clients {;}}}}

Published: 2010-04-27

[an error occurred while processing this directive]