16-17
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 16 Connection Settings
Monitoring Connections
hostname(config-pmap-c)#
set connection advanced-options tcp_map1
Step 7
Implement TCP State Bypass.
set connection advanced-options tcp-state-bypass
Step 8
If you are editing an existing service policy (such as the default global policy called global_policy), you
are done. Otherwise, activate the policy map on one or more interfaces.
service-policy
policymap_name
{
global
|
interface
interface_name
}
Example:
hostname(config)# service-policy global_policy global
The
global
keyword applies the policy map to all interfaces, and
interface
applies the policy to one
interface. Only one global policy is allowed. You can override the global policy on an interface by
applying a service policy to that interface. You can only apply one policy map to each interface.
Examples
The following example sets the connection limits and timeouts for all traffic:
hostname(config)#
class-map CONNS
hostname(config-cmap)#
match any
hostname(config-cmap)#
policy-map CONNS
hostname(config-pmap)#
class CONNS
hostname(config-pmap-c)#
set connection conn-max 1000 embryonic-conn-max 3000
hostname(config-pmap-c)#
set connection timeout idle 2:0:0 embryonic 0:40:0
half-closed 0:20:0 dcd
hostname(config-pmap-c)#
service-policy CONNS interface outside
You can enter
set connection
commands with multiple parameters or you can enter each parameter as a
separate command. The ASA combines the commands into one line in the running configuration. For
example, if you entered the following two commands in class configuration mode:
hostname(config-pmap-c)#
set connection conn-max 600
hostname(config-pmap-c)#
set connection embryonic-conn-max 50
The output of the
show running-config policy-map
command would display the result of the two
commands in a single, combined command:
set connection conn-max 600 embryonic-conn-max 50
Monitoring Connections
You can use the following commands to monitor connections:
•
show conn
Shows connection information. The “b” flag indicates traffic subject to TCP State Bypass.
•
show service-policy
Shows service policy statistics, including Dead Connection Detection (DCD) statistics.
Содержание ASA 5508-X
Страница 11: ...P A R T 1 Access Control ...
Страница 12: ......
Страница 60: ...4 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 4 Access Rules History for Access Rules ...
Страница 157: ...P A R T 2 Network Address Translation ...
Страница 158: ......
Страница 204: ...9 46 Cisco ASA Series Firewall CLI Configuration Guide Chapter 9 Network Address Translation NAT History for NAT ...
Страница 232: ...10 28 Cisco ASA Series Firewall CLI Configuration Guide Chapter 10 NAT Examples and Reference DNS and NAT ...
Страница 233: ...P A R T 3 Service Policies and Application Inspection ...
Страница 234: ......
Страница 379: ...P A R T 4 Connection Management and Threat Detection ...
Страница 380: ......
Страница 400: ...16 20 Cisco ASA Series Firewall CLI Configuration Guide Chapter 16 Connection Settings History for Connection Settings ...
Страница 414: ...17 14 Cisco ASA Series Firewall CLI Configuration Guide Chapter 17 Quality of Service History for QoS ...