C
ONFIGURING
THE
S
WITCH
2-48
CLI – This example creates a new VLAN.
Adding Interfaces Based on Membership Type
Command Attributes
Port – Port identifier.
Trunk – Trunk identifier.
VLAN – ID of configured VLAN (1-4094, no leading zeroes).
Name – Name of the VLAN (1 to 64 characters).
Status – Shows if this VLAN is enabled or disabled.
- Enable: VLAN is operational.
- Disable: VLAN is suspended; i.e., does not pass packets.
Membership Type – Select VLAN membership for each interface
by marking the appropriate radio button for a port or trunk:
-Tagged: Interface is a member of the VLAN. All packets
transmitted by the port will be tagged, that is, carry a tag and
therefore carry VLAN or CoS information.
-Untagged: Interface is a member of the VLAN. All packets
transmitted by the port will be untagged, that is, not carry a tag and
therefore not carry VLAN or CoS information. Note that an
interface must be assigned to at least one group as an untagged port.
-Forbidden: Interface is forbidden from automatically joining the
VLAN via GVRP. For more information, see “GVRP” on page 81.
-None: Interface is not a member of the VLAN. Packets associated
with this VLAN will not be transmitted by the interface.
Console(config)#vlan database 3-94
Console(config-vlan)#vlan 5 name R&D media ethernet state
active 3-95
Console(config-vlan)#