Trunk promiscuous and trunk secondary port configuration
example
Network requirements
As shown in
VLANs 10 and 20 are primary VLANs on Device A. The uplink port Ten-GigabitEthernet 1/0/5 on
•
Device A permits the packets from VLANs 10 and 20 to pass through tagged.
VLAN 1 1, VLAN 12, VLAN 21, and VLAN 22 are secondary VLANs on Device A.
•
The downlink port Ten-GigabitEthernet 1/0/2 permits the packets from VLAN 1 1 and VLAN 21
to pass through tagged.
The downlink port Ten-GigabitEthernet 1/0/1 permits VLAN 22.
The downlink port Ten-GigabitEthernet 1/0/3 permits VLAN 12.
•
Secondary VLANs 1 1 and 12 are associated with primary VLAN 10.
Secondary VLANs 21 and 22 are associated with primary VLAN 20.
•
Figure 40 Network diagram
Configuration procedure
1.
Configure Device A:
# Configure VLANs 10 and 20 as primary VLANs.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] private-vlan primary
[DeviceA-vlan10] quit
[DeviceA] vlan 20
[DeviceA-vlan20] private-vlan primary
[DeviceA-vlan20] quit
Figure
40, configure the private VLAN feature to meet the following requirements:
144