17.
Virtual LANs (VLANs)
MN700004 Rev 01
202
UU – (1 or 2-digit unit number) specifying all ports on unit;
UU/SS – (unit and slot number) specifying all ports on slot;
A hyphenated range of ports, e.g. - 1/1/9-1/1/16 or 1/2-1/3.
Several port numbers and/or ranges, separated by commas, e.g. 1/1, 1/1/3-1/1/6,
1/1/8.
tagged
(Optional) Specifies that the ports are tagged on the specified ports.
untagged
(Optional) Specifies that the ports are untagged on the specified ports.
NOTE
You can only specify ports that are all tagged or all untagged. For a “mixed” configuration,
you can add ports of either kind with the add ports command in each specific VLAN’s
configuration mode.
In the PORT-LIST, blank spaces before or after the comma that separates sequential lists
are not allowed.
Example
device-name
(config vlan)#
create range 15 20 1/1/1-1/1/3 untagged
This example creates a sequence of VLANs that you can display as follows:
device-name
(config vlan)#
show
======================================================================
Name |VTag| Tagged ports | Untagged ports
--------------------+----+---------------------+---------------
default |1 | |1/1/1-1/1/26
Vlan_15 |15 | |1/1/1-1/1/3
Vlan_16 |16 | |1/1/1-1/1/3
Vlan_17 |17 | |1/1/1-1/1/3
Vlan_18 |18 | |1/1/1-1/1/3
Vlan_19 |19 | |1/1/1-1/1/3
Vlan_20 |20 | |1/1/1-1/1/3
delete range
The
delete range
command, in VLAN Configuration mode, deletes a sequence of VLANs in
the specified tag-number range.
Command Syntax
device-name
(config vlan)#
delete range
<
vlan-id1
> <
vlan-id2
>
Argument Description
vlan-id1
Beginning of range, <2-4094>. Must be less than
vlan-id2.
vlan-id2
End of range, <2-4094>. Must be greater than
vlan-id1.
Example
device-name
(config vlan)#
delete range 15 18
device-name
(config vlan)#
show