1-12
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring the ASA for Cisco Cloud Web Security
Configuring Cisco Cloud Web Security
Step 10
match access-list
acl1
Example:
hostname(config-cmap)# match access-list
SCANSAFE_HTTP
Specifies an ACL created in
Although you can use other match statements for this rule, we
recommend using the
match access-list
command because it is
the most versatile for identifying HTTP or HTTPS-only traffic.
See the
“Identifying Traffic (Layer 3/4 Class Maps)” section on
for more information.
Step 11
class-map
name2
match access-list
acl2
Example:
hostname(config)# class-map cws_class2
hostname(config-cmap)# match access-list
SCANSAFE_HTTPS
(Optional) Creates an additional class map, for example for
HTTPS traffic. You can create as many classes as needed for this
service policy rule.
Step 12
policy-map
name
Example:
hostname(config)# policy-map cws_policy
Adds or edits a policy map that sets the actions to take with the
class map traffic. The policy map in the default global policy is
called global_policy. You can edit this policy, or create a new one.
You can only apply one policy to each interface or globally.
Step 13
class
name1
Example:
hostname(config-pmap)# class cws_class1
Identifies the class map created in
.
Step 14
inspect scansafe
scansafe_policy_name1
[
fail-open
|
fail-close
]
Example:
hostname(config-pmap-c)# inspect scansafe
cws_inspect_pmap1 fail-open
Enables Cloud Web Security inspection on the traffic in this class.
Specify the inspection class map name that you created in
.
Specify
fail-open
to allow traffic to pass through the ASA if the
Cloud Web Security servers are unavailable.
Specify
fail-close
to drop all traffic if the Cloud Web Security
servers are unavailable.
fail-close
is the default.
Step 15
class
name2
inspect scansafe
scansafe_policy_name2
[
fail-open
|
fail-close
]
Example:
hostname(config-pmap)# class cws_class2
hostname(config-pmap-c)# inspect scansafe
cws_inspect_pmap2 fail-open
(Optional) Identifies a second class map that you created in
, and enables Cloud Web Security inspection for it.
You can configure multiple class maps as needed.
Step 16
service-policy
policymap_name
{
global
|
interface
interface_name
}
Example:
hostname(config)# service-policy
cws_policy inside
Activates the policy map on one or more interfaces.
global
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. See the
“Applying Actions to an Interface (Service
for more information.
Command
Purpose
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......