Wednesday, October 9, 2013

NetScaler: Configure NSVLAN

Configuring NSVLAN

NSVLAN is a VLAN to which the NetScaler management IP (NSIP) address' 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 command line interface

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 command line interface

At the command prompt, type:
  • unset ns config -nsvlan 
  • show ns config 
Example

> unset ns config -nsvlan

 Done

To configure NSVLAN by using the configuration utility
  1. Navigate to System > Settings.
  2. In the details pane, under Settings, click Change NSVLAN Settings.
  3. In the Configure NSVLAN Settings dialog box, set the parameters. For a description of a parameter, hover the mouse cursor over the corresponding field.
  4. Under Interfaces, select interfaces from the Available Interfaces list and click Add to move them to the Configured Interfaces list.
  5. Click OK. In the Warning dialog box, click OK. The configuration takes effect after the NetScaler appliance is restarted.