Protocol-based vlan configuration example, Network requirements, Network diagram – H3C Technologies H3C S3100 Series Switches User Manual

Page 102: Configuration procedure

Advertising
background image

2-11

To do...

Use the command...

Remarks

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 }

Protocol-Based VLAN Configuration Example

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.

Network diagram

Figure 2-2 Network diagram for protocol-based VLAN configuration

Configuration procedure

# Create VLAN 100 and VLAN 200, and add Ethernet 1/0/11 and Ethernet 1/0/12 to VLAN 100 and

VLAN 200 respectively.

<Switch> system-view

[Switch] vlan 100

[Switch-vlan100] port Ethernet 1/0/11

[Switch-vlan100] quit

[Switch] vlan 200

[Switch-vlan200] port Ethernet 1/0/12

# Configure protocol templates for VLAN 200 and VLAN 100, matching AppleTalk protocol and IP

protocol respectively.

[Switch-vlan200] protocol-vlan at

[Switch-vlan200] quit

Advertising