Configuring QoS Using Condition Groups in Policies
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 24-41
-> policy action MaxBw maximum bandwidth 10k
-> policy rule PortRule condition Ports action MaxBw
In this example, if both ports 1 and 2 are active ports, 10000 bps is distributed over the two ports. If one of
the ports is sending 2000 bps, the other port may send up to 8000 bps. If one port is sending 5000 bps, the
port port may send 5000 bps.
Destination Port Group Examples
In the following example, a port group (pgroup2) is created with several ports and attached to a policy
condition (Ports2). A policy action with maximum bandwidth is created (MaxBw). The policy condition
and policy action are combined in a policy rule called PortRule2.
-> policy port group pgroup2 1/1 1/25 2/1
-> policy condition Ports2 destination port group pgroup2
-> policy action MaxBw maximum bandwidth 10k
-> policy rule PortRule2 condition Ports2 action MaxBw
In this example, each port will receive the maximum bandwidth because the ports in the destination port
group are split over slots and/or physical grouping.
If the ports in the destination port group, however, belong to the same group of 24 ports, the bandwidth
will be distributed over the ports as described in the source port group example. For example:
-> policy port group pgroup3 1/1-2 1/10 1/15-16
-> policy condition Ports3 destination port group pgroup3
-> policy action MaxBw maximum bandwidth 10k
-> policy rule PortRule3 condition Ports3 action MaxBw
In this example, the ports all belong to the same physical grouping. The maximum bandwidth will be
distributed over the ports.
Important Notes on Maximum Bandwidth
• If a flow matches rules for source and destination parameters, and the rules specify a maximum band-
width action, the same port limitation applies. Ports in different slots or physical groupings will each
receive the maximum bandwidth.
• For flows that match a rule with a protocol condition, and the rule specifies a maximum bandwidth
action, maximum bandwidth will be applied to each port the flow egresses regardless of physical port
location.