ZyXEL Communications ES-2024A Switch User Manual


 
ES-2024 Series User’s Guide
Chapter 34 IEEE 802.1Q Tagged VLAN Commands 240
CHAPTER 34
IEEE 802.1Q Tagged VLAN
Commands
This chapter describes the IEEE 802.1Q Tagged VLAN and associated commands.
34.1 Configuring Tagged VLAN
The following procedure shows you how to configure tagged VLAN.
1 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.
2 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.
sysname(config)# vlan 2000
sysname(config-vlan)# name up1
sysname(config-vlan)# fixed 10-12
sysname(config-vlan)# no untagged 10-12
sysname(config-vlan)# exit
sysname(config)# interface port-channel 10-12
sysname(config-interface)# pvid 2000
sysname(config-interface)# exit
sysname(config)# vlan 3
sysname(config-vlan)# inactive