VLAN Configuration Overview
The following procedure provides an overview of
VLAN (Virtual LAN) creation and configuration:
-
Create and name the VLAN.
create [ {vlan} vlan_name | vlan
vlan_list] {tag
tag } {description
vlan-description } {vr
name }
-
If needed, assign an IP address and mask
(if applicable) to the VLAN as described in Managing a VLAN IP Address.
-
If any ports in this VLAN will use a tag, assign a VLAN
tag.
configure
{vlan} vlan_name tag tag {remote-mirroring}
-
Assign one or more ports to the VLAN.
configure {vlan} [vlan_name | vlan_list] add ports [port_list | all] {tagged
tag | untagged} {{stpd} stpd_name} {dot1d | emistp | pvst-plus}}
As you add each port to the VLAN, decide if the
port will use an 802.1Q tag.
-
For the management VLAN on the switch, configure the
default IP route for virtual router (VR)
VR-Mgmt.
Note
See
IPv4 Unicast Routing for information
on configuring default IP routes or adding secondary IP addresses to VLANs.