beautypg.com

Class – Brocade Network OS Command Reference v4.1.0 User Manual

Page 120

background image

82

Network OS Command Reference

53-1003115-01

class

2

class

Creates a class-map in a policy-map and enters the class-map configuration mode. he class-map
must have been created and associated with match criteria using the class-map command. (Refer
to qos cos.)

Synopsis

class class-map name

no class class-map name

Operands

class-map name

The designated name for the class-map.

Defaults

No created policy-map.

Command Modes

Global configuration mode

Description

Use this command to configure a class-map for a police policy-map with QoS and policing
parameters for inbound or outbound traffic. When you launch the class command while in
config-policymap mode (refer to policy-map) for a policy, the system is placed in “configure
policy-map classification” (config-policymap-class) mode. Once this is done you can configure QoS
and policing parameters for the class-map using the commands for the specific parameters. The
commands that set the parameters for a class-map are:

cbs

eir

ebs

conform-set-dscp

conform-set-prec

conform-set-tc

exceed-set-dscp

exceed-set-prec

exceed-set-dscp

police cir

set-priority

Usage Guidelines

The QoS and policing parameters define the cir, cbs, ebr, and eir rates and the actions that must
occur when traffic conforms or exceeds designated rates. For more details on these parameters,
refer to the “Port-based Policer” section in the QoS Configuration chapter of the Network OS
Administrator’s Guide
. Each policy-map can contain one class-map.

Enter the no policy-map name command to remove the policy-map. Associate the policy-map to
the interface for inbound or outbound direction with the service-policy command (refer to
service-policy).

Enter no police while in config-policymap-class mode to remove all policing parameters for the
class-map.

Enter no police command followed by a policing parameter name to remove a specific parameter.