This section describes the commands associated with setting up VLANs on the switch. Configuring a
VLAN involves the following steps:
1 Create and name the VLAN.
2 Assign 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.
3 Assign a VLANid, if any ports in this VLAN will use a tag.
4 Assign 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
Table 28 describes the commands used to configure a VLAN.
Table 28: VLAN Configuration Commands
Command Description
config vlan
| 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
{tagged | untagged} {nobroadcast}
Deletes one or more ports from a VLAN.
config vlan
{
Assigns an IP address and an optional mask to
the VLAN.
config vlan
is from 2 to 4094 (1 is used by the default
VLAN).
92 Summit 200 Series Switch Installation and User Guide
Virtual LANs (VLANs)
VLAN Configuration Examples
The following Summit 200 series switch example creates a tag-based VLAN named video. It assigns the
VLANid 1000. Ports 4 through 8 are added as tagged ports to the VLAN.
create vlan video
config video tag 1000
config video add port 4-8 tagged
The following Summit 200 series switch example creates a VLAN named sales, with the VLANid 120.
The VLAN uses both tagged and untagged ports. Ports 1 through 3 are tagged, and ports 4 and 7 are
untagged. Note that when not explicitly specified, ports are added as untagged.
create vlan sales
config sales tag 120
config sales add port 1-3 tagged
config sales add port 4,7
Displaying VLAN Settings
To display VLAN settings, use the following command:
show vlan {
The show command displays summary information about each VLAN, which includes:
• Name
• VLANid
• How the VLAN was created
• IP address
• STPD information
• QoS profile information
• Ports assigned
• Tagged/untagged status for each port
• How the ports were added to the VLAN
• Number of VLANs configured on the switch
Use the detail option to display the detailed format.