ZyXEL Communications ES-2108 User Manual

Page of 224
ES-2108 Series User’s Guide
188
Chapter 29 IEEE 802.1Q Tagged VLAN Commands
29.2.2  Dynamic Entries (DVLAN Table)
Dynamic entries are learned by the switch and cannot be created or updated by administrators. 
The switch learns this information by observing what port, source address and VLAN ID (or 
VID) is associated with a frame. Entries are added and deleted using GARP VLAN 
Registration Protocol (GVRP), where GARP is the Generic Attribute Registration Protocol.
29.3  Configuring Tagged VLAN
The following procedure shows you how to configure tagged VLAN. 
Use the IEEE 802.1Q tagged VLAN commands to configure tagged VLAN for the 
switch. 
• Use the 
vlan <vlan-id>
 command to configure or create a VLAN on the switch. The 
switch automatically enters the 
config-vlan
 mode.Use the 
inactive
 command to 
deactivate the VLAN(s).
• Use the 
interface port-channel <port-list> command
 to enter the config-
interface mode to set the VLAN settings on a port, then use the pvid <vlan-id> 
command to set the VLAN ID you created for the port-list to that specific port in the 
PVID table. 
• Use the 
exit
 command when you are finished configuring the VLAN.
Example:
Figure 129   Tagged VLAN Configuration and Activation Example 
Configure your management VLAN. 
• Use the 
vlan <vlan-id>
 command to create a VLAN (VID 3 in this example) for 
managing the switch, and the switch will activate the new management VLAN.
• Use the 
inactive
 command to disable the new management VLAN.
Example:
ras (config)# vlan 2000
ras (config-vlan)# name up1
ras (config-vlan)# fixed 10-12
ras (config-vlan)# no untagged 10-12
ras (config-vlan)# exit
ras (config)# interface port-channel 10-12
ras (config-interface)# pvid 2000
ras (config-interface)# exit