HP A5120 EI Series Configuration Manual page 128

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

Configuration procedure
Configure Device.
1.
# Create VLAN 100, and assign port GigabitEthernet 1/0/1 1 to VLAN 100.
<Device> system-view
[Device] vlan 100
[Device-vlan100] description protocol VLAN for IPv4
[Device-vlan100] port gigabitethernet 1/0/11
[Device-vlan100] quit
# Create VLAN 200, and assign port GigabitEthernet 1/0/12 to VLAN 200.
[Device] vlan 200
[Device-vlan200] description protocol VLAN for IPv6
[Device-vlan200] port gigabitethernet 1/0/12
# Create an IPv6 protocol template in the view of VLAN 200, and create an IPv4 protocol template in the
view of VLAN 100.
[Device-vlan200] protocol-vlan 1 ipv6
[Device-vlan200] quit
[Device] vlan 100
[Device-vlan100] protocol-vlan 1 ipv4
[Device-vlan100] quit
# Configure port GigabitEthernet 1/0/1 as a hybrid port that forwards packets of VLANs 100 and 200
untagged.
[Device] interface gigabitethernet 1/0/1
[Device-GigabitEthernet1/0/1] port link-type hybrid
[Device-GigabitEthernet1/0/1] port hybrid vlan 100 200 untagged
Please wait... Done.
# Associate port GigabitEthernet 1/0/1 with the IPv4 protocol template of VLAN 100 and the IPv6
protocol template of VLAN 200.
[Device-GigabitEthernet1/0/1] port hybrid protocol-vlan vlan 100 1
[Device-GigabitEthernet1/0/1] port hybrid protocol-vlan vlan 200 1
[Device-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 as a hybrid port that forwards packets of VLANs 100 and 200
untagged, and associate GigabitEthernet 1/0/2 with the IPv4 protocol template of VLAN 100 and the
IPv6 protocol template of VLAN 200.
[Device] interface gigabitethernet 1/0/2
[Device-GigabitEthernet1/0/2] port link-type hybrid
[Device-GigabitEthernet1/0/2] port hybrid vlan 100 200 untagged
Please wait... Done.
[Device-GigabitEthernet1/0/2] port hybrid protocol-vlan vlan 100 1
[Device-GigabitEthernet1/0/2] port hybrid protocol-vlan vlan 200 1
Keep the default settings of L2 Switch A and L2 Switch B.
2.
Configure IPv4 Host A, IPv4 Host B, and IPv4 Server to be on the same network segment
3.
(192.168.100.0/24, for example), and configure IPv6 Host A, IPv6 Host B, and IPv6 Server to be
on the same network segment (192.168.200.0/24, for example).
121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents