Configuring NSVLAN

NSVLAN is a VLAN to which the NetScaler management IP (NSIP) address’s subnet is bound. The NSIP subnet is available only on interfaces that are associated with NSVLAN. By default, NSVLAN is VLAN1, but you can designate a different VLAN as NSVLAN. If you do so, you must reboot the NetScaler appliance for the change to take effect. After the reboot, NSIP subnet traffic is restricted to the new NSVLAN.

The traffic from the NetScaler IP subnet can be tagged (802.1q) with the VLAN ID specified for NSVLAN. You must configure the attached switch interface to tag and allow this same VLAN ID on the connected interface. If you remove your NSVLAN configuration, the NSIP subnet is automatically bound to VLAN1, restoring the default NSVLAN.

To configure NSVLAN by using the NetScaler command line:

At the command prompt, type:

  • set ns config -nsvlan <positive_integer> -ifnum <interface_name> … [-tagged (YES|NO)]

  • show ns config

    Note: The configuration takes effect after the NetScaler appliance is rebooted.

Example:

> set ns config -nsvlan 300 -ifnum 1/1 1/2 1/3 -tagged NO
 Done

> save config
 Done

To restore the default NSVLAN configuration by using the NetScaler command line:

At the command prompt, type:

  • unset ns config -nsvlan
  • show ns config

Example:

> unset ns config -nsvlan
 Done

To configure NSVLAN by using the NetScaler GUI:

Navigate to System > Settings, in the Settings group, click Change NSVLAN Settings.

Setting the MTU on the NSVLAN

By default, the MTU of the NSVLAN is set to 1500 bytes. You can modify this setting to optimize throuhput and network performance. For example, you can configure the NSVLAN to process jumbo frames.

To set the MTU of the NSVLAN by using the NetScaler command line:

At the command prompt, type:

  • set vlan <id> -mtu <positive_integer>
  • show vlan <id>

To set the MTU of the NSVLAN by using the NetScaler GUI:

Navigate to System > Network > VLANs, open the NSVLAN, and set the Maximum Transmission Unit parameter.

Sample configuration:

In the following sample configuration, VLAN 100 is the NSVLAN.

> set ns config -nsvlan 100 -ifnum 1/1 -tagged no

 Warning: The configuration must be saved and the system rebooted for these settings to take effect

> set vlan 100 -mtu 1600

  Done

> sh vlan

 1)  VLAN ID: 1

     Link-local IPv6 addr:
    fe80::947b:52ff:fead:12d5/64

     Interfaces : 1/2 LO/1

 2)  VLAN ID: 100    VLAN Alias Name:

     MTU: 1600

     Interfaces : 1/1

     IPs :

          10.102.53.114     Mask: 255.255.255.0

  Done

> save config

  Done

Configuring NSVLAN