T-Series Traffic Director Installation, Configuration and Administration Guide 3-21
Configuring T1000 Load Balancing
> add lb vserver Ingress ANY * * -persistenceType SOURCEIP -lbMethod ROUNDROBIN
-timeout 30 -Listenpolicy "CLIENT.VLAN.ID.EQ(151) && (CLIENT.TCP.DSTPORT.EQ(80) ||
CLIENT.IP.PROTOCOL.EQ(ICMP))" -Listenpriority 1 -m MAC -cltTimeout 120 -l2Conn ON
Done
Use the bind lb vserver command to bind the virtual servers to the physical services. The
bind lb vserver has the following syntax for this purpose:
bind lb vserver name serviceName
For example:
> bind lb vserver Ingress ingress_osn_service
Done
> bind lb vserver Egress server1service
Done
To create virtual servers for server load balancing from the CLI:
For server load balancing, the add lb vserver has the following syntax for adding a virtual
server:
add lb vserver name serviceType [{IPAddress port} [-persistenceType
persistenceType] [-cltTimeout secs] [-l2Conn {ON | OFF}]
The following example creates a virtual server as an HTTP proxy:
>add lb vserver proxy HTTP 12.13.14.15 3128 -persistenceType NONE -cltTimeout 180
-l2Conn ON
Done
Use the bind lb vserver command to bind the virtual servers to the physical services. The
bind lb vserver has the following syntax for this purpose:
bind lb vserver name serviceName
For example:
>bind lb vserver proxy ingress1proxy
Done
>bind lb vserver proxy ingress2proxy
Done
>bind lb vserver proxy ingress3proxy
Done