Reference Guide
Switch commands 3 Configuration commands
154 NN47928-107
switch vlan
This command assigns ports as members of a Virtual LAN (VLAN). The
ports can be any of the LAN switch ports. The ports can be the WAN port or
any of the LAN switch ports. Switching is confined to the members of
VLANs.
Packets can be transmitted tagged with the VLAN ID for VLAN trunking or
untagged as follow:
z Tagged ports transmit tagged packets. A port can belong to multiple
VLANs as tagged.
z Untagged ports transmit untagged packets. A port can belong to only
one VLAN as untagged.
Untagged packets delivered to an untagged port are internally tagged with
the VLAN ID to which the port belongs; this enables those packets to be
switched.
Tagged packets arriving at a port, including a VLAN identifier different than
the one of the port, are dropped.
IEEE 802.1p packets are considered untagged packets.
Syntax config switch vlan <vid> name <name> p1|p2|p3|p4 [*|u|t]
Parameters vid Enter the VLAN identification number. Valid
range is 1-4094.
name <name> Enter a name or description of the VLAN. Up to
32 characters are allowed.
p1|p2|p3|p4 *|u|t Enter the VLAN state of the port. * is not
member, U is member and untagged, T is
member and tagged.
Example The following example assigns port 1 to VLAN 3 as an untagged port.
> config switch vlan 3 name v3 p1 u
Related
commands
display switch vlan
show switch vlan
show interface vlan










