重复文本清洗全攻略:从Python脚本到Linux命令的实践指南
2026/9/3 19:34:26
PC2:IP:192.168.20.1 24位掩码 网关:192.168.20.254
5.验证截图
6.本次实验使用命令:
LSW1:VLAN batch 10 20
int e 0/0/1
port link-type access
port default VLAN 10
int e 0/0/2
port link-type access
port default VLAN20
int g 0/0/1
port link-type trunk
port trunkallow-passVLAN 10 20
AR1:
int g 0/0/0.1
dot1q termination vid 10
ip add 192.168.10.254 24
arp broadcast enable
int g 0/0/0.1
dot1q termination vid20
ip add 192.168.20.254 24
arp broadcast enable
PC1:
Ping 192.168.20.1 -t