1. 组网需求 • Device B 上的VLAN 5 和VLAN 10 为Primary VLAN,其上行端口GigabitEthernet1/0/1需要允许VLAN 5 和VLAN 10 的报文携带VLAN Tag 通过。 • Device B 的下行端口GigabitEthernet1/0/2 允许Secondary VLAN 2 通过, GigabitEthernet1/0/3 允许Secondary VLAN 3 通过,VLAN 2 和VLAN 3 映射到Primary VLAN 5。 • Device B 的下行端口GigabitEthernet1/0/6 允许Secondary VLAN 6 通过, GigabitEthernet1/0/8 允许Secondary VLAN 8 通过,VLAN 6 和VLAN 8 映射到Primary VLAN 10。 • 从 Device A 看,下接的Device B 只有VLAN 5 和VLAN 10。

2.配置Device B

3.配置Device A

4.验证