C
ONFIGURING
THE
S
WITCH
2-60
State (CLI) – Shows if this VLAN is enabled or disabled.
- Active: VLAN is operational.
- Suspend: VLAN is suspended; i.e., does not pass packets.
Add – Adds a new VLAN group to the current list.
Remove – Removes a VLAN group from the current list. If any
port is assigned to this group as untagged, it will be reassigned
to VLAN group 1 as untagged.
Web – Click VLAN, VLAN Static List. To create a new VLAN, enter
the VLAN ID and VLAN name, mark the Enable checkbox to
activate the VLAN, and then click Add.
CLI – This example creates a new VLAN.
Console(config)#vlan database 3-122
Console(config-vlan)#vlan 2 name R&D media ethernet state active
3-123
Console(config-vlan)#end
Console#show vlan
VLAN Type Name Status Ports/Channel groups
---- ------- -------------- ------- ----------------------
1 Static DefaultVlan Active Eth1/ 1 Eth1/ 2 Eth1/ 3
Eth1/ 4 Eth1/ 5 Eth1/ 6
Eth1/ 7 Eth1/ 8 Eth1/ 9
Eth1/10 Eth1/11 Eth1/12
Eth1/13 Eth1/14 Eth1/15
Eth1/16 Eth1/17 Eth1/18
Eth1/19 Eth1/20 Eth1/21
Eth1/22 Eth1/23 Eth1/24
2 Static R&D Active
Console#