
Configuring QoS
Creating Policies
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 25-51
The following example creates a policy rule (
rule1
) that is automatically assigned to the default policy
list.
-> policy condition cond1 source mac 00:11:22:33:44:55 source vlan 100
-> policy action act1 disposition drop
-> policy rule rule1 condition cond1 action act1
-> qos apply
In this example, the
no default-list
parameter is
not
used with the
policy rule
command, so the rule is
automatically assigned to the default policy list. The default list always exists and is not configurable. As a
result, the
policy list
command is not required to assign the rule to the default list.
By default, a policy list is enabled at the time the list is created. To disable or enable a policy list, use the
following commands:
-> policy list unp1_rules disable
-> policy list unp1_rules enable
To remove an individual rule from a UNP policy list, use the following command:
-> policy list unp1_rules no rules r2
To remove an entire UNP policy list from the switch configuration, use the following command:
-> no policy list unp1_rules
Use the
command to display the QoS policy rule configuration for the switch.
Guidelines for Configuring Policy Lists
Consider the following guidelines when configuring QoS policy rules and lists:
•
Create policy rules first before attempting to create a list. The
command requires that
the specified policy rules must already exist in the switch configuration. See
.
•
A rule can belong to the default list and a Universal Network Profile (UNP) list at the same time. In
addition, a rule can also belong to multiple UNP lists. Each time a rule is assigned to a policy list,
however, an instance of that rule is created. Each instance is allocated system resources.
•
By default, QoS assigns rules to the default policy list. To exclude a rule from this list, use the
no
default-list
option of the
command when the rule is created. See
for more information.
•
If the rule is going to belong to a QoS policy list for a UNP, use the
no default-list
option when creat-
ing the rule. Doing so will give the rule precedence over default list rules when the policy list is applied
to UNP device traffic.
•
Only one policy list per UNP is allowed, but a single policy list can be associated with multiple
profiles. See
Chapter 27, “Configuring Universal Network Profiles,”
for more information.
•
Up to 32 policy lists (including the default list) are supported per switch.
•
If a rule is a member of multiple policy lists but one or more of these lists are disabled, the rule is still
active for those lists that are enabled.
•
If the QoS status of an individual rule is disabled, then the rule is disabled for all policy lists, even if a
list to which the policy belongs is enabled.
Содержание 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...