
Creating Policies Configuring QoS
page 26-34 OmniSwitch 6800/6850/9000 Network Configuration Guide June 2006
The keywords used with these commands are similar to the keywords used for the policy condition
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
Using applied l3 policies
Classify L3:
*Matches rule ‘r1’: action a1 (drop)
In this example, the display indicates that the switch found an applied rule, r1, to classify Layer 3 flows
with the specified source and destination addresses.
show policy classify l2 show policy classify l3 show policy classify multicast
source port
destination port
source mac
destination mac
source vlan
source port
destination port
source ip
destination ip
ip protocol
source ip port
destination ip port
tos
dscp
multicast ip
destination port
destination mac
destination vlan (multicast only)
destination ip
Kommentare zu diesen Handbüchern