交换机间相同vlan通信
1、要求:1.配置好PC计算机IP和子网掩码。2.把Fa0/1端口划分给valn10,Fa0/2端口划分给vlan20。3.pc1能ping通pc3。



4、验证配置:Switch#show vlan查看接口加入到的vlan

6、验证配置:Switch#show vlan查看接口加入到的vlan

8、pc1能ping通pc3。Swit罕铞泱殳ch-A(左)Switch>enabSwitch#conf tE荏鱿胫协nter configuration commands, one per line. End with CNTL/Z.Switch(config)#int g0/1 Switch(config-if)#swit mode trunk 把g0/1端口设置为:trunk模式

9、Switch-B(右)Switch>enabSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#int g0/1 Switch(config-if)#swit mode trunk 把g0/1端口设置为:trunk模式

10、验证结果:
