Creating Policies; Quick Steps For Creating Policies - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Network configuration guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

Creating Policies

This section describes how to create policies in general. For information about configuring specific types
of policies, see
"Policy Applications" on page
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 CLI Reference Guide.
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.
Policies are not used to classify traffic until the qos apply command is entered. See
uration" on page
21-66.

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
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
Condition name
Action name
OmniSwitch AOS Release 7 Network Configuration Guide
21-69.
: my_rule
= cond3,
= action2,
March 2011
"Applying the Config-
page 21-39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents