
168
Private VLAN configuration example in trunk promiscuous
mode
Network requirements
As shown in
:
•
VLAN 5 and VLAN 10 are primary VLANs on Device B. The uplink port Ten-GigabitEthernet 1/0/1
permits the packets from VLAN 5 and VLAN 10 to pass through tagged.
•
On Device B, the downlink port Ten-GigabitEthernet 1/0/2 permits secondary VLAN 2, and the
downlink port Ten-GigabitEthernet 1/0/3 permits secondary VLAN 3. Secondary VLANs 2 and 3
are associated with primary VLAN 5.
•
On Device B, the downlink port Ten-GigabitEthernet 1/0/6 permits secondary VLAN 6, and the
downlink port Ten-GigabitEthernet 1/0/8 permits secondary VLAN 8. Secondary VLANs 6 and 8
are associated with primary VLAN 10.
•
Device A is aware of only VLANs 5 and 10 on Device B.
Figure 46
Network diagram
Configuration procedure
1.
Configure Device B:
# Configure VLAN 5 and VLAN 10 as primary VLANs.
<DeviceB> system-view
[DeviceB] vlan 5
[DeviceB-vlan5] private-vlan primary
[DeviceB-vlan5] quit
[DeviceB] vlan 10
[DeviceB-vlan10] private-vlan primary
[DeviceB-vlan10] quit
# Create VLANs 2, 3, 6, and 8, which are to be configured as secondary VLANs.
[DeviceB] vlan 2 to 3
XG
E1
/0
/2
XGE1/0/8