Policy-map, Class, Policy-map class – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 485

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

435

53-1002581-01

Quality of Service Commands

22

Example

Console(config)#class-map rd-class#1

Console(config-cmap)#rename rd-class#9

Console(config-cmap)#

policy-map

This command creates a policy map that can be attached to multiple interfaces, and enters Policy
Map configuration mode. Use the no form to delete a policy map.

Syntax

[no] policy-map policy-map-name

policy-map-name - Name of the policy map. (Range: 1-32 characters)

Default Setting

None

Command Mode

Global Configuration

Command Usage

Use the policy-map command to specify the name of the policy map, and then use the

class

command to configure policies for traffic that matches the criteria defined in a class map.

A policy map can contain multiple class statements that can be applied to the same interface
with the

service-policy

command.

Create a Class Map (

page 435

) before assigning it to a Policy Map.

Example

This example creates a policy called “rd-policy,” uses the

class

command to specify the previously

defined “rd-class,” uses the set command to classify the service that incoming packets will receive,
and then uses the

police flow

command to limit the average bandwidth to 100,000 Kbps, the burst

rate to 4000 bytes, and configure the response to drop any violating packets.

Console(config)#policy-map rd-policy

Console(config-pmap)#class rd-class

Console(config-pmap-c)#set cos 0

Console(config-pmap-c)#police flow 10000 4000 conform-action transmit

violate-action drop

Console(config-pmap-c)#

class

This command defines a traffic classification upon which a policy can act, and enters Policy Map
Class configuration mode. Use the no form to delete a class map.

Syntax

[no] class class-map-name

class-map-name - Name of the class map. (Range: 1-32 characters)

Advertising