prefix (Security Static NAT)
Syntax
prefix { address-prefix; mapped-port lower-port-range to upper-port-range; routing-instance (routing-instance-name| default); }
Hierarchy Level
[edit security nat static rule-set rule-set-name rule rule-name then static-nat]
Description
Specify a static IP address prefix.
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.