DIGITAL GIGAswitch/Router User Reference Manual
271
Monitoring QoS
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
and the ToS field set to 7. (In this example, the MBZ bit is included in the ToS field.) The
figure below shows how the parameter values are derived.
The <
tos-mask
> value determines the ToS bit to be examined, which is all eight bits in this
example. The following command configures the ToS rewrite for the example:
Monitoring QoS
The GSR provides display of QoS statistics and configurations contained in the GSR.
To display QoS information, enter the following commands in Enable mode:
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
0
Incoming Packet:
<
tos
> = 71
ToS Precedence = 2
ToS = 7
Mask (look at
<
tos-mask
> = 255
ToS Precedence = 5
ToS = 30
<
tos-precedence-rewrite
> = 5
<tos-rewrite>
= 30
Rewritten ToS byte
for 10.10.10.0/24
packet:
all bits):
gs/r(config)#
qos set ip tos30to7 low 10.10.10.0/24 any any any 71 any
any 255 5 30
Show all IP QoS flows.
qos show ip
Show all IPX QoS flows.
qos show ipx
Show all Layer-2 QoS flows.
qos show l2 all-destination all-flow
ports
<port-list>
vlan
<vlanID>
source-mac
<MACaddr>
dest-mac
<MACaddr>