User guide

configure service L4
ExtremeWarePx1 1.2 Command Reference Guide 135
Default
N/A.
Usage Guidelines
You must have administrator privileges to issue this command.
To create any virtual service, you must specify the IP address and port to which Internet clients connect
and the protocol (TCP or UDP) to be used. For a layer 4 service, you also specify the server group to be
used for this service. You may optionally specify any of the following:
¥ A virtual router ID (VRID) for the VRRP class for this service
¥ A VLAN for this service
¥ Tags to be applied to packets
If you enable VRRP (with the enable vrrp command):
¥ You must assign every virtual service to a VRRP class. You specify the class for a service with the
vrid parameter.
¥ Every unique VIP must belong to a single VRRP class. Thus, if you use the same VIP for different
services (each with a different combination of port and protocol), all those services must be assigned
the same VRID.
¥ If gateway mode is also enabled, you must ensure sure every server responds to VIPs in a single
VRRP class. That is, all services that use a particular server must be in the same VRRP class.
For more information about VRRP, see Chapter 5; for a description of the commands to gateway mode,
see Chapter 4.
If you end the configure service command with the noqos keyword, the headers in the incoming
trafÞc to this service are left unchanged. If you do not specify this keyword, you can specify tags for
incoming trafÞc. You can specify different tags for two Þelds: the 802.1p header and the DiffServ code
point (DSCP) in the TCP header. For either Þeld, you can specify different tags for trafÞc towards the
server and trafÞc towards the network. You must specify values for all four parameters dot1p-to-svr,
dot1p-to-net, diffserv-to-svr, and diffserv-to-net. If the value of one of these parameters is a
hexadecimal number, that number is used as a tag, overwriting any tag that is used on the trafÞc; if the
value is the keyword preserve, any existing tag in the incoming trafÞc is left unchanged.
You must use the build command to commit the conÞguration changes made by this command.
Example
This example creates a layer 4 service. Clients connect to this service using IP address 64.1.2.10, port 80,
and TCP protocol. The switch directs the connection to one of the servers in the server group named
group1:
SummitPx1:5 # configure server index 1 ip 64.1.1.50 - 64.1.1.52 port 80
* SummitPx1:6 # configure server-group name group1 policy rr
* SummitPx1:7 # configure server-group name group1 add-server index 1 - 3
* SummitPx1:8 # configure service vip 64.1.2.10 port 80 protocol tcp
L4 server-group-name group1 noqos
* SummitPx1:9 # build