---restore content starts---
1. Simple LAN Build
Switch: 2960 s1
Terminal equipment: Generic PC
Configuration PC1 Click >>descktop>>ip configuration IP 192.168.0.1 255.255.255.0 port FastEthernet0 fastethernet 0/1
PC2 Click >>descktop>>ip configuration IP 192.168.0.2 255.255.255.0 port FastEthernet0 fastethernet 0/2
PC3 Click >>descktop>>ip configuration IP 192.168.0.3 255.255.255.0 port FastEthernet0 fastethernet 0/3
PC4 Click >>descktop>>ip configuration IP 192.168.0.4 255.255.255.0 port FastEthernet0 fastethernet 0/4
Verify
PC1 Click >>descktop>>commond Prompt Enter ping 192.168.0.2 ping 192.168.0.3 ping 192.168.0.4
Switch view
Click Switch >>CLI Show mac-address-table
2.vlan Division
Click Switch >>CLI
Enable access to privileged mode
Config T enters configuration mode
VLAN 10 creating a virtual LAN VLAN 10
VLAN 20 creating a virtual LAN VLAN 20
Inertface f 0/1 Enter Port F0/1
Switch Access VLAN 10 adds F 0/1 to the LAN VLAN 10
Inertface f 0/2 Enter Port F0/2
Switch Access VLAN 10 adds F 0/2 to the LAN VLAN 10
Inertface f 0/3 Enter Port F0/3
Switch Access VLAN 20 adds F 0/3 to the LAN VLAN 20
Inertface f 0/4 Enter Port F0/4
Switch Access VLAN 20 adds F 0/4 to the LAN VLAN 20
IP unchanged PC1 poc2 belongs to VLAN 10; PC3 PC4 belongs to VLAN 20
3.trunk
Set up the network above
After the network is set up (f 0/5 represents the port of two switch interconnects)
S1 Configuring interface 0/5 switch mode trunk
S1 Configuring interface 0/5 switch mode trunk
Cisco Packet Tracer