Chapter 34 IEEE 802.1Q Tagged VLAN Commands

34.3 Configuring Tagged VLAN

The following procedure shows you how to configure tagged VLAN.

1Use the IEEE 802.1Q tagged VLAN commands to configure tagged VLAN for the switch.

2Use the vlan <vlan-id>command to configure or create a VLAN on the switch. The switch automatically enters the config-vlanmode.

3Use the exit command when you are finished configuring the VLAN.

4Use 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.

5Use the inactive command to deactivate the VLAN(s).

Example:

Figure 158 Tagged VLAN Configuration and Activation Example

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)#

6Configure 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:

Figure 159 CPU VLAN Configuration and Activation Example

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

34.4 Global VLAN1Q Tagged VLAN Configuration Commands

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

258

 

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