Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Overview and configuration of VLAN

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Introduction: the Chinese name of VLAN (Virtual Local Area Network) is "virtual local area network". Virtual local area network (VLAN) is a group of logical devices and users, which are not limited by physical location. They can be organized according to functions, departments, applications and other factors, and communicate with each other as if they are in the same network segment, hence the name virtual LAN.

Second, use: VLAN is used for wind broadcast domain, which is divided into physical segmentation and logical segmentation.

1. Physical segmentation is to physically divide the network into several small networks, and then use routing devices that can isolate broadcasts to connect different broadcast networks to achieve communication.

2. Logical segmentation is to logically divide the network into several small virtual networks. VLAN works in the data link layer of the OSI reference model. A VLAN is a switching network in which all users are in the same broadcast domain, and each VLAN communicates through the connection of routing devices.

Third, VLAN has the characteristics of flexibility and expansibility, so using VLAN technology has the following advantages.

4. The classification of VLAN includes static VLAN and dynamic VLAN.

1. Static VLAN, also known as port-based VLAN, is the most common way to implement VLAN.

2. Dynamic VLAN is a VLAN based on MAC address division, which determines the VLAN to which the port belongs by querying and recording the MAC address on the computer connected to the port.

3. Static VLAN specifies which VLAN the switch port belongs to, which needs to be manually configured by the network administrator. When the user host is connected to the switch port, it is assigned to the corresponding VLAN, as shown in the figure.

5. Static VLAN configuration:

The Cisco switch can support up to 4096 VLAN, as shown in the figure showing the allocation of VLAN. Where VLAN 1 is the default VLAN, users can use the

VLAN 2-1001 users can also use it; VLAN 1025-4094 users can also use it. Other ranges of VLAN are used by the system.

6. The configuration steps of static VLAN are as follows:

7. There are two ways to create a VLAN:

1. VLAN database configuration mode: this mode only supports VLAN normal range (1-1005).

2. Global mode: this mode not only supports the normal scope of VLAN, but also can configure VLAN with extended VLAN scope that cannot be configured in VLAN database configuration mode.

8. Delete the command of VLAN:

9. Commands for configuring VLAN in global configuration mode:

I would like to add here that if you add VLAN to an unconnected interface, you can enter interface range f0Accord0, f0Uniplem2, and f0On6 in interface mode, and then add party lessons to VLAN in these port modes.

10. Restore the default configuration command:

11. Commands for verifying VLAN configuration:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report