Assigning An Access Port To A Vlan - HP 5820X series Configuration Manual

Hide thumbs Also See for 5820X series:
Table of Contents

Advertisement

Because a trunk or hybrid port can join multiple VLANs, you can configure a default VLAN for the
port.
Use a nonexistent VLAN as the default VLAN for a hybrid or trunk port but not for an access port.
After you remove the VLAN that an access port resides in with the undo vlan command, the default
VLAN of the port changes to VLAN 1. The removal of the VLAN specified as the default VLAN of a
trunk or hybrid port, however, does not affect the default VLAN setting on the port.
Do not set the voice VLAN as the default VLAN of a port in automatic voice VLAN assignment mode. For
information about voice VLAN, see the chapter "Voice VLAN configuration."
HP recommends that you set the same default VLAN ID for the local and remote ports.
Make sure that a port is assigned to its default VLAN. Otherwise, when the port receives frames tagged
with the default VLAN ID or untagged frames (including protocol packets such as MSTP BPDUs), the port
filters out these frames.
The following table shows how ports of different link types handle frames:
Port type
Access
Trunk
Hybrid

Assigning an access port to a VLAN

Assign an access port to a VLAN in VLAN view, interface view (including Ethernet interface view and
Layer 2 aggregate interface view), or port group view.
To assign one or multiple access ports to a VLAN in VLAN view:
To do...
1.
Enter system view
Actions (in the inbound direction)
Untagged frame
Tag the frame with the
default VLAN tag.
Check whether the
default VLAN is
permitted on the port:
If yes, tag the frame
with the default
VLAN tag.
If not, drop the
frame.
Use the command...
system-view
Tagged frame
Receive the frame if its
VLAN ID is the same as
the default VLAN ID.
Drop the frame if its VLAN
ID is different from the
default VLAN ID.
Receive the frame if its
VLAN is carried on the
port.
Drop the frame if its VLAN
is not carried on the port.
Remarks
108
Actions (in the outbound
direction)
Remove the VLAN tag and
send the frame.
Remove the tag and send
the frame if the frame
carries the default VLAN
tag and the port belongs to
the default VLAN.
Send the frame without
removing the tag if its VLAN
is carried on the port but is
different from the default
one.
Send the frame if its VLAN is
carried on the port. The frame
is sent with the VLAN tag
removed or intact depending
on your configuration with the
port hybrid vlan command.
This is true of the default VLAN.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 series

Table of Contents