- Home »
- FAQ »
- Management »
- External Devices »
- How to set up VLAN on VigorSwitch with Central Switch Management (SWM)?
How to set up VLAN on VigorSwitch with Central Switch Management (SWM)?
To distinguish LAN clients and separate them into different domains, it is common to set up tag-based VLAN on the switch. Central Switch Management is a feature that allows Network Administrator to manage a VigorSwitch directly from Vigor Router's management page and provides an easier way to configure the VLAN setting according to router's VLAN setup. This document demonstrates how to set up multiple subnets with tag-based VLAN on Vigor Router, and use Central Switch Management to configure the according VLAN setting on the switch.
Configuring router's multiple subnet and VLAN
1. Go to LAN >> VLAN, enable VLAN configuration, and
- Enable each LAN Subnet on different VLAN
- Select the LAN port members for each VLAN, remember that the port to which the VigorSwitch is going to connect should be a member of every VLAN.
- Enable VLAN Tag, and set a unique VLAN ID for each VLAN
- Click OK and restart the router to apply.
The above configuration implies that untagged traffic from all LAN ports will belong to LAN 1; and Port 1 and 3 allow tagged traffic, where traffic tagged “20” will belong to LAN2, traffic tagged “30” will belong to “LAN3”, and traffic tagged “40” will belong to LAN4.
2. Go to LAN >> General Setup to check the IP address and status of each LAN Subnet. You may also change the IP and DHCP settings for each LAN Subnet from Details Page.
Configuring switch's VLAN by Central Switch Management
3. Go to Central Management >> External Device to enable “External Device Auto Discovery”. Then, connect a VigorSwitch to Vigor Router's LAN Port. When the VigorSwitch is detected and shows “On Line”, it's ready for Central Switch Management.
4. Go to Central Management >> Switch >> Profile, you will see the VigorSwitch is in New Switch List, click Add New to put the switch into Profile List.
5. Router will create a switch profile for it. Click on Index number to edit the settings.
6. At General tab, you may alter the Switch Name displayed in the Profile List, give comments, or change the login password.
7. Go to VLAN tab to set up VLAN port members.
- On the top it shows the Router's VLAN setting for reference, the LAN Port that marked gray is the router's LAN port that connects to the switch.
- And below shows the VLAN available according to the router's VLAN settings. In this example, router's LAN port 3 is a member for VLAN0, VLAN1, VLAN2, and VLAN3; therefore, there are four VLANs available for the switch's VLAN setup. The port that connects to the router will be marked gray and automatically selected to be a member of every VLAN.
- For the rest of the ports, select the VLAN to which they should belong. If a port belongs to more than one tagged VLAN, you may manually define the PVID.
The above configuration implies that the clients on switch's port 3-8 will belong to LAN 1, on port 9-16 will belong to LAN2, and on port 17-24 will belong to LAN3.
8. After choosing the port members, click “Send to Device” to write the settings into the switch. This might take a few seconds.
Verifying the settings
9. After finishing the above configuration, the ports of the switch will belong to router's different LAN subnet. We can connect a computer to the switch on different ports and verify which LAN subnet we are in by checking the IP address obtained. First, we connect to switch's port 8. By using command “ipconfig”, we can see that the computer obtained an IP 192.168.2.10, which belongs to router's LAN2.
Next, connect to port 16, renew the IP address, and we'll obtain IP 192.168.3.10, which means we're in router's LAN3 subnet.
Finally, connect to the switch by port 24, and we'll get an IP address 192.168.4.10. which means we're in router's LAN4 subnet.
Thus we can verify that the VLAN settings are done without even logging into the switch.