Testing Conditions - Alcatel OmniSwitch 6624 Network Configuration Manual

Hide thumbs Also See for OmniSwitch 6624:
Table of Contents

Advertisement

Creating Policies

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
destination vlan
802.1p
source interface type
destination interface type
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)
Classify L2 Source:
*No rule matched: (accept)
The display shows Layer 2 or Layer 3 information, depending on what kind of traffic you are attempting to
classify. In this example, the display indicates that the switch found a rule, yuba, to classify destination
traffic with the specified Layer 2 information.
page 21-32
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
source interface type
destination interface type
tos
dscp
:
0/0
:
any
:
000000:000000
:
: 0
:
0.0.0.0
: 0/0
OmniSwitch 6624/6648 Network Configuration Guide
qos apply
command, you may want to see how
show policy classify multicast
multicast ip
destination port
destination mac
destination vlan
destination interface type
destination ip
->
0/0
->
any
->
080020:D1E51
0
->
0
->
0.0.0.0
Configuring QoS
policy condition
April 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6648

Table of Contents