Alcatel-Lucent 6850-48 Network Guide

Page of 1162
Creating Policies
Configuring QoS
page 40-40
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
The keywords used with these commands are similar to the keywords used for th
 
command. The keyword should be relevant to the type of traffic as listed in the table here: 
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
:
0/0
->
0/0
*IfType
:
any
->
any
*MAC
:
000000:000000
->
080020:D1E51
*VLAN
:
0
->
0
*802.1p
: 0
L3/L4:
*IP
:
0.0.0.0
->
0.0.0.0
*TOS/DSCP
: 0/0
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.
To test a theoretical condition against the set of applied policies, enter the command with the applied 
keyword. The switch will display information about the potential traffic and attempt to match it to a policy 
(applied policies only). For example:
-> show policy classify l3 applied source ip 143.209.92.131 destination ip 
198.60.82.5
Packet headers:
L2:
*Port
:
0/0
->
0/0
*IfType
:
any
->
any
*MAC
:
000000:000000
->
000000:000000
*VLAN
:
0
->
0
*802.1p
: 0
L3/L4:
*IP
:
143.209.92.131
->
198.60.82.5
*TOS/DSCP
: 0/0
show policy classify l2
show policy classify l3
source port
destination port
source mac
destination mac
source vlan
source port
destination port
source ip
source ipv6
destination ip
destination ipv6
ip protocol
ipv6
nh
flow-label
source ip port
destination ip port
tos
dscp
destination port
destination mac
destination vlan (multicast only)
destination ip