HP 6125XLG Configuration Manual page 177

Blade switch layer 2 lan switching
Table of Contents

Advertisement

[DeviceA-vlan10] quit
# Associate secondary VLANs 21 and 22 with primary VLAN 20.
[DeviceA] vlan 20
[DeviceA-vlan20] private-vlan secondary 21 22
[DeviceA-vlan20] quit
# Configure the uplink port Ten-GigabitEthernet 1/1/9 as a trunk promiscuous port of VLANs 10
and 20.
[DeviceA] interface ten-gigabitethernet 1/1/9
[DeviceA-Ten-GigabitEthernet1/1/9] port private-vlan 10 20 trunk promiscuous
[DeviceA-Ten-GigabitEthernet1/1/9] quit
# Assign the downlink port Ten-GigabitEthernet 1/1/5 to VLAN 22 and configure the port as a
host port.
[DeviceA] interface ten-gigabitethernet 1/1/5
[DeviceA-Ten-GigabitEthernet1/1/5] port access vlan 22
[DeviceA-Ten-GigabitEthernet1/1/5] port private-vlan host
[DeviceA-Ten-GigabitEthernet1/1/5] quit
# Assign the downlink port Ten-GigabitEthernet 1/1/7 to VLAN 12 and configure the port as a
host port.
[DeviceA] interface ten-gigabitethernet 1/1/7
[DeviceA-Ten-GigabitEthernet1/1/7] port access vlan 12
[DeviceA-Ten-GigabitEthernet1/1/7] port private-vlan host
[DeviceA-Ten-GigabitEthernet1/1/7] quit
# Configure the downlink port Ten-GigabitEthernet 1/1/6 as a trunk secondary port in VLANs 11
and 21.
[DeviceA] interface ten-gigabitethernet 1/1/6
[DeviceA-Ten-GigabitEthernet1/1/6] port private-vlan 11 21 trunk secondary
[DeviceA-Ten-GigabitEthernet1/1/6] quit
2.
Configure Device B:
# Create VLANs 11 and 21.
<DeviceB> system-view
[DeviceB] vlan 11
[DeviceB-vlan11] quit
[DeviceB] vlan 21
[DeviceB-vlan21] quit
# Configure Ten-GigabitEthernet 1/1/6 as a hybrid port to forward packets from VLANs 11 and
VLAN 21 tagged.
[DeviceB] interface ten-gigabitethernet 1/1/6
[DeviceB-Ten-GigabitEthernet1/1/6] port link-type hybrid
[DeviceB-Ten-GigabitEthernet1/1/6] port hybrid vlan 11 21 tagged
[DeviceB-Ten-GigabitEthernet1/1/6] quit
# Assign the port Ten-GigabitEthernet 1/1/8 to VLAN 11.
[DeviceB] interface ten-gigabitethernet 1/1/8
[DeviceB-Ten-GigabitEthernet1/1/8] port access vlan 11
[DeviceB-Ten-GigabitEthernet1/1/8] quit
# Assign the port Ten-GigabitEthernet 1/1/7 to VLAN 21.
[DeviceB] interface ten-gigabitethernet 1/1/7
167

Advertisement

Table of Contents
loading

Table of Contents