beautypg.com

3 configuring tagged vlan, 4 global vlan1q tagged vlan configuration commands – ZyXEL Communications GS-3012F Series User Manual

Page 258

background image

Chapter 34 IEEE 802.1Q Tagged VLAN Commands

GS-3012/GS-3012F User’s Guide

258

34.3 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.

2 Use the

vlan

command to configure or create a VLAN on the switch. The

switch automatically enters the

config-vlan

mode.

3 Use the

exit

command when you are finished configuring the VLAN.

4 Use the

interface port-channel command

to enter the config-

interface mode to set the VLAN settings on a port, then use the pvid

command to set the VLAN ID you created for the port-list to that specific port in the
PVID table.

5 Use the

inactive

command to deactivate the VLAN(s).

Example:

Figure 158 Tagged VLAN Configuration and Activation Example

6 Configure your management VLAN.

• Use the

vlan

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:

Figure 159 CPU VLAN Configuration and Activation Example

34.4 Global VLAN1Q Tagged VLAN Configuration Commands

This section shows you how to configure and monitor the IEEE 802.1Q Tagged VLAN.

sysname(config)# vlan 2000
sysname(config-vlan)# name upl
sysname(config-vlan)# fixed 5-7
sysname(config-vlan)# no untagged 5-7
sysname(config-vlan)# exit
sysname(config)# interface port-channel 5-7
sysname(config-interface)# pvid 2000
sysname(config-interface)# exit
sysname(config)#

sysname(config)# vlan 3
sysname(config-vlan)# inactive
sysname(config-vlan)#