Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 117

Advertising
background image

Multi-Service IronWare QoS and Traffic Management Configuration Guide

103

53-1003037-02

Configuring QoS

4

Globally binding an Egress encode DSCP policy map
You can bind an Egress Encode DSCP Policy Map globally for a Brocade device using the qos dscp
encode-policy command as shown in the following.

Brocade(config)# qos dscp encode-policy Customer1

Syntax: [no] qos dscp encode-policy encode-map-name | default-map | all-zero-map

The encode-map-name variable is the name assigned to the Egress Encode DSCP Policy Map that
you want applied globally on the device. If you try to apply a encode-map-name value that has not
been defined, the configuration will be rejected. If the encode-map-name value that has been
defined but the policy has not been configured, the configuration will be accepted and the
default-map will be applied.

The default-map option assigns the default Egress Encode DSCP Policy Map globally on the device.
Since the default Egress Encode DSCP Policy Map is the default setting, this option is only required
when the device has been previously set to a different Egress Encode DSCP Policy Map. When
configured globally, the qos dscp encode-policy default-map command will not be displayed within
the configuration even if it is explicitly configured.

The all-zero-map option assigns an Egress Encode DSCP Policy Map where all 32 combinations of
priority and drop precedence are mapped to 0.

The no option allows you to withdraw a previously configured encode policy. If the qos dscp
encode-policy command is not configured, then the no qos pcp encode-policy command will
generate an error message.

The no option allows you to withdraw a previously configured encode policy. If the qos dscp
encode-policy default-map command is not configured, then the no qos dscp encode-policy
default-map command will still be allowed because the qos dscp encode-policy default-map is the
default configuration.

Binding an Egress encode DSCP policy map to a port
You can bind an Egress Encode DSCP Policy Map to a specified port on a Brocade device using the
qos dscp encode-policy command within an interface configuration, as shown in the following.

Brocade(config)# interface ethernet 10/1

Brocade(config-if-e10000-10/1)qos dscp encode-policy Customer1

Brocade(config-if-e10000-10/1)qos dscp encode-policy on

Syntax: [no] qos dscp encode-policy encode-map-name | default-map | all-zero-map

NOTE

The qos dscp encode-policy on command is shown in this example because unlike PCP or EXP, the
DSCP encode policy is off by default.

The encode-map-name variable is the name assigned to the Egress Encode DSCP Policy Map that
you want applied to the port whose configuration this is under.

The default-map option assigns the default Egress Encode DSCP Policy Map to the port whose
configuration this is under. Since the default Egress Encode DSCP Policy Map is the global default
setting, this option is only required when the device’s global map has been set to an Egress Encode
DSCP Policy Map other than the default. The qos dscp encode-policy command will not be
displayed within the configuration unless it is explicitly configured.

The all-zero-map option assigns an Egress Encode DSCP Policy Map where all 32 combinations of
priority and drop precedence are mapped to 0.

Advertising