Zyxel XS3700-24 [305/371] Vlan commands

Zyxel XS3700-24 [305/371] Vlan commands
Ethernet Switch CLI Reference Guide
305
CHAPTER 85
VLAN Commands
Use these commands to configure IEEE 802.1Q VLAN.
See Chapter 86 on page 311 for VLAN IP commands.
85.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.
85.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

Содержание

Скачать