ADC

Configure per-VLAN wildcarded virtual servers

If you want to configure load balancing for traffic on a specific virtual local area network (VLAN), you can create a wildcarded virtual server with a listen policy that restricts it to processing traffic only on the specified VLAN.

To configure a wildcarded virtual server that listens to a specific VLAN by using the CLI

At the command prompt, type the following commands to configure a wildcarded virtual server that listens to a specific VLAN and verify the configuration:

add lb vserver <name> <serviceType> IPAddress * Port * -listenpolicy <expression> [-listenpriority <positive_integer>]

show vserver
<!--NeedCopy-->

Example:

add lb vserver Vserver-LB-vlan1 ANY -listenpolicy "CLIENT.VLAN.ID.EQ(2)" -listenpriority 10

show vserver Vserver-LB-vlan1
<!--NeedCopy-->

To configure a wildcarded virtual server that listens to a specific VLAN by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers.
  2. Create a new virtual server or open an existing virtual server.
  3. Specify a listen policy priority and expression.

After you have created this virtual server, you bind it to one or more services as described in Setting Up Basic Load Balancing.

Configure per-VLAN wildcarded virtual servers