3 policy – PLANET XGS3-24040 User Manual
Page 223
14-89
Default DSCP-to-CoS Map
DSCP Value 0–7 8–15 16–23 24–31 32–39 40–47 48–55 56–63
CoS Value
0
1 2 3 4 5 6 7
Default IP-Precedence-to-DSCP Map
IP Precedence Value
0 1
2
3
4
5
6
7
DSCP Value
0 8
16 24 32 40 48 56
dscp-mutation and policed-dscp are not configured by default
Command mode:
Global Mode
Usage Guide:
The dscp which in cos-dscp, dscp-cos, ip-prec-dscp, dscp-mutation fingers dscp-inside value.
Because of the dscp-inside value have 64 and that the chip priority-inside only 8, the dscp-cos
mapping need 8 continuum dscp-inside mapping to the same cos, in other words, dscp 0-7 mapping
the same cos value.
Example:
1. Setting the CoS-to-DSCP mapping value to the default 0 8 16 24 32 40 48 56 to 0 1 2 3 4 5 6 7.
Switch(config)#mls qos map cos-dscp 0 1 2 3 4 5 6 7
2. Mapping DSCP 1, 2 to COS 7.
Switch(config)#mls qos map dscp-cos 1 2 to 7
14.7.3 policy
Command:
Single Bucket Mode:
policy
policed-dscp-transmit | transmit) } )
no
policy
({conform-action (drop |
set-dscp-transmit
exceed-action (drop | policed-dscp-transmit | transmit)})
Dual Bucket Mode:
policy
set-prec-transmit
| transmit) exceed-action (drop |
policed-dscp-transmit | transmit) | violate-action (drop | policed-dscp-transmit | transmit)})
no
policy
set-prec-transmit
transmit) exceed-action (drop |
policed-dscp-transmit | transmit) | violate-action (drop | policed-dscp-transmit | transmit)})
Function:
The non-aggregation policer command supporting three colors. Determine whether the working
mode of token bucket is singe rage single bucket, single rate single bucket, single rate dual bucket