
2-7
For the operation of adding a hybrid port to a VLAN in the untagged way (when forwarding a packet, the
port removes the VLAN tag of the packet), refer to the section of configuring Ethernet ports in the “Port
Basic Configuration” part of this manual.
Displaying and Maintaining Protocol-Based VLAN
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
Protocol-Based VLAN Configuration Example
Network requirements
z
As shown in
Figure 2-2
, Workroom connects to the LAN through port GigabitEthernet 1/0/10 on the
switch.
z
IP network and AppleTalk network workstations (hosts) coexist in the Workroom.
z
The switch connects to VLAN 100 (using IP network) through GigabitEthernet 1/0/11 and to VLAN
200 (using AppleTalk network) through GigabitEthernet 1/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.
Figure 2-2
Network diagram for protocol-based VLAN configuration
VLAN 100
IP Server
VLAN 200
Appletalk Server
Work room
GEth1/0/10
GEth1/0/12
GEth1 /0/11
IP Host
Appletalk Host