How to Set a vlan for a layer-3 Switch

Source: Internet
Author: User


The filter service is used to set boundaries to restrict Frame Forwarding between members of different VLANs and between different protocols using a single MAC address and a group of MAC addresses. Frame filtering depends on certain rules. Based on these rules, the switch determines whether to forward or discard the corresponding frames. The early 802.1d standard (1993) defines the basic filtering service provision that the switch must broadcast all group MAC addresses to all ports. The new 802.1d standard (1998) defines the extended filtering service, which can also filter packets of group MAC addresses. All multicast address packets must be filtered out for the outer port of the switch. If no static or dynamic filter conditions are set for www.2cto.com, the switch uses the default filter conditions. The extended filtering service uses GMRP (Group Multicast registry Protocol) to control dynamic Group forwarding and Group filtering of vswitches by generating or deleting a Group or Group member. Vswitches and workstations use GMRP to declare whether they are willing to receive frames from a group of MAC addresses. GMRP transmits such group information between vswitches on the Internet, so that vswitches can update their filtering information to implement extended service functions. A vswitch has the filtering service and extended filtering service without any configuration. Because the old vswitches, hubs, and routers do not support dynamic multicast address filtering, the corresponding ports connected to them need to be configured with extended filtering. The switch filters Frames Based on the filter database. The switch can maintain the filter database through dynamic learning and manual configuration. The vswitch checks and filters the database and determines whether the packet of a MAC address or vlan id should be forwarded to a port based on the following conditions: On the second layer, supports port-based VLAN and MAC address-based VLAN. A port-based VLAN can quickly divide conflicting domains on a single switch. a mac address-based VLAN can support mobile applications on a laptop. The layer-3 VLAN of a layer-3 switch can be manually configured or automatically generated by the switch. After the vswitch analyzes the data packets, it automatically configures VLANs to automatically update VLAN members. The layer-3 switch can work in a network environment where IP addresses are allocated in DHCP (Dynamic Host Control Protocol. The www.2cto.com switch can automatically discover IP addresses and dynamically generate VLAN Based on IP subnet. When a new IP address is assigned through DHCP, the layer-3 switch can quickly locate the address. Layer-3 switches update their VLAN member groups through IGMP, GMRP, ARP, and packet detection technologies. Through the WEB-based network management interface, you can set the scope of automatic learning: Automatic learning can be completely unrestricted, partially restricted, or completely forbidden. VLAN improves network performance by limits on sending and filtering. The layer-3 Switch updates the VLAN member table through listening and makes forwarding or filtering decisions based on the packet header member information. The following describes how a vswitch processes VLANs. Data frame inbound: A vswitch classifies data frames according to their vlan id (VID). A vswitch classifies them as one without a label, and a vswitch classifies them as one with the same label. The vswitch determines whether to forward or discard a data packet based on the VID. At the same time, the vswitch can assign a VID to a frame without or with a priority mark. VLAN tag: If a data frame is not labeled with a VID, the switch assigns a VID to it and inserts the VID into its frame header. This process is called VLAN tag. In this process, the switch processes packet forwarding and fills in the VLAN or priority field of the data frame. The administrator can set the priority level to select the VLAN type and select the VID value. The default setting of a vswitch is to paste the IP subnet information, then the network protocol, then the MAC address, and then the inbound port of the data frame. Www.2cto.com is a measure taken to prevent information transmission congestion in computer networks. Traffic control can be implemented at multiple layers of the network. For example, in a TCP/IP network environment, you can use the ICMP protocol to suppress the source on the Layer 3, that is, the network layer to implement traffic control. This mechanism is established between two sites on the point-to-point link. If the receiving site is congested, it can send a frame called a "paused frame" back to the Origin Site of the other end, indicating that the origin site stops sending packets during a specific period of time. Before sending more data, the sending site must wait for the request time. The receiving site can send a frame back to the origin site at zero wait time, indicating that the Origin Site starts sending data again. A more complex method can change the sending frequency continuously. For example, the window mechanism adopted on the layer 4 of the network is the traffic control method. This article is from the fat shark network.

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.