2618 switch VLAN configuration

Source: Internet
Author: User

2618 switch VLAN configuration Switch A and switch B are connected through port 16. Port 1 of Switch A and Port 2 of Switch B are members of VLAN2, port 2 of vswitch A and port 4 of vswitch B are members of vlan3. 1.15 configuration steps vswitch A is configured as follows: zte (cfg) # set vlan 2 add port 16 tag // add port 16 to VLAN 2, and type tagzte (cfg) # set vlan 2 add port 1 untag // add port 1 to VLAN 2 without tagzte (cfg) # set vlan 3 add port 16 tag // add port 16 to VLAN 3 and add tagzte (cfg) # set vlan 3 add port 2 untag // add port 2 to VLAN 3 without tagzte (cfg) # set port 1 pvid 2 // set PVID of port 1 to 2zte (cfg) # set port 2 pvid 3 // set PVID of port 2 to 3zte (cfg) # set vlan 2-3 enable // The specific configurations of enable VLAN 2 and vswitch B are as follows: zte (cfg) # set Vlan 2 add port 16 tag // add port 16 to VLAN 2 and add tagzte (cfg) # set vlan 2 add port 2 untag // add port 2 to VLAN 2, do not add tagzte (cfg) # set vlan 3 add port 16 tag // add port 16 to VLAN 3 and add tagzte (cfg) # set vlan 3 add port 4 untag // add port 4 to VLAN 3 without tagzte (cfg) # set port 2 pvid 2 // set PVID of port 2 to 2zte (cfg) # set port 4 pvid 3 // set PVID of port 4 to 3zte (cfg) # set vlan 2-3 enable VLAN 2 and 31.16 verification methods PC-1 and PC-3 can interwork PC-2 and PC-4 can interwork PC-1 and PC-4 cannot interwork, PC-2 and PC-3 cannot interwork The experiment shows that devices in the same vlan can communicate with each other. Devices in different VLANs cannot communicate with each other. Multiple VLANs can be transmitted through port tags.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.