Create a VLAN by port, protocol, or SPBM. Optionally, you can choose to assign the VLAN a name and color. VLANs 4060-4094 are used internally. Create a VLAN with a value between 2 and 4059.
vlan create <2-4059> name WORD<0-64> type port-mstprstp <0-63>
vlan create <2-4059> name WORD<0-64> type port-mstprstp <0-63> color <0-32>
vlan create <2-4059> name WORD<0-64> type protocol-mstprstp <0-63> ipv6
vlan create <2-4059> name WORD<0-64> type protocol-mstprstp <0-63> ipv6 color <0-32>
vlan create <2-4059> name WORD<0-64> type spbm-bvlan
vlan create <2-4059> name WORD<0-64> type spbm-bvlan color <0-32>
vlan create <2-4059> type port-mstprstp <0-63>
vlan create <2-4059> type port-mstprstp <0-63> color <0-32>
vlan create <2-4059> type protocol-mstprstp <0-63> ipv6
vlan create <2-4059> type protocol-mstprstp <0-63> ipv6 color <0-32>
vlan create <2-4059> type spbm-bvlan
vlan create <2-4059> type spbm-bvlan color <0-32>
vlan create <2-4059> name WORD<0-64> type pvlan-mstprstp <0-63> secondary <2-4059>
vlan create <2-4059> name WORD<0-64> type pvlan-mstprstp <0-63> secondary <2-4059> color <0-32>
vlan create <2-4059> type pvlan-mstprstp <0-63> secondary <2-4059> color <0-32>
Specifies the VLAN ID in the range of 2 to 4059. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. By default, the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998.
Note
Do not use the name Mgmt when you specify a name for the VLAN that you create. The switch creates a management VLAN at boot up with the assigned name Mgmt.
The show command does not show the management VLAN.
<0-63> is the STP instance ID in the range of 0-63
A.B.C.D/X is the subnet address or mask {a.b.c.d/x | a.b.c.d/x.x.x.x}
color <0-32> is the color of the VLAN in the range of 0 to 32
0-63 is the STP instance ID
appleTalk is the apple talk protocol
decLat is the declat protocol
decOther is the decother protocol
ip is the Ip version 4 protocol
ipx802dot2 specifies the Novell Internetwork Packet Exchange (IPX) on IEEE 802.2 frames
ipx802dot3 specifies the Novell Internetwork Packet Exchange (IPX) on Ethernet 802.3 frames
ipxEthernet2 specifies the Novell IPX on Ethernet type 2 frames
ipxsnap specifies the Novell IPX on Ethernet Standard Network Access Protocol (SNAP) frames
netbios is the Netbios protocol
PPPoE is the Point-to-Point Protocol Over Ethernet
rarp is the Rarp protocol
sna802dot2 is the Sna802dot2 protocol
snaethernet2 is the Snaethernet2 protocol
vines is the Vines protocol
xns is the Xns protocol
color <0-32> is the color of the VLAN in the range of 0 to 32
<0-63> is the STP instance ID in the range of 0-63
{0x0000|<decimal value>} is the protocol ID in hexadecimal or decimal value
color <0-32> is the color of the VLAN in the range of 0 to 32
encap specifies the frame encapsulation header type
None
Global Configuration
You cannot configure a VLAN name that uses all numbers, for example, 222.