Secondary Vlan Layer 3 Communication Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

Secondary VLAN Layer 3 communication configuration
example
Network requirements
As shown in
Primary VLAN 10 on Device B is associated with secondary VLANs 2 and 3. The IP address of
VLAN-interface 10 is 192.168.1.1/24.
The uplink port Ten-GigabitEthernet 1/1/5 is in VLAN 10. The ports Ten-GigabitEthernet 1/1/6
and Ten-GigabitEthernet 1/1/7 are in VLAN 2 and VLAN 3, respectively.
Secondary VLANs are isolated at Layer 2 but interoperable at Layer 3.
Figure 48 Network diagram
Configuration procedure
# Create VLANs 2 and 3.
<DeviceB> system-view
[DeviceB] vlan 2 to 3
# Configure VLAN 10 as a primary VLAN, and associate VLANs 2 and 3 with primary VLAN 10 as
secondary VLANs.
[DeviceB] vlan 10
[DeviceB-vlan10] private-vlan primary
[DeviceB-vlan10] private-vlan secondary 2 3
[DeviceB-vlan10] quit
# Configure the uplink port Ten-GigabitEthernet 1/1/5 as a promiscuous port of VLAN 10.
[DeviceB] interface ten-gigabitethernet 1/1/5
[DeviceB-Ten-GigabitEthernet1/1/5] port private-vlan 10 promiscuous
[DeviceB-Ten-GigabitEthernet1/1/5] quit
# Assign the downlink port Ten-GigabitEthernet 1/1/6 to VLAN 2, and configure the port as a host port.
[DeviceB] interface ten-gigabitethernet 1/1/6
[DeviceB-Ten-GigabitEthernet1/1/6] port access vlan 2
[DeviceB-Ten-GigabitEthernet1/1/6] port private-vlan host
[DeviceB-Ten-GigabitEthernet1/1/6] quit
# Assign the downlink port Ten-GigabitEthernet 1/1/7 to VLAN 3, and configure the port as a host port.
Figure
48, configure the private VLAN feature to meet the following requirements:
170

Advertisement

Table of Contents
loading

Table of Contents