How to Manage EdgeSwitch VLANs via SSH
Connect to the device via SSH (Default login is UBNT UBNT), once you are connected enter enable
to enter privileged mode.
Once you are in privileged mode, enter vlan database
to enter VLAN management mode
vlan database
To create a new VLAN enter VLAN followed by a VLAN ID to create a new VLAN
vlan 245
Will create a VLAN with ID 245
To set the name of a VLAN, enter vlan name [ID] [name]
Example: vlan name 245 management
enter exit
to return to the previous mode and continue with port VLAN configuration
Enter configure mode to continue to configuring ports with configure
To configure an interface, enter "interface" followed by the interface and port ID
Example: interface 0/24
this will select port 24 on the switch for configuration
to set a port description on the selected port, enter description [port-name]
Example: description Management
Tag a VLAN on a port with vlan tagging [VLAN ID]
Example: vlan tagging 245
For a VLAN to participate on the selected port; the VLAN participation must be set to include the VLAN ID
Example: vlan participation include 245
To set a Port VLAN ID (or PVID for short) enter vlan pvid [ID]
Example: vlan pvid 245