VLAN Overview and Configuration

I. Introduction: VLAN (Virtual Local Area Network) in Chinese named "virtual LAN." Virtual LAN (VLAN) is a set of logical devices and users, and users of these devices is not limited to physical location, the function may be based on factors, sectors and applications organize them together, communication between each other if they are the same segment as the eponymous virtual local area network.
Second, use: VLAN is used to wind a broadcast domain, divided into physical and logical segmentation segmentation.
1, is physically split from the physical network is divided into several small networks, can be isolated and used to broadcast different broadcast routing devices connected to achieve communication network.
2, the network is logically divided logically divided into several small virtual network. VLAN works in the data link layer of the OSI reference model, a VLAN is a switched network, wherein all users are in the same broadcast domain, each connected VLAN achieved through communication routing device.
VLAN Overview and Configuration
Three, VLAN flexibility and scalability characteristics, the use of VLAN technology has the potential perks.
VLAN Overview and Configuration
Four, VLAN VLAN classification static and dynamic VLAN.
1, also known as static VLAN port-based VLAN, VLAN is the most common implementation.
2, the MAC address-based VLAN is a dynamic division VLAN, VLAN of the port is determined by querying and recording the MAC address of the connected port on the computer.
VLAN Overview and Configuration
3, static VLAN that is explicitly specified switch ports belong to which VLAN, which requires the network administrator to manually configure. When a user switches to a port on the host, it is assigned to the corresponding VLAN, as shown in FIG.
VLAN Overview and Configuration
Fifth, the static VLAN configuration:
the Cisco switch can support up to 4096 VLAN, VLAN Figure shows the assignment of. Wherein VLAN 1 is the default VLAN, VLAN can be used;
the VLAN 2-1001 user can use; VLAN 1025-4094 user also can be used. Other systems use both VLAN range.
VLAN Overview and Configuration
Sixth, the static VLAN configuration steps are as follows:
VLAN Overview and Configuration
Seven, create VLAN in two ways:
VLAN Overview and Configuration
1, VLAN database configuration mode: This mode only supports VLAN normal range (1-1005).
2, global mode: This mode not only support VLAN normal range, and can be configured VLAN extended VLAN range VLAN database configuration mode can not be configured.
Eight, delete VLAN command:
VLAN Overview and Configuration
Nine, commands to configure the VLAN in global configuration mode:
VLAN Overview and Configuration
to add that, if it is added to the VLAN is not connected to the interface, then you can enter interface range f0 / 0, f0 / 2, f0 in interface mode / 6 enter, and then add VLAN speaking lectures at the port mode.
Ten, restore the default configuration command:
VLAN Overview and Configuration
eleven, verify VLAN configuration command:
VLAN Overview and Configuration

Guess you like

Origin blog.51cto.com/14449521/2427652