Configuring QoS Creating Policies
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 26-49
To stop the switch from logging information about flows that match a particular rule, use no with the log
keyword. For example:
-> policy rule rule5 no log
When logging is active for a policy rule, a logging interval is applied to specify how often to look for
flows that match the policy rule. By default, the interval time is set to 30 seconds. To change the log
interval time, use the optional interval keyword with the log option. For example:
-> policy rule rule5 log interval 1500
Note that setting the log interval time to 0 specifies to log as often as possible.
Deleting Rules
To remove a policy rule, use the no form of the command.
-> no policy rule rule1
The rule is deleted after the next qos apply.
Creating Policy Lists
A QoS policy list provides a method for grouping multiple policy rules together and applying the group of
rules to specific types of traffic.The type of traffic to which a policy list is applied is determined by the
type of list that is configured. There are four types of policy lists:
• Default—This list is always available on every switch and is not configurable. By default, a policy rule
is associated with this list when the rule is created. All default list rules are applied to ingress traffic.
• Universal Network Profile (UNP)—This type of policy list is associated with a Universal Network
Profile (UNP). The rules in this list are applied to ingress traffic that is classified by the UNP. See
Chapter 28, “Configuring Access Guardian,”for more information.
• Egress—The rules in this type of policy list are applied to traffic egressing on switch ports.
• Application Fingerprinting (AFP)—The rules in this type of configurable policy list are applied to
device traffic received on Application Fingerprinting interfaces. See Chapter 30, “Configuring
Application Fingerprinting,”for more information. AFP is supported only on the OmniSwitch 6900.
To create a UNP policy list, use the policy list command to specify a list name and type and then use the
policy list rules command to specify the names of one or more existing QoS policy rules to add to the list.
For example, the following commands create two policy rules and associates these rules with the
unp1_rules list:
-> policy condition c1 802.1p 5
-> policy action a1 disposition drop
-> policy rule r1 condition c1 action a1 no default-list
-> policy condition c2 source ip 10.5.5.0
-> policy action a2 disposition accept
-> policy rule r2 condition c2 action a2 no default-list
-> policy list unp1_rules type unp enable
-> policy list unp1_rules rules r1 r2
-> qos apply
Note that the no default-list option was used to create the rules. Using this option is recommended when
creating a policy list for a UNP. See “Guidelines for Configuring Policy Lists” on page 26-50.