clear services nat source mappings
Syntax
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.
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
- 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
clear services nat source mappings eim
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
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
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
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
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
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.