
Configuring QoS
Using Condition Groups in Policies
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 25-53
Using Condition Groups in Policies
Condition groups are made up of multiple IPv4 addresses, MAC addresses, services, ports, or VLANs to
which you want to apply the same action or policy rule. Instead of creating a separate condition for each
address, etc., create a condition group and associate the group with a condition. Groups are especially
useful when configuring filters, or Access Control Lists (ACLs); they reduce the number of conditions and
rules that must be entered. For information about setting up ACLs, see
Chapter 25, “Configuring QoS.”
Commands used for configuring condition groups include the following:
policy network group
policy service group
policy mac group
policy port group
Access Control Lists (ACLs) typically use condition groups in policy conditions to reduce the number of
rules required to filter particular types of traffic. For more information about ACLs, see
Sample Group Configuration
1
Create the group and group entries. In this example, a network group is created:
-> policy network group netgroup1 10.10.5.1 10.10.5.2
2
Attach the group to a policy condition. For more information about configuring conditions, see
ing Policy Conditions” on page 25-45
.
-> policy condition cond3 source network group netgroup1
Note.
(
Optional
) Use the
show policy network group
command to display information about the network
group. Each type of condition group has a corresponding show command. For example:
-> show policy network group
Group Name:
From
Entries
Switch
blt
4.0.1.166
10.0.1.166
+netgroup1
cli
10.10.5.1/255.255.255.0
10.10.5.2/255/255/255.0
See the
OmniSwitch CLI Reference Guide
for more information about the output of this display. See
“Verifying Condition Group Configuration” on page 25-59
for more information about using
show
commands to display information about condition groups.
3
Attach the condition to a policy rule. (For more information about configuring rules, see
.) In this example, action
act4
has already been configured. For example:
-> policy rule my_rule condition cond3 action act4
4
Apply the configuration. See
“Applying the Configuration” on page 25-71
for more information about
this command.
-> qos apply
Содержание os6900
Страница 28: ...Contents xxviii OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 374: ...VRF Route Leak Configuring IP page 15 40 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 692: ...Policy Applications Configuring QoS page 25 84 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...