beautypg.com

Configuring a policer class map, Configuring a policer priority-map, Configuring a policer class – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 505: Configuring a policer, Priority-map

background image

3. Configure a policy-map to associate QoS and policing parameters to traffic belonging to specific

classification maps. Each policy-map can contain only one classification map. Refer to

Configuring

the policer policy-map

on page 506.

4. Bind the policy-map to a specific interface using the service-policy command. Refer to

Binding the

policy-map to an interface

on page 510.

For additional information refer to

Configuring policer functions

on page 504.

Configuring a policer class map

The classification map or class map classifies traffic based on match criteria that you configure using
the with the class-map command. If traffic matches the criteria, it belongs to the class. Currently, the
only match criterion is match any. With the match any criterion, traffic with any MAC address, IP
address, VLAN ID, IP precedence, Access Control List (ACL) security, or other identification belongs to
the class.

When you add the class map to a policy-map, the traffic belonging to the class is subject to actions of
the QoS and Policer parameters configured for the class-map in the policy-map. For more information
on these parameters, refer to

Policing parameters

on page 483.

To configure a class map, use the following steps:

1. Enter global configuration mode.

switch# configure terminal

2. Create an access-list (either MAC or IP) to define the traffic.

switch(config)# mac access-list standard ACL1

switch(conf-macl-std)# permit host 0000.00aa.aa00

switch(conf-macl-std)# exit

3. Create a class map by providing a class map name. This enables class-map configuration mode.

switch(config)# class-map class-1

The name for the class map (in this case default) can be a character string up to 64 characters.

NOTE
The "default" class-map name is reserved and intended to match everything. It is always created and
cannot be removed.

4. Provide match criteria for the class.

switch(config-classmap)# match access-list mac acl ACL1

5. Exit the class-map configuration mode.

switch(config-classmap)# exit

6. Return to privileged EXEC mode.

switch(config)# end

7. Enter the copy command to save the running-config file to the startup-config file.

switch# copy running-config startup-config

NOTE
Enter the no map class-map name command while in global configuration mode to remove the
classification map.

Configuring a policer priority-map

Add color-based priority CoS mapping by configuring a police priority-map. A police priority-map remaps
frame class of service CoS values (802.1p priority bits in VLAN tag) to conform or exceed color values
when rates conform to or exceed limits set in a classification map.

Configuring a policer class map

Network OS Administrator’s Guide

505

53-1003225-04