Alcatel-Lucent 6600 Switch User Manual


 
Creating Policies Configuring QoS
page 24-26 OmniSwitch 6600 Family Network Configuration Guide April 2006
Note. If you combine priority with 802.1p, dscp, tos, or map, in an action, the priority value is used to
prioritize the flow.
Removing Action Parameters
To remove an action parameter or return the parameter to its default, use no with the relevant keyword.
-> policy action a6 no priority
This example removes the configured priority value from action a6. If any policy rule is using action a6,
the default action will be to allow the flow classified by the policy condition.
The specified parameter (in this case, priority) will be removed from the action at the next qos apply.
Deleting a Policy Action
To remove a policy action, use the no form of the command.
-> no policy action a6
The action cannot be deleted if it is currently being used by a policy rule. If a rule is using the action, the
switch will display an error message. For example:
ERROR: a6 is being used by rule ‘my_rule’
In this case, the action will not be deleted. The action (a6) must first be removed from the policy rule
(my_rule). See “Creating Policy Rules” on page 24-26 for more information about setting up rules.
If a6 is not used by a policy rule, it will be deleted after the next qos apply.
Creating Policy Rules
This section describes in general how to create or delete policy rules and rule parameters. See later
sections of this chapter for more information about creating particular types of policy rules.
To create a policy rule, use the policy rule command and specify the name of the rule, the desired condi-
tion, and the desired action.
In this example, condition c3 is created for traffic coming from IP address 10.10.8.9, and action a7 is
created to prioritize the flow. Policy rule rule5 combines the condition and the action, so that traffic arriv-
ing on the switch from 10.10.8.9 will be placed into the highest priority queue.
-> policy condition c3 source ip 10.10.8.9
-> policy action a7 priority 7
-> policy rule rule5 condition c3 action a7
The rule (rule5) will only take effect after the qos apply command is entered. For more information about
the qos apply command, see “Applying the Configuration” on page 24-46.
The policy rule command may specify the following keywords:
policy rule keywords
precedence
save
log