54-10
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter54 Configuring QoS
Configuring QoS
Examples
Example 54-1 Class Map Examples for VPN Traffic
In the following example, the class-map command classifies all non-tunneled TCP traffic, using an
access list named tcp_traffic:
hostname(config)# access-list tcp_traffic permit tcp any any
Step6 class policing_map_name
Example:
hostname(config-pmap)# class
policing_class
Identifies the class map you created for policed traffic in Step1.
Step7 police {output | input} conform-rate
[conform-burst] [conform-action [drop |
transmit]] [exceed-action [drop |
transmit]]
Example:
hostname(config-pmap-c)# police output
56000 10500
Configures policing for the class. See the followingoptions:
conform-burst argument—Specifies the maximum number of
instantaneous bytes allowed in a sustained burst before
throttling to the conforming rate value, between 1000 and
512000000 bytes.
conform-action—Sets the action to take when the rate is less
than the conform_burs t value.
conform-rate—Sets the rate limit for this traffic flow;
between 8000 and 2000000000 bits per second.]
drop—Drops the packet.
exceed-action—Sets the action to take when the rate is
between the conform-rate value and the conform-burst value.
input—Enables policing of traffic flowing in the input
direction.
output—Enables policing of traffic flowing in the output
direction.
transmit—Transmits the packet.
Step8 class priority_map_name
Example:
hostname(config-pmap)# class
priority_class
Identifies the class map you created for prioritized traffic in
Step 3.
Step9 priority
Example:
hostname(config-pmap-c)# priority
Configures priority queuing for the class.
Step10 service-policy policymap_name {global |
interface interface_name}
Example:
hostname(config)# service-policy
QoS_policy interface 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.
Command Purpose