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

Page 115

Advertising
background image

Multi-Service IronWare QoS and Traffic Management Configuration Guide

101

53-1003037-02

Configuring QoS

4

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

To set the values of an Egress Encode PCP 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)# pcp encode-map Customer1

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

3

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

The priority keyword together with the priority-value variable specifies the priority value that the
egress packets will be marked with. 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 pcp-value variable specifies the value that will be marked onto the PCP 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.

Configuring an Egress Encode EXP policy map

The following procedures are used when configuring an Egress Encode EXP Policy Map:

Naming an Egress Encode EXP Policy Map

Configuring an Egress Encode EXP Policy Map

Naming an Egress encode EXP policy map
Once you are in the QoS configuration level, can define the name of an Egress Encode EXP Policy
Map using the exp encode-map command, as shown in the following.

Brocade(config)# qos-mapping

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

Syntax: [no] exp encode-map map-name

The map-name variable specifies the name of the Egress Encode EXP Policy Map that you are
defining. It can be up to 64 characters in length. You can specify the same policy map name for
different types of policy maps. For example, you can use the same name for an Egress Encode EXP
Policy and an Egress Encode DSCP Policy Map.

The no option is used to delete a currently configure Egress Encode EXP Policy Map. If the policy
map is currently in use, the no command will be rejected and an error message will be displayed.

Advertising