H3C S3100-52P Operation Manual page 127

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S3100-52P Ethernet Switch
II. Network diagram
Figure 2-2 Network diagram for protocol-based VLAN configuration
III. 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
[Switch] vlan 100
[Switch-vlan100] protocol-vlan ip
# To ensure the normal operation of IP network, you need to configure a user-defined
protocol template for VLAN 100 to match the ARP protocol (assume Ethernet II
encapsulation is adopted here).
[Switch-vlan100] protocol-vlan mode ethernetii etype 0806
# Display the created protocol-based VLANs and the protocol templates.
[Switch-vlan100] display protocol-vlan vlan all
VLAN ID: 100
2-12
Chapter 2 VLAN Configuration

Advertisement

Table of Contents
loading

Table of Contents