Configuring Server Load Balancing
The following QoS policy conditions are supported individually and in combination with each other when
used to configure SLB condition clusters:
QoS Policy Condition Keywords
source vlan
source port
destination port
source port group
destination port group
source mac
destination mac
source mac group
destination mac group
See
Chapter 30, "Configuring QoS,"
conditions.
Automatic Configuration of SLB Policy Rules
When you configure an SLB cluster, a Quality of Service (QoS) policy condition, action, and rule are
automatically configured for it. In addition, the switch software automatically names the condition, action,
and rule by adding the prefix SLB-cond-, SLB-act-, and SLB-rule-, respectively, to the name of the SLB
cluster for each name.
For example, if you configured an SLB cluster called "Web_Server" a policy condition called "SLB-cond-
Web_Server," a policy action called "SLB-act-Web_Server," and a policy rule called "SLB-rule-
Web_Server" would be created.
Note that the user-configured policy condition associated with an SLB cluster is the condition used for the
automatically configured SLB policy rule. For example, if you configured an SLB cluster called
"Web_Server2" and associated it with the "cond1" condition, a policy rule called "SLB-rul-Web-Server2"
would be created with the "cond1" condition and the "SLB-act-Web_Server2" action.
You can display QoS policy rules with the
policy rule followed by the name of the rule. For example, the following commands display the policy
rule called "SLB-rul-Web_Server" and the policy rule called "SLB-rul-Web_Server2":
-> show policy rule SLB-rule-Web_Server
Policy
SLB-rul-Web_Server
(L2/3):
-> show policy rule SLB-rule-Web_Server2
SLB-rul-Web_Server2
(L2/3):
You can also use the
action
command to display policy actions. See
configuring and displaying QoS policies.
OmniSwitch 6800/6850/9000 Network Configuration Guide
tos
dscp
802.1p
source ip address
destination ip address
source network group
destination network group
service
service group
for more information about configuring and displaying QoS policy
show policy rule
From
api 65000
SLB-cnd-Web_Server -> SLB-act-Web_Server
show policy condition
command to display policy conditions and the
Configuring Server Load Balancing on a Switch
ethertype
protocol
source tcp port
destination tcp port
source udp port
destination udp port
icmp type
icmp code
tcp flags
command. To use this command, enter show
Prec Enab
Act Refl Log Trap Save
Yes
Yes
api 65000
Yes
Yes
cond1 -> SLB-act-Web_Server2
Chapter 30, "Configuring QoS,"
March 2008
No
No
Yes
Yes
No
No
Yes
Yes
show policy
for more information on
page 34-25