Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


inet (Security Static NAT)


Hierarchy Level


Specify the automatic translation of IPv6 addresses to IPv4 addresses (and vice versa).


If you use this option, you do not need to use the prefix option because with this option, the first 96 most significant bits are automatically stripped from the 128-bit IPv6 address.


  • routing-instance routing-instance-name —Use the user-defined static NAT routing-instance to perform static NAT.

  • default—Use the default routing-instance to perform static NAT. When a routing-instance-name is not provided, the default routing-instance primary is used, which refers to the main inet.0 (for IPv4 unicast routes) routing table or inet.6 (for IPv6 unicast routes) routing table.

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.