70 Summit 300-48 Switch Software User Guide
Virtual LANs (VLANs)

Renaming a VLAN

To rename an existing VLAN, use the following command:
config vlan <old_name> name <new_name>
The following rules apply to renaming VLANs:
After you change the name of the default VLAN, it cannot be changed back to default.
You cannot create a new VLAN named default.
Configuring VLANs on the Switch
This section describes the commands associated with setting up VLANs on the switch. Configuring a
VLAN involves the following steps:
1Create and name the VLAN.
2Assign an IP address and mask (if applicable) to the VLAN, if needed.
NOTE
Each IP address and mask assigned to a VLAN must represent a unique IP subnet. You cannot
configure the same IP subnet on different VLANs.
3Assign a VLANid, if any ports in this VLAN will use a tag.
4Assign one or more ports to the VLAN.
As you add each port to the VLAN, decide if the port will use an 802.1Q tag.

VLAN Configuration Commands

Table18 describes the commands used to configure a VLAN.
Table 1 8: VLAN Configuration Commands
Command Description
config vlan <name> add port <portlist> {tagged
| untagged} {nobroadcast} Adds one or more ports to a VLAN. You can
specify tagged port(s), untagged port(s).
Specify nobroadcast to prevent the switch
from forwarding broadcast, multicast, and
unknown unicast traffic. By default, ports are
untagged.
config vlan <name> delete port <portlist>
{tagged | untagged} {nobroadcast} Deletes one or more ports from a VLAN.
config vlan <name> ipaddress <ipaddress>
{<mask>} Assigns an IP address and an optional mask to
the VLAN.
config vlan <name> tag <vlanid> Assigns a numerical VLANid. The valid range
is from 2 to 4094 (1 is used by the default
VLAN).
config vlan <old_name> name <new_name> Renames a previously configured VLAN.
create vlan <name> Creates a named VLAN.