Citrix ADC

Retain the VLAN identifier for VLAN transparency

You can configure a load balancing virtual server to retain the client’s VLAN identifier in packets that are to be forwarded to servers. The virtual server must be a wildcard virtual server of type ANY, and must be functioning in MAC mode.

To configure a load balancing virtual server to retain the client VLAN ID by using the CLI

At the command prompt, type the following command to configure a load balancing virtual server to retain the client VLAN ID and verify the configuration:

set lb vserver  -m MAC -macmodeRetainvlan ENABLED show lb vserver  

Note

For a service that is bound to a virtual server on which the-m MACoption is enabled, you must bind a non-user monitor.

To configure a load balancing virtual server to retain the client VLAN ID by using the GUI

  1. Navigate toTraffic Management > Load Balancing > Virtual Servers, and open a virtual server.
  2. 在高级设置中,选择Traffic Settings, and selectRetain VLAN ID.
Retain the VLAN identifier for VLAN transparency