Comparison Between NetScaler and Cisco VLAN Types

Comparison Between NetScaler and Cisco VLAN Types

book

Article ID: CTX236843

calendar_today

Updated On:

Description

This article compares the difference between NetScaler and Cisco VLAN types.

NetScaler VLAN CISCO

Default VLAN

All interfaces are part of VLAN-1 as native members.
  1. Only untagged packets are accepted. No tagged packet is accepted.
  2. Once untagged packet arrives on any interface it is assumed to have arrived on Native VLAN (VLAN 1).
  3. All packets go out untagged.
  4. No outgoing packet is VLAN tagged, tagged packets are accepted if the interface is tagged member of VLAN 1.


Configuration Steps

  1. Present in NetScaler by default.
  2. Default value is VLAN 1.

Default VLAN

     Cisco default vlan configurations is present in the system by default.
  1. You can use this VLAN but you cannot delete it.
  2. Used for accessing the system for configuration purpose.


Configuration Steps

  1. Present in Cisco by default.
  2. Default value is VLAN 1.

NSVLAN/Native/Management VLAN

  1. Used to segregate the NetScaler management traffic. .
  2. NSVLAN is L3 VLAN with NSIP subnet bound to it.
  3. Restricts NSIP’s ARP resolution only to that VLAN.
  4. Needs reboot to make the setting effective.
  5. By default, NSVLAN is tagged unless tagged is set to NO (-tagged NO).
  6. It can use any VLAN number between 2 to 4094.

 
Configuration Steps

  1. set nsconfig –nsvlan 10 –ifnum 1/1
  2. Other way is to use “Config NS” and configure the required information.

Management VLAN

  1. Used to segregate the Cisco management traffic.
  2. Trunking the VLAN you want to use down to your access switches and assign an IP address and the default gateway in that VLAN.
  3. By default, Management VLAN is tagged.
  4. It can use any VLAN number between 2 to 4094.


Configuration Steps

  1. Switch(config)#vlan 3
  2. Switch(config)#int fa 0/3
  3. Switch(config-if)#switchport access vlan3
  4. Switch(config)# int fa 0/3
  5. Switch(config-if)# switchport mode trunk
  6. Switch(config)# int vlan 3
  7. Switch(config-vlan) #ip add 192.168.1.5 255.255.255.192
  8. Switch(config)# ip default-gateway 192.168.1.1

Port based VLANs/Untagged VLAN

  1. It is port based VLAN.
  2. When bound natively, it is removed automatically from VLAN-1 (The current native vlan) and is added to VLAN-2.
  3. Only untagged packets are accepted and tagged packet are not accepted.
  4. All outgoing packets are untagged.


Configuration Steps

  1. Add vlan 2
  2. Bind vlan 2 /10. -ifnum 1

Switch Mode Access Port

  1. Ethernet interfaces can be configured as Switch Port Mode Access VLAN.
  2. Puts the interface into permanent non-trunking mode and negotiates to convert the link into a non-trunking link.
  3. The interface becomes a non-trunk interface even if the neighboring interface does not change.


Configuration Steps

  1. switch# config terminal
  2. switch(config)# interface ethernet 1/10
  3. switch(config-if)# switchport mode access
  4. switch(config-if)# switchport access vlan 5

Tagged VLAN

  1. Used to segregate specific tagged packets and is described as Tagged VLAN.
  2. When bound as a tagged member, Current native VLAN is retained (VLAN-1) as native member, but also added to Vlan-3 as a tagged member.
  3. No other tagged packets are accepted only VLAN 3 tagged packets and Untagged packets are accepted .
  4. When going out of VLAN-1 it goes as untagged packets.
  5. When going out of VLAN-3 it goes as tagged packets.

 
Configuration Steps

  1. add vlan 3.
  2. bind vlan 3 -ifnum 10/2 -tagged

Switch Port Mode Trunk

  1. Ethernet interface can be configured as Switch Port Mode Trunk.
  2. Switch Port Mode Trunk puts the interface into permanent trunking mode and negotiates to convert the link into a trunking link.
  3. The interface becomes a trunk interface even if the neighboring interface does not change.
  4. We can add specific VLAN number in the trunk mode.
  5. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across the network.

 
Configuration Steps

  1. switch# config terminal
  2. switch(config)# interface ethernet 1/10
  3. switch(config-if)# switchport mode trunk
  4. switch(config-if)# switchport trunk native vlan 5

Tagged VLAN All

  1. Used to receive and transmit only tagged packets and is described as tagged all VLAN.
  2. This is per interface-based setting.
  3. Only tagged packets are accepted.
  4. No untagged packets are accepted.
  5. All outgoing packets are tagged only.
Note: NetScaler allows a range of VLANs to be part of Interface as well using Trunk Mode

Configuration Steps

  1. add vlan 3
  2. set interface 10/2 -tagall On
  3. bind vlan 3 -ifnum 10/2 -tagged

Switch Port Mode Trunk All

  1. Ethernet interface can be configured as Switch Port Mode Trunk.
  2. Configures the list of VLANs allowed on the trunk.
  3. All VLANs are allowed by default.
  4. You cannot remove any of the default VLANs from a trunk.


Configuration Steps

  1. switch# config terminal
  2. switch(config)# interface ethernet 1/10
  3. switch(config-if)# switchport mode trunk
  4. switch(config-if)# switchport trunk allowed vlan {ALL}
switch(config-if) # switchport trunk allowed vlan {add | except | all  |
remove}

Sync VLAN

  1. Used to segregate Sync vlan traffic between HA pair.
  2. Will make sure all the HA related traffic will go through this VLAN.
  3. Config synchronization, propagation, Connection mirroring, Persistent session synchronization, Session state synchronization.

 
Configuration Steps

  1. add vlan 3
  2. set node -hasyncvlan <VLANID>

Redundancy Status

  1. Redundancy status is described as high available design.
  2. Enables (default) automatic copying of boot variables from the active supervisor module to the standby supervisor module.


Configuration Steps

  1. switch(config)# boot auto-copy Auto-copy administratively enabled

Issue/Introduction

This article compares the difference between NetScaler and Cisco VLAN types.

Additional Information

CTX226652 - Basic Design Guidelines and Principles on NetScaler Routing, Default Routes, Interfaces and Channels, VLANs, and GARP
CTX214033 - NetScaler Networking and VLAN Best Practices