Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-12
z
If the packet matches a protocol template, the packet will be tagged with the VLAN
ID of the protocol-based VLAN defined by the protocol template.
z
If the packet matches no protocol template, the packet will be tagged with the
default VLAN ID of the port.
The port processes a tagged packet (that is, a packet carrying a VLAN tag) in the same
way as it processes packets of a port-based VLAN.
z
If the port is configured to permit the VLAN identified by this VLAN tag, the port
forwards the packet.
z
If the port is configured to deny the VLAN identified by this VLAN tag, the port
discards the packet.
This feature is mainly used to bind the service type with VLAN for ease of management
and maintenance.
1.5.2 Configuring a Protocol-Based VLAN
Follow these steps to configure a protocol-based VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan
vlan-id
Required
If the specified VLAN does
not exist, this command
creates the VLAN and then
enters its view.
Configure the
protocol-based VLAN
and specify the protocol
template
protocol-vlan
[
protocol-index
] {
at
|
ipv4
|
ipv6
|
ipx
{
ethernetii |
llc
|
raw |
snap
} |
mode
{
ethernetii
etype etype-id
|
llc
{
dsap
dsap-id
[
ssap ssap-id
]
|
ssap ssap-id
} |
snap
etype etype-id
} }
Required
Exit the VLAN view
quit
Required
Enter
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet
port
view or
port
group
view
Enter port
group view
port-group
{
manual
port-group-name
|
aggregation agg-id
}
Use either command
In Ethernet port view, the
subsequent configurations
only apply to the current
port; in port group view, the
subsequent configurations
apply to all ports in the port
group
Configure the port link
type as Hybrid
port link-type
hybrid
Required