Configuration Commands : qos-map set

qos-map set
Description
The qos-map set command specifies or modifies the set statement in a QoS map entry. You cannot use a set command until you first issue a match command.
Syntax
qos-map <qos map name> <priority value> set traffic-class <traffic class ID>
qos-map <qos map name> <priority value> set traffic-class <traffic class ID> lan-qos {trust-lan | <dscp value>} wan-qos {trust-lan | <dscp value>}
qos-map <qos map name> <priority value> set lan-qos {trust-lan | <dscp value>}
qos-map <qos map name> <priority value> set wan-qos {trust-lan | <dscp value>}
Arguments
qos-map <qos map name>
traffic-class <traffic class ID>
lan-qos {trust-lan | <dscp value>}
With lan-qos, trust-lan indicates that the DSCP marking should not change. In other words, the DSCP setting in the inner, encapsulated packet that comes in is the same one that goes out.
wan-qos {trust-lan | <dscp value>}
With wan-qos, trust-lan indicates that the marking of the outer packet follows the marking of the inner packet.
Defaults
By default, the set part of the default optimization map entry (priority 65535) is:
n
Command Mode
Global Configuration Mode
See Also
See the following related commands:
n
n
n
n
n
n
Usage Guidelines
You cannot create a set command for an entry until you first issue a match command. And, until you create a set command, no Set Actions exist for that entry’s priority.
When you create the first qos-map set command for a priority with the CLI and you use a syntax that doesn’t specify all three Set Actions, the CLI automatically creates the rest as defaults in the background.
For example, if your first set command for priority “10” in “map1” is:
(config) # qos-map map1 10 set lan-qos be
then, the CLI also creates the following two additional entries behind the scenes:
(config) # qos-map map1 10 set traffic-class 1
(config) # qos-map map1 10 set wan-qos trust-lan
You can verify these results by using the command, “show qos-map”.
 
For pass-through traffic, any lan-qos specification is ignored. Any wan-qos specification is placed in the ToS field of the packet.
Examples
None.

Please send comments or suggestions regarding user documentation to techpubs@silver-peak.com.