Adding static members to vlans (vlan index) – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual
Page 170
![background image](/manuals/34443/170/background.png)
Configuring the Switch
3-130
3
CLI – This example creates a new VLAN.
Adding Static Members to VLANs (VLAN Index)
Use the VLAN Static Table to configure port members for the selected VLAN index.
Assign 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 3-132). 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 3-133.
Command Attributes
• VLAN – ID of configured VLAN (1-4094, no leading zeroes).
• Name – Name of the VLAN (1 to 32 characters).
• Status – Enables or disables the specified VLAN.
- Enable: VLAN is operational.
- Disable: VLAN is suspended; i.e., does not pass packets.
• Port – Port identifier.
• Trunk – Trunk identifier.
Console(config)#vlan database
Console(config-vlan)#vlan 2 name R&D media ethernet state active
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(config-vlan)#