D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
115
create vlan
Purpose Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094> | {type
{1q_vlan {advertisement} | [protocol-ip | protocol-ipx802dot3 |
protocol-ipx802dot2 | protocol-ipxSnap | protocol-ipxEthernet2 |
protocol-appleTalk | protocol-decLat | protocol-decOther |
protocol-sna802dot2 | protocol-snaEthernet2 | protocol-netBios
| protocol-xns | protocol-vines | protocol-ipV6 | protocol-
userDefined <hex0x0-0xffff> encap [ethernet | llc | snap | all] |
protocol-rarp]}}
Description This command allows the creation of a VLAN on the Switch. The
user may choose between an 802.1Q VLAN or a protocol-based
VLAN.
Parameters
<vlan_name 32> The name of the VLAN to be created.
tag <vlanid 2-4094> The VLAN ID of the VLAN to be created.
Allowed values = 2-4094
type – This parameter uses the type field of the packet header to
determine the packet protocol and destination VLAN. There are two
main choices of types for VLANs created on the Switch:
1q_vlan – Allows the creation of a normal 802.1Q VLAN on
the Switch.
advertisement Specifies that the VLAN is able to join
GVRP. If this parameter is not set, the VLAN cannot be
configured to have forbidden ports.
The following parameters allow for the creation of protocol-based
VLANs. The Switch supports 15 pre-configured protocol-based
VLANs plus one user defined protocol based VLAN where the
administrator may configure the settings for the appropriate protocol
and forwarding of packets (16 total). Selecting a specific protocol will
indicate which protocol will be utilized in determining the VLAN
ownership of a tagged packet. Pre-set protocol-based VLANs on the
Switch include:
protocol-ip – Using this parameter will instruct the Switch to
forward packets to this VLAN if the tag in the packet header is
concurrent with this protocol. This packet header information is
based on the Ethernet protocol.
protocol-ipx802dot3 - Using this parameter will instruct the
Switch to forward packets to this VLAN if the tag in the packet
header is concurrent with this protocol. This packet header
information is defined by Novell NetWare 802.3 (IPX - Internet
Packet Exchange).
protocol-ipx802dot2 - Using this parameter will instruct the
Switch to forward packets to this VLAN if the tag in the packet
header is concurrent with this protocol. This packet header
information is defined by Novell NetWare 802.2 (IPX - Internet
Packet Exchange).
protocol-ipxSnap - Using this parameter will instruct the
Switch to forward packets to this VLAN if the tag in the packet
header is concurrent with this protocol. This packet header
information is defined by Novell and the Sub Network Access
Protocol (SNAP).