Displaying Protocol-Based VLAN Configuration
Display the information about the
protocol-based VLAN
Display the protocol information and
protocol indexes configured on the
specified VLAN
Display the protocol information and
protocol indexes configured on the
specified port
Protocol-Based VLAN Configuration Example
Network requirements
As shown in
S5100-SI/EI switch.
IP network and AppleTalk network workstations (hosts) coexist in the Workroom.
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.
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.
Network diagram
Figure 2-2 Network diagram for protocol-based VLAN configuration
IP Server
GE1/0/11
IP Host
Workroom
Configuration procedure
# Create VLAN 100 and VLAN 200, and add GigabitEthernet1/0/11 and GigabitEthernet1/0/12 to VLAN
100 and VLAN 200 respectively.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] port GigabitEthernet 1/0/11
[Sysname-vlan100] quit
To do...
Figure
2-2, Workroom connects to the LAN through port GigabitEthernet1/0/10 on the
AppleTalk Server
GE1/0/12
GE1/0/10
AppleTalk Host
Use the command...
display vlan [ vlan-id [ to vlan-id ] | all |
dynamic | static]
display protocol-vlan vlan { vlan-id [ to
vlan-id ] | all }
display protocol-vlan interface
{ interface-type interface-number [ to
interface-type interface-number ] | all }
2-9
Remarks
Available in
any view