xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
15
VLAN C
OMMANDS
The xStack DGS-3612G incorporates protocol-based VLANs. This standard, defined by the IEEE 802.1v standard maps packets to
protocol-defined VLANs by examining the type octet within the packet header to discover the type of protocol associated with it.
After assessing the protocol, the Switch will forward the packets to all ports within the protocol-assigned VLAN. This feature will
benefit the administrator by better balancing load sharing and enhancing traffic classification. The Switch supports fourteen (14) pre-
defined protocols for configuring protocol-based VLANs. The user may also choose a protocol that is not one of the fourteen defined
protocols by properly configuring the
userDefined
protocol VLAN. The supported protocols for the protocol VLAN function on this
Switch include IPX Ethernet 2, IPX 802.2, IPX 802.3, IP, DEC, DEC LAT, SNAP, NetBIOS, AppleTalk, XNS, SNA, IPv6, RARP
and VINES.
The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
create vlan
<vlan_name 32> {tag <vlanid 2-4094> | advertisement | {type {1q_vlan
{advertisement} | [protocol-ip | protocol-ipx802dot3 | protocol-ipx802dot2 |
protocol-ipxSnap | protocol-ipxEthernet2 | protocol-appleTalk | protocol-
decLat | protocol-sna802dot2 | protocol-snaEthernet2 | protocol-netBios |
protocol-xns | protocol-vines | protocol-ipV6 | protocol-userDefined <hex0x0-
0xffff> encap [ethernet | llc | snap | all] | protocol-rarp]}}
delete vlan
<vlan_name 32>
config vlan
<vlan_name 32> {[add [tagged | untagged | forbidden] <portlist> |
advertisement [enable | disable]}
config vlan
<vlan_name 32> delete <portlist>
config gvrp
[<portlist> | all] {state [enable | disable] | ingress_checking [enable | disable] |
acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}
enable gvrp
disable gvrp
show vlan
{<vlan_name 32>}
show gvrp
{<portlist>}
create 802.1x guest_vlan
<vlan_name 32>
config 802.1x guest_vlan ports
[<portlist> | all] state [enable | disable]
show 802.1x guest_vlan
delete 802.1x guest_vlan
Each command is listed, in detail, in the following sections.
NOTE:
A specific protocol VLAN and a user defined protocol VLAN with
the same encapsulation protocol cannot coexist and will result in a
Fail!
Message. (For example, if a user creates an
Ethernet2
protocol VLAN, the
user can not create a
userDefined
protocol VLAN with an Ethernet
encapsulation)
create vlan
Purpose
Used to create a VLAN on the Switch.
Syntax
create vlan <vlan_name 32> {tag <vlanid 2-4094> | advertisement | {type
{1q_vlan {advertisement} | [protocol-ip | protocol-ipx802dot3 | protocol-
ipx802dot2 | protocol-ipxSnap | protocol-ipxEthernet2 | protocol-
appleTalk | protocol-decLat | protocol-sna802dot2 | protocol-
106