Creating Policies

Configuring QoS

page 24-28

OmniSwitch 6600 Family Network Configuration Guide

April 2006

Layer 3 Rules With Compatible Actions

More than one rule may have the same condition. For example, two Layer 3 rules may have the same IP 

address condition but different actions. If the actions are compatible, both rules will be applied to the flow, 

regardless of the precedence settings. In this example, the rules are created with the default precedence (0) 

value.

-> policy condition X source ip 10.10.2.3

-> policy action Y priority 7

-> policy action Z maximum bandwidth 10m

-> policy rule Rule1 condition X action Y

-> policy rule Rule2 condition X action Z

In this example, when a flow comes into the switch and matches source IP address 10.10.2.3, the switch 

will apply both policies (

Rule1

 and 

Rule2

) to the flow. On the OmniSwitch 6600, a source IP address may 

be combined with priority and maximum bandwidth actions at the same time, so both rules are used. 

Compatible actions include the following: 

Layer 3 Rules With Conflicting Actions

If the actions are in conflict, however, the switch will apply only the rule with the highest precedence. For 

example:

-> policy condition X source ip 10.10.2.3

-> policy action W tos 5

-> policy action Z maximum bandwidth 10m

-> policy rule Rule1 condition X action W

-> policy rule Rule2 condition X action Z

In this case, a source IP address condition may be combined with a ToS action or a maximum bandwidth 

action 

but not both at the same time

 (see 

“Condition/Action Combinations” on page 24-7

). Since these 

actions are in conflict, the rule with the highest precedence will be applied instead. In this case, both rules 

have the same precedence value (the default, since no precedence is specifically configured). The rule that 

was configured first (

Rule1

) is considered to have the highest precedence and will be used for the flow. 

Conflicting actions include the following:

Action

Action

ToS

priority

802.1p

priority

maximum bandwidth

priority

maximum bandwidth

802.1p

Action

Action

ToS

maximum bandwidth

disposition

any other action

Page 508
Image 508
Open full-size image