rule (Static NAT)

Syntax

rule rule-name {match {destination-address [destination-address];}then {static-nat prefix < addr-prefix ><routing-instance routing-instance-name >;}}

Hierarchy Level

[edit security nat static rule-set rule-set-name ]

Release Information

Statement introduced in Release 9.3 of Junos OS.

Description

Define a static NAT rule.

Options

rule-name —Name of the static NAT rule.

The remaining statements are explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

security—To view this statement in the configuration.

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