Nodegrid VLAN configuration

Nodegrid VLAN configuration

Nodegrid OS allows managing layer 2 traffic using VLANs. This document walks you through the process to create a VLAN, add a VLAN to a switch interface, and create a VLAN interface. The instructions are for both Nodegrid GUI and CLI.

Before we move forward, it’s important to note the terminology of a few items.
- Tagged Ports: Refers to ports that allow multiple VLAN traffic, a.k.a. Trunk Ports.
- Untagged Ports: Refers to a port that removes VLAN tags to outgoing frames and adds VLAN tags to incoming frames, allowing connected devices to communicate within a specific VLAN
- Backplane interface: Backplane settings control the switch interfaces directly exposed to the Nodegrid Platform.
- netSX Ports: Refers to the switch ports of the device.

How to create a VLAN interface in the OS

Navigate to Network :: Connections. Click Add. 
Type the interface name.
Select VLAN in Type field.
Select the Nodegrid interface, in this example, the interface backplane0.

 


How to Create a VLAN from GUI

Navigate to Network :: Switch :: VLAN. Click Add"Enter the VLAN number and select the Tagged and Untagged Ports. 
If the backplane port is tagged, a VLAN interface needs to be created in the OS


How to set Port VLAN ID

Navigate to Network :: Switch :: Switch Interfaces. Select the interface, click on the interface name.
Set the Port VLAN ID


 

 

How to create a VLAN using Nodegrid CLI

Navigate to /settings/switch_vlan usingcd /settings/switch_vlan
Type Add, hit enter. Use the set option to define the parameters.
During "set", type <Tab><Tab> to view the options, type Ctrl^ to populate with the saved values

Available options
tagged_ports=  
untagged_ports= 
vlan=           

Sample configuration
add
set vlan=100
set tagged_ports= netS1
set untagged_ports=netS2,netS3
commit

How to create a VLAN interface in the OS using CLI

Navigate to /settings/network_connections using cd /settings/network_connections
Use add command to start the interface creation process.

Sample configuration
set name=Test
set type=vlan
set ipv4_mode=static
set ipv4_address=192.168.0.2
set ipv4_bitmask=255.255.255.0
set ethernet_interface=backplane0
set vlan_id=100
commit


How to set the Port VLAN ID using the CLI

Navigate to /settings/switch_interfaces using cd /settings/switch_interfaces

Select the interface you want to make changes. You can use the command ls to list the available interfaces. In this example, we’ll access netS1 using cd netS1. You can use the show command to see the current settings.

Use the command set port_vlan_id=<VLAN>, for example, port_vlan_id=100. Run commit to save the changes.
Note: Make sure the interface status is set as enabled.

 


    • Related Articles

    • System Configuration Checksum

      Nodegrid system configuration checksum is a feature which creats a checksum for all the configuration files inside Nodegrid. This provides administrators a quick tool to verify periodically if the configuration has changed, and can be used for ...
    • Network Configuration via CLI

      Example of configuring the ETH0 interface via CLI (please, replace the network values with your own information). Log in as admin to the Nodegrid console port or HDMI Type the following commands (in bold): [admin@nodegrid /]# cd ...
    • How to Configure Nodegrid Serial Ports

      To configure the serial ports of your Nodegrid Serial Console, follow the guideline steps below.   WebUI Log in as admin to the Nodegrid Serial Console Web interface. Go to Managed Devices page. Select the serial ports you want to configure, or check ...
    • Nodegrid Manager Installation in ESXi 5

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...
    • Nodegrid Manager Installation in ESXi 6

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...