C
HAPTER
20
| VLAN Commands
– 302 –
vlan aware This command displays or sets whether or not a port processes the VLAN
ID in ingress frames.
SYNTAX
vlan aware [enable | disable]
enable - Each frame is assigned to the VLAN indicated in the VLAN
tag, and the tag is removed.
disable - All frames are assigned to the default VLAN (as specified
by the vlan pvid command) and tags are not removed.
DEFAULT SETTING
Disabled
COMMAND USAGE
◆ If the port is VLAN aware, untagged frames received on the port are
assigned to the default PVID, and tagged frames are processed using
the frame’s VLAN ID. If the port is not VLAN aware, all frames received
on the port are assigned to the default PVID.
Regardless of whether or not a port is VLAN aware, if the VLAN to which
the frame has been assigned is different from the default PVID, a tag
indicating the VLAN to which this frame was assigned will be inserted in
the egress frame. Otherwise, the frame is transmitted without a VLAN
tag.
◆ When the PVID is set to “none” by the vlan pvid command (see
page 303) the ID for the VLAN to which this frame has been assigned is
inserted in frames transmitted from the port. The assigned VLAN ID can
be based on the ingress tag for tagged frames, or the default PVID for
untagged ingress frames. Note that this mode is normally used for
ports connected to VLAN aware switches.
◆ When forwarding a frame from this switch along a path that contains
any VLAN-aware devices, the switch should include VLAN tags. When
forwarding a frame from this switch along a path that does not contain
any VLAN-aware devices (including the destination host), the switch
should first strip off the VLAN tag before forwarding the frame.
EXAMPLE
VLAN>aware enable
VLAN>