No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
reset nat session

reset nat session


The reset nat session command deletes entries from the NAT mapping table.


reset nat session { all | transit interface interface-type interface-number }






Deletes all entries from the NAT mapping table.



Deletes the entries of traffic passing a specified interface.


interface interface-type interface-number

Indicates the type and number of an interface.



System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the configurations of nat alg, nat server, and nat outbound are changed, the packets are not forwarded based on new configurations. You can run the reset nat session command to make the new configurations take effect. This command can be used to delete all entries or the entries of traffic passing a specified interface from the NAT mapping table.


  • After this command is used, entries are deleted from the NAT mapping table and the NAT configurations are modified immediately.
  • After this command is executed, you must wait at least 10 seconds if you need to run the command again; otherwise, an error message is displayed.
  • If all entries are deleted, communication among certain sessions may be affected for a short period.


# Delete all entries from the NAT mapping table.

<Huawei> system-view
[Huawei] reset nat session all
Warning:The current all NAT sessions will be deleted. 
Are you sure to continue?[Y/N] y
Related Topics
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 203052

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next