beautypg.com

Default vlan – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 61

background image

7-6

Default VLAN

You can configure the default VLAN for a port. By default, VLAN 1 is the default VLAN for all ports.
However, this can be changed as needed.

z

An Access port only belongs to one VLAN. Therefore, its default VLAN is the VLAN it resides in and
cannot be configured.

z

You can configure the default VLAN for the Trunk port or the Hybrid port as they can both belong to
multiple VLANs.

z

After deletion of the default VLAN using the undo vlan command, the default VLAN for an Access
port will revert to VLAN 1, whereas that for the Trunk or Hybrid port remains, meaning the port can
use a nonexistent VLAN as the default VLAN.

For a port in automatic voice VLAN mode, do not set the voice VLAN as the default VLAN of the port.
Otherwise, the system prompts error information. For information about voice VLAN, refer to

Voice

VLAN Configuration

.

Configured with the default VLAN, a port handles packets in the following ways:

Inbound packets handling

Port type

If no tag is carried

in the packet

If a tag is carried in the packet

Outbound packets

handling

Access Port

Tag the packet with
the default VLAN ID

z

Receive the packet if its VLAN
ID is the same as the default
VLAN ID

z

Discard the packet if its VLAN
ID is different from the default
VLAN ID

Strip the Tag and send the
packet as the VLAN ID is the
same with the default VLAN
ID

Trunk port

z

Strip the tag and send the
packet if the VLAN ID is
the same as the default
VLAN ID

z

Keep the tag and send
the packet if the VLAN ID
is not the same as the
default VLAN ID but
allowed to pass through
the port

Hybrid port

Check whether the
default VLAN ID of
the port is in the list
of VLANs allowed to
pass through the
port, if yes, tag the
packet with the
default VLAN ID; if
no, discard the
packet

z

Receive the packet if the
VLAN ID is in the list of VLANs
allowed to pass through the
port

z

Discard the packet if the VLAN
ID is not in the list of VLANs
allowed to pass through the
port

Send the packet if the VLAN
ID is allowed to pass through
the port. Use the port hybrid
vlan

command to configure

whether the port keeps or
strips the tags when sending
packets of a VLAN (including
the default VLAN).