Different switches can communicate with the same VLAN, but different VLANs cannot.

Source: Internet
Author: User

Different switches can communicate with the same VLAN, but different VLANs cannot.

I,


Ii. IP planning

PC0: 192.168.100.100 255.255.255.0
PC1: 192.168.110.100 255.255.255.0
PC2: 192.168.120.100 255.255.255.0
PC3: 192.168.200.100 255.255.255.0
PC4: 192.168.210.100 255.255.255.0

Iii. Deployment Solution 1

1) enable -- enter privileged Mode
2) conf t -- enter global configuration mode
3) vlan 100 -- create a vlan
4) name required wei_u2000_sdh_nanan -- indicates the vlan name.
5) int f0/1 -- enter the switch port
6) switchport access vlan 100 -- allocate the port to the vlan

7) Likewise, add the two vswitch-related ports to the VLAN 100 that has been connected in a serial connection.

8) enter port f0/10 of the two switches and configure the trunk command: switchport mode trunk.


Iv. Deployment Solution 2

Note: These two implementation methods are not recommended in the real environment.

1) enter port f0/10 of the two switches and include them in VLAN 100.

2) If the vswitch is a layer-3 switch, you can enter port f0/10 of the two vswitches and run the command to enable the routing function: no switchport


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.