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

clear services nat source mappings

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear services nat source mappings
<app | eim | pcp>
subscriber private-ip [port port-num]  [service-set service-set]

Description

Clear services NAT source mappings. After one mapping is cleared, all the port block alloation blocks referring to that mapping are released.

Options

app

Clear all APP mappings.

app subscriber private-ip [port port-num] [service-set service-set ]

Clear one APP mapping by matching conditions

eim

Clear all EIM mappings.

eim subscriber private-ip [port port-num] [service-set service-set ]

Clear one EIM mapping by matching conditions

pcp

Clear all PCP mappings.

Required Privilege Level

view

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

content_copy zoom_out_map
user@host> clear services nat source mappings eim             
NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

clear service nat source mappings eim subscriber 2.1.1.1

content_copy zoom_out_map
user@host> clear service nat source mappings eim subscriber 2.1.1.1             
NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

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

content_copy zoom_out_map
user@host> clear services nat source mappings subscriber 2.1.1.1 port 1026 service-set ss1             
NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

clear services nat source mappings app

content_copy zoom_out_map
user@host> clear services nat source mappings app             
  NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

clear services nat source mappings app subscriber 2.1.1.1

content_copy zoom_out_map
user@host> clear services nat source mappings app subscriber 2.1.1.1             
  NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

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

content_copy zoom_out_map
user@host> clear services nat source mappings app subscriber 2.1.1.1 port 1026 service-set ss1             
  NAT pool                        Mappings removed   Sessions removed
Test-pool                                               1                  0

Release Information

Command introduced in Junos OS Release 19.3R2.

footer-navigation