Technical data

RackSwitch G8124 Command Reference
154
Chapter 4: Configuration Commands BMD00076, January 2009
VLAN Configuration
The commands in this section configure VLAN attributes, change the status of the VLAN,
delete the VLAN, and change the port membership of the VLAN. By default, all VLANs are
disabled except VLAN 1, which is always enabled. The switch supports a maximum of 1,024
VLANs.
NOTEAll ports must belong to at least one VLAN. Any port which is removed from a VLAN
and which is not a member of any other VLAN is automatically added to default VLAN 1.
You cannot remove a port from VLAN 1 if the port has no membership in any other VLAN.
Also, you cannot add a port to more than one VLAN unless the port has VLAN tagging
enabled.
Table 4-40 VLAN Configuration Commands
Command Syntax and Usage
vlan {<1-4094>}
Enters VLAN configuration mode.
Command mode: Global configuration
name {<1-32 characters>}
Assigns a name to the VLAN or changes the existing name. The default VLAN name is the first
one.
Command mode: VLAN
stg {<0-128>}
Assigns a VLAN to a Spanning Tree Group (STG).
Command mode: VLAN
member {<port alias or number or port-range>}
Adds port(s) delimited by ',' or an interval of ports delimited by '-'.
Command mode: VLAN
no member {<port alias or number or port-range>}
Removes port(s) delimited by ',' or an interval of ports delimited by '-'.
Command mode: VLAN
[no] enable
Enables or disables the VLAN. The default value is disabled.
Command mode: VLAN
show vlan information
Displays the current VLAN configuration.
Command mode: All