User`s manual
Configuring VLANs
Command Line
You can create port-based and protocol-based VLANs using the Command Line interface.
Important
Port-based VLANs segment your network by physical switch ports. They are also required for routing
interfaces.
●
Network protocol-based VLANs are an effective way to segment your network into broadcast domains
according to the network protocols in use.
Traffic from IPX, Appletalk, NETBEUI and legacy systems using
mainframe protocols is automatically confined to a VLAN.
●
You can set protocol-based VLANs statically or set the Switch to create them automatically. When
protocol-based VLANs are enabled, the Switch inspects the "ethertype" field of all incoming packets to
see which protocol is there.
If there is no VLAN for that protocol, the Switch creates a new VLAN with that
source port as a member. If a VLAN exists for that protocol, it makes that port a member.
●
To create a port-based VLAN, set or modify its parameters:
>set vlan [name <vlan_name>] <port_list> [802.1q] [vid]
vlan_name creates or changes the name of the VLAN. If the name includes a space, it must be enclosed
in quotation marks. Do not enter a vlan_name if you are modifying the port list.
port_list is one or more ports assigned to this VLAN. You must enter at least one port when creating a
VLAN. A range of port numbers are separated by dashes, non-continguous numbers by commas.
802.1q enables tagging on all ports in the VLAN. If you do not enter 802.1q in this command, tagging
remains disabled.
vid assigns the VLAN identifier to the VLAN. If a VID is not specified, the Switch assigns one at random.
Example: >set vlan name "VLAN 2" 4-6, 10 802.1q 12
1.
To list all VLANs or one VLAN using its VID or VLAN name:
>show vlan [<vid> | name <vlan_name>]
Example: >show vlan
Example: >show vlan 3
Example: >show vlan name Engineering
2.
To set the Switch to automatically create or stop creating dynamic VLANs by protocol. The default setting
is disable:
>vlan byprotocol [enable | disable]
Example:>vlan byprotocol enable
3.
74