Alcatel-Lucent 6850-48 Netzwerkanleitungen
Configuring QoS
Creating Policies
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 40-39
For example:
-> show policy rule
Policy
From Prec
Enab
Act
Refl
Log
Trap Save
my_rule
cli 0Yes
Yes
No
No
Yes Yes
{L2/3}:
cond5 -> action2
+my_rule5
cli
0Yes
No
No
No
Yes
Yes
{L2/3}:
cond2 -> pri2
mac1
cli
0Yes
No
No
No
Yes
Yes
{L2/3}:
dmac1 -> pri2
The above display indicates that my_rule is inactive and is not used to classify traffic on the switch (the
Inact field displays Yes). The rule my_rule5 has been configured since the last qos apply command was
entered, as indicated by the plus (+) sign. The rule will not be used to classify traffic until the next qos
apply. Only mac1 is actively being used on the switch to classify traffic.
Inact field displays Yes). The rule my_rule5 has been configured since the last qos apply command was
entered, as indicated by the plus (+) sign. The rule will not be used to classify traffic until the next qos
apply. Only mac1 is actively being used on the switch to classify traffic.
To display only policy rules that are active (enabled and applied) on the switch, use the show active
policy rule command. For example:
policy rule command. For example:
-> show active policy rule
Policy
From Prec
Enab Act Refl Log Trap Save Matches
mac1
cli
0
Yes
Yes
No
No Yes Yes
0
{L2/3}:
dmac1 -> pri2
In this example, the rule my_rule does not display because it is inactive. Rules are inactive if they are
administratively disabled through the policy rule command, or if the rule cannot be enforced by the
current hardware. Although my_rule5 is administratively active, it is still pending and not yet applied to
the configuration. Only mac1 is displayed here because it is active on the switch.
administratively disabled through the policy rule command, or if the rule cannot be enforced by the
current hardware. Although my_rule5 is administratively active, it is still pending and not yet applied to
the configuration. Only mac1 is displayed here because it is active on the switch.
See the OmniSwitch CLI Reference Guide for more information about the output of these commands.
Testing Conditions
Before applying policies to the configuration through the
command, you may want to see how
the policies will be used to classify traffic. Or you may want to see how theoretical traffic would be classi-
fied by policies that are already applied on the switch.
fied by policies that are already applied on the switch.
Use the
commands to see how the switch will classify certain condition parameters.
This command is used to examine the set of pending policies only. Use the applied keyword with the
command to examine the applied set of policies only. The command includes a keyword (l2, l3,
multicast) to indicate whether the Layer 2, Layer 3, or multicast classifier should be used to classify the
traffic.
command to examine the applied set of policies only. The command includes a keyword (l2, l3,
multicast) to indicate whether the Layer 2, Layer 3, or multicast classifier should be used to classify the
traffic.
#
Indicates that the policy object differs between the pend-
ing/applied objects.
ing/applied objects.
character
definition