Foundry NetIron M2404C and M2404F Metro Access Switches Configuring VLANs (Rev.03)
Virtual LANs
© 2008 Foundry Networks, Inc.
Page 33 of 73
1. Enter into VLAN configuration mode:
device-name
#
configure terminal
device-name
(config)#
vlan
2. Remove management from VLANs 1, 3-4093 (only ports configured with VLAN ID 2 can be
use to manage the device):
device-name
(config vlan)#
no management 1,3-4093
3. Create the VLAN
manage
with VLAN ID 2:
device-name
(config vlan)#
create manage 2
4. Add port 1/1/2 as untagged to VLAN
manage
and add VLAN
manage
as PVID to port 1/1/2:
device-name
(config vlan)#
config manage
device-name
(config-vlan manage)#
add ports 1/1/2 untagged
device-name
(config-vlan manage)#
add ports default 1/1/2
device-name
(config-vlan manage)#
exit
5. Create the VLAN
v100
with VLAN ID 100:
device-name
(config vlan)#
create v100 100
6. Add port 1/1/3 as untagged to VLAN
v100
and add VLAN
v100
as PVID to port 1/1/3. Add
port 1/1/9 as tagged to VLAN
v100
:
device-name
(config vlan)#
config v100
device-name
(config-vlan v100)#
add ports 1/1/3 untagged
device-name
(config-vlan v100)#
add ports default 1/1/3
device-name
(config-vlan v100)#
add ports 1/1/9 tagged
device-name
(config-vlan v100)#
exit
7. Create the VLAN
v101
with VLAN ID 101:
device-name
(config vlan)#
create v101 101
8. Add port 1/1/10 as untagged to VLAN
v101
and add VLAN
v101
as PVID. Add port 1/1/9 as
tagged to VLAN
v101
:
device-name
(config vlan)#
config v101
device-name
(config-vlan v101)#
add ports 1/1/10 untagged
device-name
(config-vlan v101)#
add ports default 1/1/10
device-name
(config-vlan v101)#
add ports 1/1/9 tagged
device-name
(config-vlan v101)#
exit
9. Create the VLAN
v102
with VLAN ID 102:
device-name
(config vlan)#
create v102 102
10. Add port 1/1/11 as untagged to VLAN
v102
and add VLAN
v102
as PVID to port 1/1/11.
Add port 1/1/9 as tagged to VLAN
v102
:
device-name
(config vlan)#
config v102
device-name
(config-vlan v102)#
add ports 1/1/11 untagged
device-name
(config-vlan v102)#
add ports default 1/1/11
device-name
(config-vlan v102)#
add ports 1/1/9 tagged
device-name
(config-vlan v102)#
exit
11. Remove ports 1/1/2-1/1/3, 1/1/9-1/1/10 and 1/1/11 from VLAN
default
: