![background image](http://html1.mh-extra.com/html/foundry-networks/netiron-m2404c/netiron-m2404c_user-manual_2324273283.webp)
Foundry NetIron M2404C and M2404F Metro Access Switches Configuring VLANs (Rev.03)
Virtual LANs
© 2008 Foundry Networks, Inc.
Page 15 of 73
Example
The following example creates a sequence of VLANs and displays the results:
device-name
(config vlan)#
create range 15 21 1/1/1-1/1/5 untagged 1/1/10
tagged
device-name
(config vlan)#
show
===================================================================
Name |VTag| Rout If | Tagged ports | Untagged ports
-----------------+----+---------+------------------+---------------
default |1 | sw0 | |1/1/1-1/1/24
Vlan_15 |15 | | 1/1/10 |1/1/1-1/1/5
Vlan_16 |16 | | 1/1/10 |1/1/1-1/1/5
Vlan_17 |17 | | 1/1/10 |1/1/1-1/1/5
Vlan_18 |18 | | 1/1/10 |1/1/1-1/1/5
Vlan_19 |19 | | 1/1/10 |1/1/1-1/1/5
Vlan_20 |20 | | 1/1/10 |1/1/1-1/1/5
Vlan_21 |21 | | 1/1/10 |1/1/1-1/1/5
Deleting a Range of VLANs
The
delete range
command, in VLAN Configuration mode, deletes a sequence of VLANs in the
specified tag-number range.
The VLANs in the specified range do to not have to contain the same configuration.
Command Syntax
device-name
(config vlan)#
delete range
<vlan-id1>
<vlan-id2>
Argument Description
vlan-id1
Beginning of range, <2-4093>.
vlan-id1
must be less than
vlan-id2
.
vlan-id2
End of range, <2-4093>.
vlan-id2
must be greater than
vlan-id1
.
Example
device-name
(config vlan)#
show
=====================================================================
Name |VTag| Rout If | Tagged ports | Untagged ports
-----------------+----+---------+------------------+---------------
default |1 | sw0 | |1/1/1-1/1/24
Vlan_15 |15 | | 1/1/10 |1/1/1-1/1/5
Vlan_16 |16 | | 1/1/10 |1/1/1-1/1/5
Vlan_17 |17 | | 1/1/10 |1/1/1-1/1/5
Vlan_18 |18 | | 1/1/10 |1/1/1-1/1/5
Vlan_19 |19 | | 1/1/10 |1/1/1-1/1/5
Vlan_20 |20 | | 1/1/10 |1/1/1-1/1/5
Vlan_21 |21 | | 1/1/10 |1/1/1-1/1/5
device-name
(config vlan)#
delete range 15 19
device-name
(config vlan)#
show
=====================================================================
Name |VTag| Rout If | Tagged ports | Untagged ports
-----------------+----+---------+------------------+---------------
default |1 | sw0 | |1/1/1-1/1/24
Vlan_20 |20 | | 1/1/10 |1/1/1-1/1/5
Vlan_21 |21 | | 1/1/10 |1/1/1-1/1/5