Identifying traffic (layer 3/4 class maps), Creating a layer 3/4 class map for through traffic – Cisco ASA 5505 User Manual

Page 650

Advertising
background image

32-12

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 32 Configuring a Service Policy Using the Modular Policy Framework

Identifying Traffic (Layer 3/4 Class Maps)

Traffic shaping can only be applied the to class-default class map.

Step 4

For the same class map, identify the priority policy map that you created in Step 2 using the
service-policy priority_policy_map command.

Step 5

Apply the shaping policy map to the interface accrding to

“Applying Actions to an Interface (Service

Policy)” section on page 32-17

.

Identifying Traffic (Layer 3/4 Class Maps)

A Layer 3/4 class map identifies Layer 3 and 4 traffic to which you want to apply actions. You can create
multiple Layer 3/4 class maps for each Layer 3/4 policy map.

This section includes the following topics:

Creating a Layer 3/4 Class Map for Through Traffic, page 32-12

Creating a Layer 3/4 Class Map for Management Traffic, page 32-14

Creating a Layer 3/4 Class Map for Through Traffic

A Layer 3/4 class map matches traffic based on protocols, ports, IP addresses and other Layer 3 or 4
attributes.

Detailed Steps

Command

Purpose

Step 1

class-map

class_map_name

Example:

hostname(config)# class-map all_udp

Creates a Layer 3/4 class map, where class_map_name is a string
up to 40 characters in length. The name “class-default” is
reserved. All types of class maps use the same name space, so you
cannot reuse a name already used by another type of class map.
The CLI enters class-map configuration mode.

Step 2

(Optional)

description

string

Example:

hostname(config-cmap)# description All UDP

traffic

Adds a description to the class map.

Step 3

Match traffic using one of the following:

Unless otherwise specified, you can include only one match
command in the class map.

match any

Example:

hostname(config-cmap)# match any

Matches all traffic.

Advertising