H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 1 VLAN Configuration
1-7
Inbound packets handling
Port type
Untagged
packets
Tagged packets
Outbound packets
handling
Access
Tag each
packet with the
default VLAN
tag.
z Receive the
packets with the
default VLAN tag.
z Drop the packet if
the VLAN ID is not
the default VLAN
ID.
Remove the default
VLAN tag and send the
packets.
Trunk
z Remove the tag and
send the packet if
the packet carries
the default VLAN
tag.
z Keep the tag and
send the packet if its
VLAN ID is not the
default VLAN ID but
permitted to pass
through the port.
Hybrid
Check whether
the default
VLAN ID is
permitted to
pass through
the port:
z If yes, tag
each packet
with the
default
VLAN tag
z If not, drop
the packets.
z Receive a packet if
its VLAN ID is
permitted to pass
through the port.
z Drop a packet if its
VLAN ID is not
permitted to pass
through the port.
Send the packet if its
VLAN ID is permitted to
pass through the port.
In addition, you can use
the port hybrid vlan
command to configure
whether the port keeps
or removes the tags
when sending packets
of a VLAN (including the
default VLAN).
1.4.2 Configuring an Access-Port-Based VLAN
There are two ways to configure Access-port-based VLAN: one way is to configure in
VLAN view, the other way is to configure in Ethernet port view/port group view.
Follow these steps to configure an Access-port-based VLAN in VLAN view:
To do… Use the command… Remarks
Enter system view
system-view
Enter VLAN view
vlan vlan-id
Required
The VLAN must be
created first before
entering its view