Cabletron Systems SmartSwitch User Manual
Page 290

Chapter 19: QoS Configuration Guide
290
SmartSwitch Router User Reference Manual
The
conjunction with each other to define which bit in the
significant. The
rewritten in the ToS Precedence field (the first three bits of the ToS octet). The
value ranges from 0 to 31 and is the value that is rewritten in the ToS field (the last five bits
of the ToS octet, which includes both the ToS field and the MBZ bit).
The ToS byte rewrite is part of the QoS priority classifier group. The entire ToS byte can be
rewritten or only the precedence part of the ToS byte can be rewritten. If you specify a
value for
changed. If you set
then the upper three bits remain unchanged and the lower five bits are rewritten. If you
specify values for both
are rewritten to the
the
For example, the following command will rewrite the ToS Precedence field to 7 if the ToS
Precedence field of the incoming packet is 6:
In the above example, the
value of 224 (binary value 1110 0000) are ANDed together to specify the ToS Precedence
field value of 6 (binary value 110). Changing the value in the
determines the bit in the ToS octet field that will be examined.
The following example will rewrite the ToS Precedence and the ToS fields to 5 and 30 if the
incoming packet is from the 10.10.10.0/24 network with the ToS Precedence field set to 2
MBZ
ToS
Precedence
7
6
5
4
3
2
1
0
<tos-precedence-rewrite>
<tos-rewrite>
0-7
0-31
ssr(config)# qos set ip tosp6to7 low any any any any 222 any any 224 7