beautypg.com

Binding an egress encode exp policy map, Binding an egress encode dscp policy map – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 116

background image

102

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Configuring QoS

4

NOTE

The name “default-map” cannot be used because it is reserved for standard mappings as described
in

“Default QoS mappings”

on page 79.

Configuring an Egress encode EXP policy map
Once you have named an Egress Encode EXP Policy Map using the exp encode-map command, you
can set the values of the named encode policy map. Setting the values in an Egress Encode EXP
Policy Map involves specifying an EXP value to be marked in outgoing packets for a specified
priority value (0 - 7) and optionally a drop precedence value (0 - 3).

To set the values of an Egress Encode EXP Policy Map, first specify name of the policy map and
then populate the values in the policy map using the priority command as shown in the following.

Brocade(config)# qos-mapping

Brocade(config-qos-mapping)# exp encode-map Customer1

Brocade(config-qos-mapping-exp-encode)# priority 7 drop-precedence 2 to exp-value

3

Syntax: [no] priority priority-value [drop-precedence dp-value] [dp-value] to exp-value exp-value

The priority keyword together with the priority-value variable specifies the internal forwarding value
of the egress packets. The priority-value variable can be a value between 0 and 7. For unspecified
priority values, the default mapping values are used.

The drop-precedence keyword is an optional parameter that allows you to specify a dp-number
variable that represents the drop precedence value that you specify in addition to a priority
priority-value value. The dp-number variable can be a value between 0 and 3. Multiple dp-number
variables can be configured in a single command. The default value is “any” which means that drop
priorities 0 - 3 are assigned. If a drop precedence value is specified only for a subset of values, the
entries with unspecified values will be initialized as specified in the default mapping.

The exp-value variable specifies the value that will be marked onto the EXP bits within the packet
header of the outgoing packets. This applies to packets that match the priority and drop
precedence values specified in this command.

The [no] option allows you to negate a previously configured value and return to the default
mapping for the specified priority and drop precedence values.

Binding an Egress encode EXP policy map

You can bind an Egress Encode Policy map globally or per-port using either the default policy map,
an all zero policy map, or a user defined policy map. Additionally, for PCP, you can bind the following
pre-defined policy maps: 7P1D, 6P2D, and 5P3D. The following procedures describe how to bind
Egress Encode Policy Maps:

Binding an Egress Encode DSCP Policy Map

Binding an Egress Encode PCP Policy Map

Binding an Ingress Encode EXP Policy Map

Binding an Egress encode DSCP policy map

The following procedures describe how to configure the binding of an Egress Encode DSCP Policy
Map:

Globally Binding an Egress Encode DSCP Policy Map

Binding an Egress Encode DSCP Policy Map to a Port