![Cisco ASA 5512-X Скачать руководство пользователя страница 272](http://html.mh-extra.com/html/cisco/asa-5512-x/asa-5512-x_configuration-manual_63717272.webp)
11-16
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 11 Connection Settings
Configure Connection Settings
The defaults described below assume you have not changed the global defaults for these behaviors using
the
timeout
command; the global defaults override the ones described here. Enter
0
to disable the timer,
so that a connection never times out.
•
set connection timeout embryonic
hh
:
mm
:
ss
—The timeout period until a TCP embryonic
(half-open) connection is closed, between 0:0:5 and 1193:00:00. The default is 0:0:30.
•
set connection idle
hh
:
mm
:
ss
[
reset
]—The idle timeout period after which an established
connection of any protocol closes, between 0:0:1 and 1193:0:0. The default is 1:0:0. For TCP traffic,
the
reset
keyword sends a reset to TCP endpoints when the connection times out.
The default
udp
idle timeout is 2 minutes. The default
icmp
idle timeout is 2 seconds. The default
esp
and
ha
idle timeout is 30 seconds. For all other protocols, the default idle timeout is 2 minutes.
•
set connection half-closed
hh
:
mm
:
ss
—The idle timeout period until a half-closed connection is
closed, between 0:5:0 (for 9.1(1) and earlier) or 0:0:30 (for 9.1(2) and later) and 1193:0:0. The
default is 0:10:0. Half-closed connections are not affected by DCD. Also, the ASA does not send a
reset when taking down half-closed connections.
•
set connection dcd
[
retry-interval
[
max_retries
]]—Enable Dead Connection Detection (DCD).
Before expiring an idle connection, the ASA probes the end hosts to determine if the connection is
valid. If both hosts respond, the connection is preserved, otherwise the connection is freed.
The
retry-interval
sets the time duration in
hh
:
mm
:
ss
format to wait after each unresponsive DCD
probe before sending another probe, between 0:0:1 and 24:0:0. The default is 0:0:15. The
max-retries
sets the number of consecutive failed retries for DCD before declaring the connection
as dead. The minimum value is 1 and the maximum value is 255. The default is 5.
Example:
hostname(config-pmap-c)#
set connection timeout idle 2:0:0 embryonic 0:40:0
half-closed 0:20:0 dcd
Step 5
Decrement time-to-live (TTL) on packets that match the class.
set connection decrement-ttl
This command, along with the
icmp unreachable
command, is required to allow a traceroute through
the ASA that shows the ASA as one of the hops.
Example:
hostname(config)#
class-map global-policy
hostname(config-cmap)#
match any
hostname(config-cmap)#
exit
hostname(config)#
policy-map global_policy
hostname(config-pmap)#
class global-policy
hostname(config-pmap-c)#
set connection decrement-ttl
hostname(config-pmap-c)#
exit
hostname(config)#
icmp unreachable rate-limit 50 burst-size 6
Step 6
Customize TCP Normalizer behavior by applying a TCP map.
set connection advanced-options
tcp-map-name
Example:
hostname(config-pmap-c)#
set connection advanced-options tcp_map1
Step 7
Implement TCP State Bypass.
set connection advanced-options tcp-state-bypass
Содержание ASA 5512-X
Страница 5: ...P A R T 1 Service Policies and Access Control ...
Страница 6: ......
Страница 50: ...3 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 3 Access Rules History for Access Rules ...
Страница 51: ...P A R T 2 Network Address Translation ...
Страница 52: ......
Страница 126: ...5 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 5 NAT Examples and Reference DNS and NAT ...
Страница 127: ...P A R T 3 Application Inspection ...
Страница 128: ......
Страница 255: ...P A R T 4 Connection Settings and Quality of Service ...
Страница 256: ......
Страница 288: ...12 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 12 Quality of Service History for QoS ...
Страница 303: ...P A R T 5 Advanced Network Protection ...
Страница 304: ......
Страница 339: ...P A R T 6 ASA Modules ...
Страница 340: ......
Страница 398: ...17 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 17 ASA CX Module History for the ASA CX Module ...