3com 3CRUS2475 Manuale Utente

Pagina di 522
124
C
HAPTER
 9: Q
O
S C
OMMANDS
Example
The following example displays all policy maps.
trust cos-dscp
The trust cos-dscp Policy-map Class Configuration mode command 
configures the trust state. The trust state determines the source of the 
internal DSCP value used by Quality of Service (QoS). To restore the 
default configuration, use the no form of this command.
Syntax
trust cos-dscp
no trust cos-dscp
Default Configuration
The port is not in the trust mode.
If the port is in trust mode, the internal DSCP value is derived from the 
ingress packet.
Command Mode
Policy-map Class Configuration mode
User Guidelines
Action serviced to a class, so that if an IP  packet arrives, the queue is 
assigned per DSCP. If a non-IP packet arrives, the queue is assigned per 
CoS (VPT).
Console# show policy-map
Policy Map policy1
class class1
set Ip dscp 7
Policy Map policy2
class class 2
police 96000 4800 exceed-action drop
class class3
police 124000 96000 exceed-action policed-dscp-transmit