Trunk promiscuous port configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 192
158
Trunk promiscuous port configuration example
Network requirements
As shown in
, configure the private VLAN feature to meet the following requirements:
•
VLANs 5 and 10 are primary VLANs on Device B. The uplink port GigabitEthernet 1/0/1 on
Device B permits the packets from VLANs 5 and 10 to pass through tagged.
•
On Device B, the downlink port GigabitEthernet 1/0/2 permits secondary VLAN 2. The downlink
port 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 GigabitEthernet 1/0/6 permits secondary VLAN 6. The downlink
port 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 48 Network diagram
Configuration procedure
1.
Configure Device B:
# Configure VLANs 5 and 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.
[DeviceB] vlan 2 to 3
[DeviceB] vlan 6
G
E1/
0/2
G
E
1
/0
/3
G
E
1
/0
/6
G
E1/0/8