10G Core Routing Switch User Manual
陈泽科技有限公司
- - 23 - -
www.stephen-tele.com
6.
VLAN Configuration
6.1.
VLAN Overview
Virtual Local Area Network (VLAN) groups the devices of a LAN logically but not physically into segments to implement
the virtual workgroups. IEEE issued the IEEE 802.1Q in 1999, which was intended to standardize VLAN implementation
solutions.Through VLAN technology, network managers can logically divide the physical LAN into different broadcast
domains. Every VLAN contains a group of workstations with the same demands. The workstations of a VLAN do not
have to belong to the same physical LAN segment. With VLAN technology, the broadcast and unicast traffic within a
VLAN will not be forwarded to other VLANs, therefore, it is very helpful in controlling network traffic,saving device
investment, simplifying network management and improving security.
VLAN Port Membership Modes
You configure a port to belong to a VLAN by assigning a membership mode that specifies the kind of traffic the port
carries and the number of VLANs to which it can belong.
Static-access
: A static-access port can belong to one VLAN and is manually assigned to that VLAN.
Trunk (IEEE 802.1Q)
: A trunk port is a member of all VLANs by default, but membership can be limited by
configuring the allowed-VLAN list.
6.2.
Configuring VLAN
VLAN configuration includes:
Creating/deleting a VLAN
Specifying/removing a VLAN port
To configure a VLAN, first create a VLAN according to the requirements.
6.2.1.
Creating/Deleting a VLAN
You can use the following command to create/delete a VLAN.
Beginning in privileged EXEC mode, follow these steps to create a VLAN.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
interface vlan
vlan_id
Create a VLAN.
Vlan_id:2~4094
Step 3
exit
Return to privileged EXEC mode.
Step 4
show interface vlan
vlan_id
Verify your entries.
Step 5
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
To delete a Vlan, use
no interface vlan
vlan_id
global command.