欢迎来到天天文库
浏览记录
ID:34734669
大小:239.96 KB
页数:5页
时间:2019-03-10
《二层交换机实现vlan之间的通信》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、二层交换机之间vlan透传实验配置二层交换机vlan透传实验图实验需求:要求不同交换机之间的vlan进行通信。设备需求:交换机2台(S3700),主机4台,直连线5根实验目的:实现不同交换机之间的vlan通信。实验步骤:如下步骤一:system-viewEntersystemview,returnuserviewwithCtrl+Z.[Quidway]sysnameSwitchA[SwitchA]vlanbatch23Info:Thisoperationmaytakeafewseconds.Pleasewaitforamoment...done.[SwitchA]interf
2、aceethernet0/0/1[SwitchA-Ethernet0/0/1]portlink-typeaccess[SwitchA-Ethernet0/0/1]portdefaultvlan2[SwitchA-Ethernet0/0/1]interfaceethernet0/0/2[SwitchA-Ethernet0/0/2]portlink-typeaccess[SwitchA-Ethernet0/0/2]portdefaultvlan3[SwitchA-Ethernet0/0/2]interfaceethernet0/0/3[SwitchA-Ethernet0/0/3]portlink-
3、typetrunk[SwitchA-Ethernet0/0/3]porttrunkallow-passvlan23[SwitchA-Ethernet0/0/3]quit[SwitchA]interfacevlan2[SwitchA-Vlanif2]ipaddress192.168.1.1224[SwitchA-Vlanif2]interfacevlan3[SwitchA-Vlanif3]ipaddress192.168.2.2824[SwitchA-Vlanif3]quit[SwitchA]returnsaveThecurrentconfigurationwillbewrit
4、tentothedevice.Areyousuretocontinue?[Y/N]YNowsavingthecurrentconfigurationtotheslot0.Oct13201417:17:03-08:00SwitchA%%01CFM/4/SAVE(l)[58]:TheuserchoseYwhendecidingwhethertosavetheconfigurationtothedevice.Savetheconfigurationsuccessfully.验证:ping192.168.1.15PING192.168.1.15:56databytes,pressCT
5、RL_CtobreakReplyfrom192.168.1.15:bytes=56Sequence=1ttl=255time=20msReplyfrom192.168.1.15:bytes=56Sequence=2ttl=255time=20msReplyfrom192.168.1.15:bytes=56Sequence=3ttl=255time=10msReplyfrom192.168.1.15:bytes=56Sequence=4ttl=255time=50msReplyfrom192.168.1.15:bytes=56Sequence=5ttl=255time=30ms---192.16
6、8.1.15pingstatistics---5packet(s)transmitted5packet(s)received0.00%packetlossround-tripmin/avg/max=10/26/50msping192.168.2.15PING192.168.2.15:56databytes,pressCTRL_CtobreakReplyfrom192.168.2.15:bytes=56Sequence=1ttl=255time=30msReplyfrom192.168.2.15:bytes=56Sequence=2ttl=255time=50msReplyfr
7、om192.168.2.15:bytes=56Sequence=3ttl=255time=10msReplyfrom192.168.2.15:bytes=56Sequence=4ttl=255time=50msReplyfrom192.168.2.15:bytes=56Sequence=5ttl=255time=10ms---192.168.2.15pingstatistics---5packet
此文档下载收益归作者所有