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

Reminder

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

upgrade

CLI-based Configuration Guide - Security

AR500, AR510, AR531, AR550, AR1500, and AR2500 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

Context

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.

Procedure

  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.

    NOTE:

    The default aging time is recommended.

    AR510 series (except AR515CGW-L) do not support the sip and sip-media keywords.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034236

Views: 95965

Downloads: 58

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