149
•
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 46 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
[DeviceB-vlan6] quit
[DeviceB] vlan 8
[DeviceB-vlan8] quit
# Associate secondary VLANs 2 and 3 with primary VLAN 5.
[DeviceB] vlan 5
[DeviceB-vlan5] private-vlan secondary 2 to 3
[DeviceB-vlan5] quit
# Associate secondary VLANs 6 and 8 with primary VLAN 10.
Summary of Contents for H3C S7500E-X
Page 70: ...57 ...