beautypg.com

Creating a policy map 6, Table 203. creating a policy map 6, Creating a policy map – Allied Telesis AT-FS970M Series User Manual

Page 1636

background image

Chapter 98: Quality of Service (QoS)

1636

Creating a Policy Map

After you have created one or more class maps, you need to create a
policy map which allows you to group class maps together. A policy map
allows you to set actions on traffic that meet all of the match criterion
contained in the class maps. Typically, you create a policy map that
contains class maps with uniquely defined criterion.

In the case of conflicting match criterion, the precedence value of the class
maps is determined by the order they are assigned to the policy map. The
first class map assigned to a policy map has precedence over the second
class map added to the policy map and so on. To display the order that
class maps are assigned to a policy map, use the SHOW POLICY MAP
command. See “SHOW POLICY-MAP” on page 1665.

Another important aspect of a policy map is that you can assign it to a port.
(You cannot assign a class map directly to a port.) When you assign a
policy map to a port, you apply all of the match criterion contained in the
class maps to the port.

You can assign up to 5 class maps to one policy map with the POLICY-
MAP command. For more information about this command, see “POLICY-
MAP” on page 1657.

The following example creates a policy map called “pmap1”, enters the
Policy Map Configuration mode, and adds a description of “Video traffic” to
this policy.

Table 203. Creating a Policy Map

Command

Description

awplus> enable

Enter the Privileged Executive mode from the User
Executive mode.

awplus# configure terminal

Enter the Global Configuration mode.

awplus(config)# policy-map pmap1

Create a policy called “pmap1.”

awplus(config-pmap)# description
Video traffic

Add a description of “Video traffic” to the policy
map.