Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-24
Note:
z
The
port hybrid protocol-vlan vlan
command is available on hybrid ports only.
z
Before you bind a port with a protocol VLAN, assign the port to the VLAN with the
port hybrid vlan
command. Otherwise, the binding will fail.
z
To bind a protocol template to a port in a VLAN successfully, you must ensure that
the protocol template has been created in the VLAN. If the protocol template you are
binding with the port has not been created in the VLAN, the system will display the
operation failure message. If some of the protocol templates you are binding with
the port have not been created in the VLAN, the system does not display error
messages while binding those already created with the port.
z
When you removes the binding between a port and a protocol template, the system
will report operation failure if the index of the specified protocol to be removed does
not exist. If a part of the specified protocol indexes to be removed do not exist, the
switch will remove the existing indexes when it prompts errors.
Related commands:
display protocol-vlan interface
.
Examples
# Bind Ethernet 1/0/1 with the protocols indexed from 0 to 2 of VLAN 3 (assuming that
VLAN 3 is a protocol VLAN).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] port hybrid protocol-vlan vlan 3 0 to 2
# Remove the binding between Ethernet 1/0/1 and protocols indexed from 1 to 4 of
VLAN 3.
[Sysname-Ethernet1/0/1] undo port hybrid protocol-vlan vlan 3 1 to 4
Protocol index 1 does not exist in VLAN 3
Protocol index 4 does not exist in VLAN 3
1.4.4 protocol-vlan
Syntax
protocol-vlan
[
protocol-index
] {
at
|
ip
|
ipx
{
ethernetii |
llc
|
raw |
snap
} |
mode
{
ethernetii etype etype-id
|
llc dsap dsap-id ssap ssap-id
|
snap
etype etype-id
} }
undo protocol-vlan
{
protocol-index
[
to
protocol-index-end
] |
all
}
View
VLAN view