Riverstone Networks WICT1-12 Network Router User Manual


 
26-12 Riverstone Networks RS Switch Router User Guide Release 8.0
Monitoring QoS QoS Configuration
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.
Figure 26-4 ToS rewrite example
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:
26.9 MONITORING QOS
The RS provides display of QoS statistics and configurations contained in the RS.
To display QoS information, enter the following commands in Enable mode:
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>
Show RED parameters for each port.
qos show red
[
input port
<port-list>
| all-ports
]
[
output port
<port-list>
| all-ports
]
[
port
<port-list>
| all-ports
]
Show IP or IPX precedence values.
qos show precedence ip | ipx
Show WFQ bandwidth allocated for
each port.
qos show wfq
[
port
<port-list>
| all-ports
]
[
input
<slot num>]
| all-modules
]
Show priority mappings.
qos show priority-map all
1
0000
111
11111
11 1
1
0
11111
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):