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.


CLI-based Configuration Guide - Security

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
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).
(Optional) Configuring the Aging Time of the Firewall Session Table

(Optional) Configuring the Aging Time of the Firewall Session Table


The Router creates a session table for data flows of each protocol, such as TCP, UDP, and ICMP, to record the connection status of the protocol. An aging time is set for the session table. If a record in the session table does not match any packet within the aging time, the system deletes the record.

To change the aging time for a session of a protocol or a session with a user-defined TCP or UDP port as the destination port, you can configure the aging time of the firewall session table.


  1. Run system-view

    The system view is displayed.

  2. Run firewall-nat session { { dns | ftp | ftp-data | http | icmp | tcp | tcp-proxy | udp | sip | sip-media | rtsp | rtsp-media | pptp | pptp-data } | { tcp | udp } user-define port-number } aging-time time-value

    The aging time of the firewall session table is set.

    By default, the aging time of each protocol is as follows:
    • DNS: 120 seconds
    • FTP: 120 seconds
    • FTP-data: 120 seconds
    • HTTP: 120 seconds
    • ICMP: 20 seconds
    • TCP: 600 seconds
    • TCP-proxy: 10 seconds
    • UDP: 120 seconds
    • SIP: 1800 seconds
    • SIP-media: 120 seconds
    • RTSP: 60 seconds
    • RTSP-media: 120 seconds
    • PPTP: 600 seconds
    • PPTP-data: 600 seconds

    The default aging time of session entries on a user-defined TCP or UDP port is the same as that of the corresponding protocol.


    The default aging time is recommended.

Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 134459

Downloads: 242

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