H3C S6850 Series Configuration Manual page 165

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

Figure 6 Network diagram
L2 switch A
IPv4 host A
VLAN 100
Procedure
In this example, L2 Switch A and L2 Switch B use the factory configuration.
1.
Configure Device:
# Create VLAN 100, and configure the description for VLAN 100 as protocol VLAN for IPv4.
<Device> system-view
[Device] vlan 100
[Device-vlan100] description protocol VLAN for IPv4
# Assign Twenty-FiveGigE 1/0/3 to VLAN 100.
[Device-vlan100] port twenty-fivegige 1/0/3
[Device-vlan100] quit
# Create VLAN 200, and configure the description for VLAN 200 as protocol VLAN for IPv6.
[Device] vlan 200
[Device-vlan200] description protocol VLAN for IPv6
# Assign Twenty-FiveGigE 1/0/4 to VLAN 200.
[Device-vlan200] port twenty-fivegige 1/0/4
# Configure VLAN 200 as a protocol-based VLAN, and create an IPv6 protocol template with
the index 1 for VLAN 200.
[Device-vlan200] protocol-vlan 1 ipv6
[Device-vlan200] quit
# Configure VLAN 100 as a protocol-based VLAN. Create an IPv4 protocol template with the
index 1, and create an ARP protocol template with the index 2. (In Ethernet II encapsulation, the
protocol type ID for ARP is 0806 in hexadecimal notation.)
[Device] vlan 100
[Device-vlan100] protocol-vlan 1 ipv4
[Device-vlan100] protocol-vlan 2 mode ethernetii etype 0806
[Device-vlan100] quit
VLAN 100
IPv4 server
IPv6 server
WGE1/0/3
WGE1/0/4
WGE1/0/1
WGE1/0/2
Device
IPv6 host A
IPv4 host B
VLAN 200
VLAN 100
VLAN 200
L2 switch B
IPv6 host B
VLAN 200
23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents