Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set up multiple VLANs on a single switch?

donglee
Contributor

How do I set up multiple VLANs on a single switch?

I have two Hp S5500 switches and three Huawei S3300 switches. I have configured VLANs (15 nos.) in HP 5500. Is it possible for me to use those three switches for all VLANs or do I have to use separate switches for each VLAN?

1 REPLY
Patrick Terlisten
Honored Contributor

Re: How do I set up multiple VLANs on a single switch?

Hello,

sure you can use the VLANs on all of your switches. IEEE 802.1Q makes it possible. :) You have to create the VLANs, which you're planning to use, on all of your switches. The uplinks between the switches have to be configured as VLAN trunks, e.g.:

interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 100, 200, 300

This allows the switch to carry frames for the VLANs 100, 200 and 300 over port GigabitEthernet1/0/1. Switch ports to which clients are connected have to be configured as access ports.

interface GigabitEthernet1/0/2
port link-type access vlan 1

Best regards,
Patrick