HP A6600 Configuration Manual page 104

Layer 2 - lan switching
Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Figure 33 Network diagram for port-based VLAN configuration
Configuration procedure
Configuration on Router A
1.
# Create VLAN 100, and assign port GigabitEthernet 4/1/1 to VLAN 100.
<RouterA> system-view
[RouterA] vlan 100
[RouterA-vlan100] port gigabitEthernet 4/1/1
[RouterA-vlan100] quit
# Create VLAN 200, and assign port GigabitEthernet 4/1/2 to VLAN 200.
[RouterA] vlan 200
[RouterA-vlan200] port gigabitEthernet 4/1/2
[RouterA-vlan200] quit
# Configure port GigabitEthernet 4/1/3 as a trunk port, and assign it to VLANs 100 and 200, enabling
GigabitEthernet 4/1/3 to forward traffic of VLANs 100 and 200 to Router B.
[RouterA] interface gigabitEthernet 4/1/3
[RouterA-GigabitEthernet4/1/3] port link-type trunk
[RouterA-GigabitEthernet4/1/3] port trunk permit vlan 100 200
Please wait... Done.
Configure Router B as you configure Router A.
2.
Configure Host A and Host C to be on the same IP subnet. For example, 192.168.100.0/24.
3.
Configure Host B and Host D to be on the same IP subnet. For example, 192.168.200.0/24.
Verification
Host A and Host C and ping each other successfully, but they both fail to ping Host B. Host B and
1.
Host D and ping each other successfully, but they both fail to ping Host A.
Check whether the configuration is successful by displaying relevant VLAN information.
2.
# Display information about VLANs 100 and 200 on Router A.
[RouterA-GigabitEthernet4/1/3] display vlan 100
VLAN ID: 100
VLAN Type: static
Route Interface: not configured
Description: VLAN 0100
Name: VLAN 0100
Broadcast MAX-ratio: 100%
Tagged
Ports:
GigabitEthernet4/1/3
Untagged Ports:
97

Advertisement

Table of Contents
loading

Table of Contents