Netgear M5300

The default login is:
user = admin and no password

Enable configuration mode:

(M5300-52G3) >enable

Creating a vlan, example: vlan 5 and name it Test.

(M5300-52G3) #vlan database
(M5300-52G3) (Vlan)#vlan 5
(M5300-52G3) (Vlan)#vlan name 5 Test
(M5300-52G3) (Vlan)#exit

Assign ports to a vlan, example: ports 15 to 20 and assign it to vlan 5:

(M5300-52G3) #config
(M5300-52G3) (Config)#interface 1/0/15-1/0/20
(M5300-52G3) (interface 1/0/15-1/0/20)#vlan participation include 5
(M5300-52G3) (interface 1/0/15-1/0/20)#vlan pvid 5
(M5300-52G3) (interface 1/0/15-1/0/20)#exit