beautypg.com

Vlan commands, 1 vlan overview, 2 vlan configuration overview – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 229: Chapter 66 on, For vlan, Vlan commands (229)

background image

Ethernet Switch CLI Reference Guide

229

C

H A P T E R

66

VLAN Commands

Use these commands to configure IEEE 802.1Q VLAN.

"

See

Chapter 67 on page 235

for VLAN IP commands.

66.1 VLAN Overview

A VLAN (Virtual Local Area Network) allows a physical network to be partitioned into
multiple logical networks. Devices on a logical network belong to one group. A device can
belong to more than one group. With VLAN, a device cannot directly talk to or hear from
devices that are not in the same group(s); the traffic must first go through a router.

"

VLAN is unidirectional; it only governs outgoing traffic.

66.2 VLAN Configuration Overview

1 Use the vlan <vlan-id> command to configure or create a VLAN on the Switch.

The Switch automatically enters config-vlan mode. Use the exit command when you

are finished configuring the VLAN.

2 Use the interface port-channel <port-list> command to set the VLAN

settings on a port. The Switch automatically enters config-interface mode. Use the pvid
<vlan-id> command to set the VLAN ID you created for the port-list in the PVID

table. Use the exit command when you are finished configuring the ports.

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