1. Experimental requirements
2. Topological construction
3. Divide areas. Divide
PC1 and PC3 into vlan2, PC2 into vlan3, PC4 into vlan4, PC5 into vlan5, and PC6 into vlan6
4. Switch configuration
hybrid configuration
[sw1-Ethernet0/0/3]port link-type hybrid
[sw1-Ethernet0/0/3]port hybrid tagged vlan 3
[sw1-Ethernet0/0/3]port hybrid untagged vlan 2 to 6
Trunk configuration
[sw1]interface Ethernet0/0/4
[sw1-Ethernet0/0/4]port link-type trunk
[sw1-Ethernet0/0/4]port trunk allow-pass vlan all
5. DHCP automatically assigns IP Address
successfully obtained IP
6. The whole network is reachable