Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode Commands (A-C)
clear nat-ip ▀
Command Line Interface Reference, StarOS Release 18 ▄
3953
clear nat-ip
Clears the NAT IP addresses forcibly from NAT pools.
Product
NAT
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
clear nat-ip { ip_address | pool pool_name } context context_name [ -noconfirm ]
ip_address
Specifies the NAT IP address to be released from subscribers, in IPv4 dotted-decimal notation.
pool pool_name
Specifies the NAT pool name, that is an existing IP pool or IP pool group, specified as an alphanumeric string
of 1 through 31 characters.
of 1 through 31 characters.
context context_name
Clears statistics for the VPN context name where the NAT pool belongs to, specified as an alphanumeric
string of 1 through 79 characters.
string of 1 through 79 characters.
-noconfirm
Executes the command without any additional prompt and confirmation from the user.
Usage
Use this command to clear the NAT IP addresses from Session Manager to VPN for NAT pools, by forcibly
releasing the IP addresses from the subscriber calls.
releasing the IP addresses from the subscriber calls.
Example
The following command clears the NAT IP statistics for the configured IP address
1.1.1.1
in the
test123
VPN context:
clear nat-ip 1.1.1.1 context test123
The following command clears the NAT IP statistics for the
pool1
NAT pool in the
test123
VPN context
without user confirmation:
clear nat-ip pool pool1 context test123 -noconfirm