Example
The following example configures mapping for user priority 1 and traffic class 2.
console(config)#classofservice dot1p-mapping 1 2
classofservice ip-dscp-mapping
Use the classofservice ip-dscp-mapping command in Global Configuration mode to map an IP
DSCP value to an internal traffic class.
Syntax
classofservice ip-dscp-mapping
ipdscp — Specifies the IP DSCP value to which you map the specified traffic class. (Range:
•
0–63 or an IP DSCP keyword – af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42,
af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef)
trafficclass — Specifies the traffic class for this value mapping. (Range: 0–6)
•
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays mapping for IP DSCP 1 and traffic class 2.
console(config)#classofservice ip-dscp-mapping 1 2
classofservice trust
Use the classofservice trust command in either Global Configuration mode or Interface
Configuration mode to set the class of service trust mode of an interface. To set the interface
mode to untrusted, use the no form of this command.
Syntax
classofservice trust {dot1p|untrusted|ip-dscp}
no classofservice trust
392
QoS Commands
ipdscp trafficclass