Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

routing-instance (Security Source NAT)

Syntax

Hierarchy Level

Description

Specify the name of the user-defined routing instance to bind to the source NAT pool. The routing instance must already be configured under the routing-instances hierarchy and must be a virtual-router. This statement is optional. If you do not configure a routing instance, the pool belongs to the default routing instance inet.0.

Note:

You cannot explicitly specify default as the routing-instance-name for a source NAT pool. Configuring routing-instance default results in a commit error. If you want the source NAT pool to use the default routing instance (inet.0), omit the routing-instance statement entirely.

This behavior differs from destination NAT, where routing-instance default is a valid configuration. For destination NAT routing instance usage, see routing-instance (Security Destination NAT).

Options

routing-instance-name—Name of the routing instance.

Required Privilege Level

security—To view this statement in the configuration.

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

Release Information

Statement modified in Junos OS Release 9.6.