Stephen Technologies Co.,Limited
www.stephen-tele.com
Beginning in privileged EXEC mode, follow these steps to configure a VLAN.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
vlan static add vid
vid
port-list
Create a VLAN.
Vid:1~4096
Port-list: port-u|m, ‘u’ indicate untag port and
‘m’ indicate tag port
vlan pvid-range {1-255|
256-511 | 512 767 |
768-1023 | 1024-1279 |
1280-1535 | 1536-1791 |
1792-2047 | 2048-2303 |
2304-2559 | 2560-2815 |
2816-3071 | 3072-3327 |
3328-3583 | 3584-3839 |
3840-4094 }
Setting pvid range, as same time pvid is only one of
these value range.
Note:
If you change pvid range , you must confirm the new
pvid range include all VLAN ID of vlan existed
Vlan port pvid
port-number
pvid
Setting VLAN port pvid
vlan static set vid
vid
port-list
Modifying an exist VLAN.
Port-list: port-u|m|-, ‘u’ indicate untag port
‘m’ indicate tag port and ‘-‘ indicate remove a port
from the VLAN.
Step 3
exit
Return to privileged EXEC mode.
Step 4
show vlan table
Verify your entries.
Step 5
write
(Optional) Save your entries in the configuration file.
II. WEB configuration:
Creating VLAN and Setting PVID range
Click 802.1q-based Vlan, Static VLAN Configuration, Specify PVID-RANGE, Enter VID,
Specify VLAN port , then click Apply.