- routing-instance routing-instance-name;
- [edit snmp community community-name],
- [edit snmp community community-name logical-system logical-system-name],
- [edit snmp trap-group group]
Statement introduced in JUNOS Release 8.3.
Added to [edit snmp community community-name] hierarchy level in JUNOS Release 8.4
Added to [edit snmp community community-name logical-system logical-system-name] in JUNOS Release 9.1
Specify a routing instance for SNMPv1 and SNMPv2 trap targets. All targets configured in the trap group use this routing instance.
routing-instance-name—Name of the routing instance.
If the routing instance is defined within a logical system, include the logical-system logical-system-name statement at the [edit snmp community community-name] hierarchy level and then, specify the routing-instance statement under the [edit snmp community community-name logical-system logical system-name] hierarchy level.
See Configuring SNMP Trap Groups and Specifying a Routing Instance in an SNMPv1 or SNMPv2c Community.
snmp—To view this statement in the configuration.
snmp-control—To add this statement to the configuration.