How to configuration VLAN by CLI.

HP-2530-24G-PoEP#
HP-2530-24G-PoEP# con te
HP-2530-24G-PoEP(config)# vla 40
HP-2530-24G-PoEP(vlan-40)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-40)# vlan 100
HP-2530-24G-PoEP(vlan-100)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-100)# vlan 101
HP-2530-24G-PoEP(vlan-101)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-101)# vlan 102
HP-2530-24G-PoEP(vlan-102)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-102)# vlan 103
HP-2530-24G-PoEP(vlan-103)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-103)# vlan 104
HP-2530-24G-PoEP(vlan-104)# tagged 10,17,21,23-24
HP-2530-24G-PoEP(vlan-104)# vlan 105
HP-2530-24G-PoEP(vlan-105)# tagged 5,10,17,21,23-24
HP-2530-24G-PoEP(vlan-105)# vlan 150
HP-2530-24G-PoEP(vlan-150)# tagged 10,17,21,23-24

HP-2530-24G-PoEP# show run

Running configuration:

; J9773A Configuration Editor; Created on release #YA.16.06.0006
; Ver #13:44.00.04.19.02.13.98.82.34.61.18.28.f3.84.9c.63.ff.37.27:43
hostname "HP-2530-24G-PoEP"
power-over-ethernet pre-std-detect ports 17
ip default-gateway 172.16.100.1
interface 11
   name "CAMARA COLORIMETRIA"
   exit
interface 13
   name "CAMARA CENTRAL COLISION"
   exit
interface 14
   name "CPU AUXILIAR SUMINISTRO"
   exit
interface 17
   power-over-ethernet critical
   poe-allocate-by class
   exit
snmp-server community "public" unrestricted
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-9,12,14-16,18-20,22
   untagged 10-11,13,17,21,23-28
   ip address 172.16.2.254 255.255.254.0
   exit
vlan 40
   name "VLAN40"
   tagged 10,17,21,23-24
   no ip address
   exit
vlan 100
   name "VLAN100"
   tagged 10,17,21,23-24
   ip address 172.16.100.12 255.255.255.0
   exit
vlan 101
   name "COMERCIAL"
   tagged 17,21,23-24
   no ip address
   exit
vlan 102
   name "POSVENTA"
   untagged 1-9,12,14-16,18-20,22
   tagged 10,17,21,23-24
   no ip address
   exit
vlan 103
   name "VLAN103"
   tagged 10,17,21,23-24
   no ip address
   exit
vlan 104
   name "VLAN104"
   tagged 10,17,21,23-24
   no ip address
   exit
vlan 105
   name "VLAN105"
   tagged 5,10,17,21,23-24
   no ip address
   exit
vlan 150
   name "INVITADOS"
   tagged 10,17,21,23-24
   no ip address
   exit