Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

clear services nat source mappings

 

Syntax

Release Information

Command introduced in Junos OS Release 19.3R2.

Description

Clear services NAT source mappings.

Options

appClear all APP mappings.
app subscriber private-ip [port port-num] [service-set service-set ]Clear one APP mapping by matching conditions
eimClear all EIM mappings.
eim subscriber private-ip [port port-num] [service-set service-set ]Clear one EIM mapping by matching conditions
pcpClear all PCP mappings.

Required Privilege Level

view

List of Sample Output

clear services nat source mappings eim

clear service nat source mappings eim subscriber 2.1.1.1

clear services nat source mappings subscriber 2.1.1.1 port 1026 service-set ss1

clear services nat source mappings app

clear services nat source mappings app subscriber 2.1.1.1

clear services nat source mappings app subscriber 2.1.1.1 port 1026 service-set ss1

Output Fields

Table 1 lists the output fields for the clear services nat source mappings command. Output fields are listed in the approximate order in which they appear.

Table 1: clear services nat source mappings Output Fields

Field Name

Field Description

NAT pool

Name of the NAT pool.

Mappings removed

Number of mappings removed.

Sessions removed

Number of sessions removed.

Sample Output

clear services nat source mappings eim

user@host> clear services nat source mappings eim

clear service nat source mappings eim subscriber 2.1.1.1

user@host> clear service nat source mappings eim subscriber 2.1.1.1

clear services nat source mappings subscriber 2.1.1.1 port 1026 service-set ss1

user@host> clear services nat source mappings subscriber 2.1.1.1 port 1026 service-set ss1

clear services nat source mappings app

user@host> clear services nat source mappings app

clear services nat source mappings app subscriber 2.1.1.1

user@host> clear services nat source mappings app subscriber 2.1.1.1

clear services nat source mappings app subscriber 2.1.1.1 port 1026 service-set ss1

user@host> clear services nat source mappings app subscriber 2.1.1.1 port 1026 service-set ss1