Configuring QoS Creating Policies
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 26-42
Creating Policies
This section describes how to create policies in general. For information about configuring specific types
of policies, see “Policy Applications” on page 26-74.
Basic commands for creating policies are as follows:
policy condition
policy action
policy rule
This section describes generally how to use these commands. For additional details about command
syntax, see the OmniSwitch AOS Release 8 CLI Reference Guide.
Policies are not used to classify traffic until the qos apply command is entered. See “Applying the
Configuration” on page 26-71.
Quick Steps for Creating Policies
Follow the steps below for a quick tutorial on creating policies. More information about how to configure
each command is given in later sections of this chapter.
1 Create a policy condition with the policy condition command. For example:
-> policy condition cond3 source ip 10.10.2.3
2 Create a policy action with the policy action command. For example:
-> policy action action2 priority 7
3 Create a policy rule with the policy rule command. For example:
-> policy rule my_rule condition cond3 action action2
4 Use the qos apply command to apply the policy to the configuration. For example:
-> qos apply
An example of how the example configuration commands might display when entered sequentially on the
command line is given here:
-> policy condition cond3 source ip 10.10.2.3
-> policy action action2 priority 7
-> policy rule my_rule condition cond3 action action2
-> qos apply
Note. A policy rule can include a policy condition or a policy action that was created through PolicyView
rather than the CLI. But a policy rule, policy action, or policy condition can only be modified through the
source that created it. For example, if an action was created in PolicyView, it can be included in a policy
rule configured through the CLI, but it cannot be modified through the CLI.
Note. (Optional) To verify that the rule has been configured, use the show policy rule command. The
display is similar to the following:
-> show policy rule
Rule name : my_rule
Condition name = cond3,
Action name = action2,