Operation Manual – VLAN
H3C S3100 Series Ethernet Switches Chapter 2 VLAN Configuration
2-10
II. Configuration procedure
Follow these steps to associate a port with the protocol-based VLAN:
To do... Use the command... Remarks
Enter system view
system-view
—
Enter port view
interface interface-type
interface-number
—
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 Ethernet
1/0/10 on the S3100 switch.
z IP network and AppleTalk network workstations (hosts) coexist in the Workroom.
z The S3100 switch connects to VLAN 100 (using IP network) through Ethernet
1/0/11 and to VLAN 200 (using AppleTalk network) through Ethernet 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.