C
ONFIGURING THE
CLI – This example creates a new VLAN.
Console(config)#vlan database
Console(config-vlan)#vlan 5 name R&D media ethernet state
active
Console(config-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 32 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.
2-48
S
WITCH
3-95
3-96