Policy Applications
Configuring QoS
page 24-50
OmniSwitch 6600 Family Network Configuration Guide
April 2006
Note.
If multiple addresses, services, or ports should be given the same priority, use a policy condition
group to specify the group and associate the group with the condition. See
for more information about groups.
Note that some condition parameters may be used in combination only under particular circumstances;
also, there are restrictions on condition/action parameter combinations. See
“Condition Combinations” on page 24-6
.
Basic Commands
The following
policy action
commands are used for traffic prioritization or shaping:
policy action priority
policy action maximum bandwidth
To set up traffic prioritization and/or bandwidth shaping, follow the steps in the next section. For more
information about command syntax and options, see the
OmniSwitch
CLI Reference Guide
.
Note that QoS ports may also be configured for bandwidth shaping through the
qos port
commands.
Traffic Prioritization Example
In this example, IP traffic is routed from the 10.10.4.0 network through the OmniSwitch.
To create a policy rule to prioritize the traffic from Network 1, first create a condition for the traffic that
you want to prioritize. In this example, the condition is called
ip_traffic
. Then create an action to priori-
tize the traffic as highest priority. In this example, the action is called
high
. Combine the condition and the
action into a policy rule called
rule1
.
-> policy condition ip_traffic source ip 10.10.4.0 mask 255.255.255.0
-> policy action high priority 7
-> policy rule rule1 condition ip_traffic action high
The rule is not active on the switch until the
qos apply
command is entered on the command line. When
the rule is activated, any flows coming into the switch from 10.10.4.0 will be given the highest priority.
Bandwidth Shaping Example
In this example, a specific flow from a source IP address is sent to a queue that will support its maximum
bandwidth requirement.
First, create a condition for the traffic. In this example, the condition is called
ip_traffic2
. A policy action
(
flowShape
) is then created to enforce a maximum bandwidth requirement for the flow.
OmniSwitch
priority
Any
Network
Network 1
10.10.4.0
OmniSwitch 6648
OmniSwitch 6648
OmniSwitch 6648