187 
[DeviceA-vlan20] quit 
# Configure the uplink port (Ten-GigabitEthernet 1/0/5) as a trunk promiscuous port of VLANs 
10 and 20. 
[DeviceA] interface ten-gigabitethernet 1/0/5 
[DeviceA-Ten-GigabitEthernet1/0/5] port private-vlan 10 20 trunk promiscuous 
[DeviceA-Ten-GigabitEthernet1/0/5] quit 
# Assign downlink port Ten-GigabitEthernet 1/0/1 to VLAN 22 and configure the port as a host 
port. 
[DeviceA] interface ten-gigabitethernet 1/0/1 
[DeviceA-Ten-GigabitEthernet1/0/1] port access vlan 22 
[DeviceA-Ten-GigabitEthernet1/0/1] port private-vlan host 
[DeviceA-Ten-GigabitEthernet1/0/1] quit 
# Assign downlink port Ten-GigabitEthernet 1/0/3 to VLAN 12 and configure the port as a host 
port. 
[DeviceA] interface ten-gigabitethernet 1/0/3 
[DeviceA-Ten-GigabitEthernet1/0/3] port access vlan 12 
[DeviceA-Ten-GigabitEthernet1/0/3] port private-vlan host 
[DeviceA-Ten-GigabitEthernet1/0/3] quit 
# Configure downlink port Ten-GigabitEthernet 1/0/2 as a trunk secondary port of VLANs 11 
and 21. 
[DeviceA] interface ten-gigabitethernet 1/0/2 
[DeviceA-Ten-GigabitEthernet1/0/2] port private-vlan 11 21 trunk secondary 
[DeviceA-Ten-GigabitEthernet1/0/2] 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/0/2 as a hybrid port, and assign it to VLANs 11 and 21 as a 
tagged VLAN member. 
[DeviceB] interface ten-gigabitethernet 1/0/2 
[DeviceB-Ten-GigabitEthernet1/0/2] port link-type hybrid 
[DeviceB-Ten-GigabitEthernet1/0/2] port hybrid vlan 11 21 tagged 
[DeviceB-Ten-GigabitEthernet1/0/2] quit 
# Assign Ten-GigabitEthernet 1/0/3 to VLAN 11. 
[DeviceB] interface ten-gigabitethernet 1/0/3 
[DeviceB-Ten-GigabitEthernet1/0/3] port access vlan 11 
[DeviceB-Ten-GigabitEthernet1/0/3] quit 
# Assign Ten-GigabitEthernet 1/0/4 to VLAN 21. 
[DeviceB] interface ten-gigabitethernet 1/0/4 
[DeviceB-Ten-GigabitEthernet1/0/4] port access vlan 21 
[DeviceB-Ten-GigabitEthernet1/0/4] quit 
3.  Configure Device C: 
# Create VLANs 10 and 20. 
<DeviceC> system-view 
[DeviceC] vlan 10