set ip dscp

Configures a Differentiated Services Code Point (DSCP) value for a route-map rule.

Syntax

set ip dscp dscp-value
no set ip dscp dscp-value

Command Default

A DSCP value is not configured.

Parameters

dscp-value
DSCP value. The valid range is from 0 through 63.

Modes

Route-map configuration mode

Usage Guidelines

The no form of the command removes the configuration.

Examples

The following example shows how to set a DSCP value of 23 for rule number 4 under a route map named rm.

device# configure terminal
device(config)# route-map rm permit 4
device(config-route-map-rm/permit/4)# set ip dscp 23