VLAN Configuration
© Copyright Lenovo 2017
These commands configure VLAN attributes, change the status of each VLAN,
change the port membership of each VLAN, and delete VLANs.
By default, VLAN 1 is the only VLAN configured on the switch. All ports are
members of VLAN 1 by default. Up to 4095 VLANs can be configured on the
G8264CS.
VLANs can be assigned any number between 1 and 4094. VLAN 4095 is reserved
for switch management.
Table 245.
VLAN Configuration Options
Command Syntax and Usage
vlan <VLAN ID (1‐4094)>
Enter VLAN configuration mode. If the specified VLAN(s) doesn't exist, it will
be created.
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
no name
Removes the assigned name from the current VLAN.
Command mode: VLAN
protocolvlan <protocol number (1‐8)>
Configures the Protocol‐based VLAN (PVLAN). For command options, see
page
456.
Command mode: VLAN
shutdown
Disables local traffic on the specified VLAN.
The default setting is enabled (no shutdown).
Command mode: VLAN
no shutdown
Enables local traffic on the specified VLAN.
This is the default setting.
Command mode: VLAN
stg <1‐256>
Assigns a VLAN to a Spanning Tree Group.
Note: For MST no VLAN assignation is required. VLANs are mapped from
CIST.
Command mode: VLAN
Chapter 4: Configuration Commands
455