Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


routing-instance (System Scripts)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 18.1R1 on MX Series and PTX Series routers and QFX Series switches.


Configure the routing instance you want to use to update automation scripts. To use a management instance, configure the management-instance statement along with the routing-instance statement, thus enabling commit, op, and SNMP scripts to use the non-default management routing instance mgmt_junos when refreshing the scripts.


routing-instance-nameName of the routing instance. For the management instance, use mgmt_junos. Otherwise, you can specify any routing instance name.

You must also define the routing instance under the [edit routing-instances] hierarchy level.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.