Testing Conditions - Alcatel OmniSwitch 6800 Series Network Configuration Manual

Hide thumbs Also See for OmniSwitch 6800 Series:
Table of Contents

Advertisement

Creating Policies
To display only policy rules that are active (enabled and applied) on the switch, use the show active policy
rule command. For example:
-> show active policy rule
mac1
Cnd/Act:
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.
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
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.
Use the
show policy classify
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.
The keywords used with these commands are similar to the keywords used for the
command. The keyword should be relevant to the type of traffic as listed in the table here:
show policy classify l2
source port
destination port
source mac
destination mac
source vlan
To test a theoretical condition against the set of pending policies, enter the command and the relevant
keyword and value. The switch will display information about the potential traffic and attempt to match it
to a policy (pending policies only). For example:
-> show policy classify l2 destination mac 08:00:20:d1:6e:51
Packet headers:
L2:
*Port
*IfType
*MAC
*VLAN
*802.1p
L3/L4:
*IP
*TOS/DSCP
Using pending l2 policies
Classify L2 Destination:
*Matches rule 'yuba': action pri3 (accept)
page 21-32
Policy
From Prec
cli
dmac1 -> pri2
commands to see how the switch will classify certain condition parameters.
show policy classify l3
source port
destination port
source ip
destination ip
ip protocol
source ip port
destination ip port
tos
dscp
:
0/0
:
any
:
000000:000000
:
: 0
:
0.0.0.0
: 0/0
OmniSwitch 6800 Series Network Configuration Guide
Enab Inact Refl Log Save
0
Yes
No
No
qos apply
command, you may want to see how
destination port
destination mac
destination vlan (multicast only)
destination ip
->
0/0
->
any
->
080020:D1E51
0
->
0
->
0.0.0.0
Configuring QoS
Matches
No
Yes
0
policy condition
November 2004

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents