Typical configurations of medium and low-end switches-port VLAN-based application configurations of switches

Source: Internet
Author: User

VLANIt is a protocol proposed to solve Ethernet broadcast problems and security. It adds VLAN headers Based on Ethernet frames and divides users into smaller working groups using VLAN IDs, restrict mutual access between users in different working groups. Each working group is a virtual LAN. Let's implement the configuration through practice.

I. Networking requirements:

PC1 and PC2 connect to the vswitch ports E1/0/1 and E1/0/2 respectively. The ports are VLAN10 and VLAN20 respectively.

Ii. Networking diagram:

3. configuration steps:

Method 1

1. Create and enter) VLAN10, Add E1/0/1 to VLAN10
[SwitchA] vlan 10
A [SwitchA-vlan10] port Ethernet 1/0/1

2. Create and enter) VLAN20, Add E1/0/2 To VLAN20
[SwitchA] vlan 20
[SwitchA-vlan20] port Ethernet 1/0/2

Method 2

1. Go to the configuration view of Ethernet port E1/0/1
[SwitchA] API Ethernet 1/0/1

2. Configure PVID for port E1/0/1 to 10 [SwitchA-Ethernet1/0/1] port access vlan 10

3. Go to the configuration view of Ethernet port E1/0/1 [SwitchA] interface Ethernet 0/2

4. Configure PVID for port E1/0/2 to 20 [SwitchA-Ethernet1/0/2] port access vlan 20

Summary

The above VLAN configuration process is just a simple instance. It only implements the most basic VLAN division, but this is indeed the basis of configuration, we will continue to introduce relevant knowledge in the future Switch configuration.

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.