xStack Gigabit Layer 3 Switch Command Line Interface Manual
15
VLAN C
OMMANDS
The xStack family of switches incorporate the idea of 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 fifteen (15) pre-defined protocols for configuring protocol-based VLANs. The user may also choose a
protocol that is not one of the fifteen defined protocols by properly configuring the
userDefined
protocol VLAN. The supported
protocols for the protocol VLAN function on this Switch include IP, IPX, 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> | {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]}}
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>}
Each command is listed, in detail, in the following sections.
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 you to create a VLAN on the Switch. The
h
b t
802 1Q VLAN
t
l b
d
120