Network intermediate vlan experiment

1. Experimental requirements
Insert picture description here
2. Topological construction
Insert picture description here
3. Divide areas. Divide
PC1 and PC3 into vlan2, PC2 into vlan3, PC4 into vlan4, PC5 into vlan5, and PC6 into vlan6
Insert picture description here

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
Insert picture description here
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
Insert picture description here
5. DHCP automatically assigns IP Address
Insert picture description here
successfully obtained IP
Insert picture description here
6. The whole network is reachable
Insert picture description here

Guess you like

Origin blog.csdn.net/m0_53067332/article/details/112622412