Operation Manual – VLAN
H3C S5100-SI/EI Series Ethernet Switches
Chapter 2 VLAN Configuration
2-10
To do...
Use the command...
Remarks
Associate the port with
the specified
protocol-based VLAN
port hybrid protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-index-end
] |
all
}
Required
By default, a port is not
associated with any
protocol-based VLAN.
2.3.4 Displaying Protocol-Based VLAN Configuration
To do...
Use the command...
Remarks
Display the information about the
protocol-based VLAN
display vlan
[
vlan-id
[
to
vlan-id
]
|
all
|
dynamic
|
static
]
Display the protocol information
and protocol indexes configured
on the specified VLAN
display protocol-vlan vlan
{
vlan
-
id
[
to
vlan
-
id
]
|
all
}
Display the protocol information
and protocol indexes configured
on the specified port
display protocol-vlan interface
{
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Available in
any view
2.3.5 Protocol-Based VLAN Configuration Example
I. Network requirements
z
As shown in
Figure 2-2
, Workroom connects to the LAN through port
GigabitEthernet1/0/10 on the S5100-SI/EI switch.
z
IP network and AppleTalk network workstations (hosts) coexist in the Workroom.
z
The S5100-SI/EI switch connects to VLAN 100 (using IP network) through
GigabitEthernet1/0/11 and to VLAN 200 (using AppleTalk network) through
GigabitEthernet1/0/12.
z
Configure the switch to automatically assign the IP and AppleTalk packets to
proper VLANs for transmission, so as to ensure the normal communication
between the workstations and servers.