5-12
S
UMMIT
S
WITCH
I
NSTALLATION
AND
U
SER
G
UIDE
V
IRTUAL
LAN
S
(VLAN
S
)
VLAN C
ONFIGURATION
E
XAMPLES
The following example creates a port-based VLAN named
accounting
, assigns the IP
address 132.15.121.1, and assigns ports 1, 2, 3, and 6 to it:
create vlan accounting
config accounting ipaddress 132.15.121.1
config accounting add port 1-3,6
Because VLAN names are unique, you do not need to enter the keyword
vlan
after you have created the unique VLAN name. You can use the VLAN name
alone.
The following example creates a tag-based VLAN named
video
. It assigns the VLAN ID
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
config vlan <name> [add | delete] port
<portlist> {tagged | untagged}
Adds and deletes ports. You can specify
tagged and untagged port(s). By default, ports
are untagged.
config vlan <name> protocol
[<protocol_name> | any]
Configures a protocol-based VLAN. If the
keyword
any
is specified, then it becomes the
default VLAN. All packets that cannot be
classified into other protocol-based VLANs are
assigned to the default VLAN of that port.
config vlan <name> qosprofile <qosname>
Configures a VLAN to use a particular QoS
profile. Dynamic FDB entries associated with
the VLAN are flushed once the change is
committed.
config vlan <name> tag <vlanid>
Assigns a numerical VLAN ID. The valid range
is from 1 to 4095.
Table 5-1: VLAN Configuration Commands (continued)
Command
Description
SUMMIT.BK Page 12 Thursday, September 25, 1997 12:33 PM