Web
– Click VLAN, 802.1Q 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.
Figure 11-4 VLAN Static List - Creating VLANs
CLI
– This example creates a new VLAN.
Console(config)#vlan database
Console(config-vlan)#vlan 2 name R&D media ethernet state active
Console(config-vlan)#end
Console#show vlan
VLAN ID: 1
Type: Static
Name: DefaultVlan
Status:
A
c
t
i
v
e
34-5
34-6
3
4
-
1
3
Ports/Port Channels: Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)
Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)
Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
E
t
h
1
/
2
1
(
S)
E
t
h
1
/
2
2
(
S
)
E
t
h1/2
3
(
S
)
E
t
h
1
/
2
4
(
S)
2
Static
R&D
A
c
t
i
v
e
Adding Static Members to VLANs
(VLAN Index)
Use the VLAN Static Table to configure port members for the selected VLAN index.
A
ssign ports as tagged if they are connected to 802.1Q VLAN compliant devices, or
untagged they are not connected to any VLAN-aware devices. Or configure a port
as forbidden to prevent the switch from automatically adding it to a VLAN via the
GVRP protocol.
Notes: 1. You can also use the VLAN Static Membership by Port page to configure
VLAN groups based on the port index (page 9). However, note that this
configuration page can only add ports to a VLAN as tagged members.
2.
VLAN 1 is the default untagged VLAN containing all ports on the switch, and
can only be modified by first reassigning the default port VLAN ID as
described under “Configuring VLAN Behavior for Interfaces” on page 11-10.
11-7
IEEE 802.1Q VLANs
11
.
.
.
VLAN ID:
Type:
Name:
Status:
Ports/Port Channels:
Console#