《华为交换机hybrid端口实验.docx》由会员分享,可在线阅读,更多相关《华为交换机hybrid端口实验.docx(3页珍藏版)》请在第壹文秘上搜索。
1、华为交换机hybrid端口实验交换机hybrid端口实验要求:1、pci、pc2和pc3都能够访问SerVer2、PCI能够访向pc33、pc2-能访问pc3如图所示配置终端地址system-viewHuaweiundoinfo-centerenableHuaweivlanbatch10203040批量建立VlanlO203040HuaweiHuaweiinterfacegO/O/1Huawei-GigabitEthernetO0lportlink-typehybrid设置端口类型为hybrid(默认)Huawei-GigabitEthernetO0lporthybridpvidvlan10把
2、0/0/1端口的pvid设置为10(把该端口加入到vlanl中)Huawei-GigabitEthernetO0lporthybriduntaggedvlan103040设置VIanlo3040的流量不打标签能够通过端口1Huawei-GigabitEthernetOOlquitHuaweiintg002Huawei-GigabitEthernet002portlink-typehybridHuawei-GigabitEthernet002porthybridpvidvlan20Huawei-GigabitEthernet002porthybriduntaggedvlan2040Huawei-
3、GigabitEthernetOO2quitHuaweiintg003Huawei-GigabitEthernet0031portlink-typehybridHuawei-GigabitEthernet0031porthybridpvidvlan30Huawei-GigabitEthernet003porthybriduntaggedvlan103040Huawei-GigabitEthernetOO3quitHuaweiintg0024Huawei-GigabitEthernet0024portlink-typehybridHuawei-GigabitEthernet0024porthyb
4、ridpvidvlan40Huawei-GigabitEthernet0024porthybriduntaggedvlan10203040Huawei-GigabitEthernet0024quit测试:2pC2基甜留孟命令行组播UDP发包工具串口12 3 4 5 q=q=q=q=q= e e e e ePmg1From1From1From1From1From11.1.1.4Plngstatistics5packet(s)transmitted5packet(s)received0.00%packetlossround-tripmin/avg/max=0/15/46msPOpmg1.11.3P
5、ing 1From 1From 1From 1FrOxn 1From 132databytes.PressCtrl-CDestinationhostunreachableDestinationhostunreachableDestinationhostunreachable2:Destinationhostunreachable2:DestinationhostunreachableSijg三命令行组皤UDf馍包工具ffiPingFromFromFrom1.11.11.11.14:4:4:32databytesrPressCtrlCtobreakFrom11From114:bytes=32by
6、tes=32bytes=32bytes=32bytes=32seq=lseq=2seq=3Seq=4seq=5ttl=255ttl=255ttl=255ttl=255ttl=255time=31mstimelmstime=16mstIme=I6mstimeping1.1.1.2Ping From From From From From1.11.11.11.11.11.12: 32 data bytesr Press CtrleC to break3: Destination host3: Destination host3: Destination host3: Destination hostunreachable unreachable unreachable unreachable3: Destination host unreachable11.1.2pingstatistics