Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

term (Services NAT)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
term term-name {
    from {
        application-sets set-name;
        applications [ application-names ];
        destination-address (address | any-unicast) <except>;
        destination-address-range low minimum-value high maximum-value <except>;
        destination-port range high maximum-value low minimum-value;
        source-address (address | any-unicast) <except>;
        source-address-range low minimum-value high maximum-value <except>;
    }
    then {
        no-translation;
        port-forwarding-mappings map-name;
        translated {
            address-pooling paired;
            clat-prefix clat-prefix;
            destination-pool nat-pool-name;
            destination-prefix destination-prefix;
            dns-alg-pool dns-alg-pool;
            dns-alg-prefix dns-alg-prefix;
            filtering-type endpoint-independent;
            mapping-type endpoint-independent;
            source-pool nat-pool-name;
            source-prefix source-prefix;
            translation-type (basic-nat-pt | basic-nat44 | basic-nat66 | dnat-44 | deterministic-napt44 | deterministic-napt64 |dynamic-nat44 | napt-44 | napt-66 | napt-pt | stateful-nat464 | stateful-nat64 | twice-basic-nat-44 | twice-dynamic-nat-44 | twice-napt-44);
            }
        }
        syslog;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services nat rule rule-name]

Description

Define the NAT term properties.

Options

term-name

Identifier for the term.

The remaining statements are explained separately.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation