Alcatel-Lucent 6850-48 网络指南
Configuring Server Load Balancing on a Switch
Configuring Server Load Balancing
page 44-26
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
The following QoS policy conditions are supported individually and in combination with each other when
used to configure SLB condition clusters:
used to configure SLB condition clusters:
for more information about configuring and displaying QoS policy
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.
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.
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.
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
command. To use this command, enter show
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”:
rule called “SLB-rul-Web_Server” and the policy rule called “SLB-rul-Web_Server2”:
-> show policy rule SLB-rule-Web_Server
Policy From Prec Enab Act Refl Log Trap Save
SLB-rul-Web_Server
api 65000 Yes Yes No No Yes Yes
(L2/3):
SLB-cnd-Web_Server -> SLB-act-Web_Server
-> show policy rule SLB-rule-Web_Server2
SLB-rul-Web_Server2
api 65000 Yes Yes No No Yes Yes
(L2/3):
cond1 -> SLB-act-Web_Server2
You can also use the
command to display policy conditions and the
command to display policy actions. See
for more information on
configuring and displaying QoS policies.
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
source port
destination port
source port group
destination port group
source mac
destination mac
source mac group
destination mac group
tos
dscp
802.1p
source ip address
destination ip address
source network group
destination network group
service
service group
dscp
802.1p
source ip address
destination ip address
source network group
destination network group
service
service group
ethertype
protocol
source tcp port
destination tcp port
source udp port
destination udp port
icmp type
icmp code
tcp flags
protocol
source tcp port
destination tcp port
source udp port
destination udp port
icmp type
icmp code
tcp flags