VLAN simple Solution

Source: Internet
Author: User

-----------------------------------

vlan=Virtual local area network=

Category: Port-based virtual local area network

Virtual local area network based on IP address

A virtual local area network based on MAC address


Purpose: to logically partition (non-physical) a local area network (LAN) device into a network segment (or a smaller LAN)


Why to Row VLANs:

1: based on organizational structure considerations, staff in different physical locations of the same department. If the finance department of a large company is located in a subsidiary, they

Requires data security and sharing. It can be located in the same virtual local area network (switch), centralized management control.


2: security-based considerations. Because each virtual network can not communicate directly, must be forwarded through the router, such as group companies, have a wealth

Department, marketing department. only interface data can be provided to each other, other data is confidential, and the division is isolated by dividing the VLAN.

     3:

storm, causing the network to jam. By dividing multiple VLANs to reduce the transmission of broadcast packets in the network (broadcast packets are not cross-VLAN) , the broadcast packets are limited to the range of each virtual network (the broadcast domain is reduced), thus improving the transmission efficiency of the network and improving the network performance. Yes.


Advantages of VLANs:

1: control broadcast Storm

     2: improve overall network security

     3: Simple and intuitive network management


Configuration of the VLAN:

switch1#switch1#vlan database                            #进入vlan数据库模式Switch1 (VLAN) # vlan 2                               #创建vlan  2switch1 (VLAN) #vlan  2 name caiwubu      #给vlan  2 named CaiwubuSwitch1 (VLAN) #vlan  10                             #创建vlan  10switch1 (VLAN) #exit                                   # Exit and save-------------------------------------------------------------------------------------Switch1 (config) #interface  fastethernet0/1              #进入接口模式   f0/1switch1 (config-if) #switchport  mode access            #将接口模式配置为access (Access) Switch1 (config-if) #switchport  access  vlan2           #将这个接口加入到vlan  2 switch ( config-if) # no switchport access vlan 2      #将接口从vlan  2 Delete------------------------------------------------------------------------------------other commands in  : Switch ( Config) #no   vlan  10                                 #删除vlan10Switch #show vlan                                               #查看vlan信息Switch (config-if) #no  switchport                          #关闭二层模式Switch #show vlan brief                                      #查看vlan下接口所属状态Switch #show vlan-switch                                   #查看所有vlan信息Switch # show  vlan id 2                                     #查看指定vlan信息Switch ( Config) # interface range f0/1 – 10              #将一个接口范围f0/1 -10switch (config-if-range) # switchport access vlan  2    #将这10个接口加入vlan  2

Such as: The above have summary errors, or not integrity Welcome to call!

Network Friends (requirements: Love the Internet, Love learning)

Welcome friends to come to harass

By: ' Searching for a dream

Emil:[email protected]





This article from the "Dream-seeking" blog, declined to reprint!

VLAN simple Solution

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.