Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

prefix (Security Static NAT)

Syntax

Hierarchy Level

Description

Specify a static IP address prefix.

Note:

If you use the inet option for translation of IPv6 to IPv4 addresses (and vice versa), you do not need to specify a prefix because the inet option automatically strips the first 96 most significant bits from the 128-bit IPv6 address.

Options

  • address-prefix—Specify address prefix.

  • mapped-port lower-port-range to upper-port-range—Specify a destination port or port range to allow static NAT to map ports.

  • routing-instance —Specify routing instance type:

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

    • default—Use the default 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.