网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

交换机间相同vlan通信

时间:2024-10-11 23:41:09

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

交换机间相同vlan通信交换机间相同vlan通信交换机间相同vlan通信

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

交换机间相同vlan通信

6、验证配置:Switch#show vlan查看接口加入到的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模式

交换机间相同vlan通信

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模式

交换机间相同vlan通信

10、验证结果:

交换机间相同vlan通信
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com