欢迎来到天天文库
浏览记录
ID:56870761
大小:401.50 KB
页数:8页
时间:2020-07-16
《经典-华为实验手册.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、在下列习题中,请严格按照拓扑图中的端口要求进行配置。要求能够实现题目的要求;够根据教师的要求,显示各种配置参数;能够根据教师要求进行测试。一、交换机端口trunk、聚合;VLAN的划分要求:1.PCA和PCC同属于一个VLAN10且能相互通信。2.PCB和PCD同属于另一个VLAN20且能相互通信。3.两台S3100用两根100M网线通过Trunk链路互连,并使用端口聚合功能增加链路带宽4.配置VLAN:SwitchA&SwitchBa)[SwitchA]vlan10b)[SwitchA-vlan1
2、0]portethernet1/0/1c)[SwitchA-vlan10]vlan20d)[SwitchA-vlan20]portethernet1/0/25.配置接口[SwitchA]interfaceethernet1/0/23a)[SwitchA-Ethernet1/0/23]speed100b)[SwitchA-Ethernet1/0/23]duplexfullc)[SwitchA-Ethernet1/0/23]portlink-typetrunkd)[SwitchA-Ethernet1/0
3、/23]porttrunkpermitvlan10to20e)[SwitchA-Ethernet1/0/24]speed100f)[SwitchA-Ethernet1/0/24]duplexfullg)[SwitchA-Ethernet1/0/24]portlink-typetrunkh)[SwitchA-Ethernet1/0/24]porttrunkpermitvlan10to206.配置端口聚合a)[SwitchA]link-aggregationgroup1modemanualb)[Swit
4、chA]interfaceethernet1/0/23c)[SwitchA-Ethernet1/0/23]portlink-aggregationgroup1d)[SwitchA-Ethernet1/0/23]interfaceethernet1/0/24e)[SwitchA-Ethernet1/0/24]portlink-aggregationgroup17.设置主机IP地址二、要求:已知:上图中SwitchA、SwitchB是二层交换机,SwitchC是三层交换机,请配置三台交换机,使得:PCA
5、,PCB,PCC,PCD分别处在不同的VLAN中(VLAN10,VLAN20),通过设置上层三层交换机SWITCHB,实现两个VLAN之间的互相访问。l首先,把SWTICHA的23端口和SWITCHC的23端口做好TRUNK,并允许VLAN10和VLAN20通过;把SWTICHB的24端口和SWITCHC的24端口做好TRUNK,并允许VLAN10和VLAN20通过。l然后在SwitchC中做下列步骤:1、创建(进入)VLAN10[SwitchC]vlan102、创建(进入)VLAN虚接口10[Sw
6、itchCA]interfaceVlan-interface103、为VLAN虚接口10配置IP地址[SwitchC-vlan-interface10]ipaddress10.1.1.1255.255.255.04、创建(进入)VLAN20[SwitchC]vlan205、创建(进入)VLAN虚接口20[SwitchCA]interfaceVlan-interface206、为VLAN虚接口10配置IP地址[SwitchC-vlan-interface20]ipaddress10.1.2.1255.
7、255.255.0l配置主机1.PCA:ip:10.1.1.2;mask:255.255.255.0;gateway:10.1.1.12.PCB:ip:10.1.2.2;mask:255.255.255.0;gateway:10.1.2.13.PCC:ip:10.1.1.3;mask:255.255.255.0;gateway:10.1.1.14.PCD:ip:10.1.2.3;mask:255.255.255.0;gateway:10.1.2.1三、端口镜像组网需求:在交换机上设置镜像功能,使端口
8、e1/0/2监控端口e1/0/1的报文1.设置镜像组[SWA]mirroring-group1local2.设置端口E1/0/2端口为监控端口、E1/0/1为源端口对进出报文都进行监控[SWA]mirroring-group1monitor-porte1/0/2[SWA]mirroring-group1mirroring-porte1/0/1both也可以在端口视图下设置:[SWA]interfacee1/0/1[SWA-Ethernet1/0/1]mirroring
此文档下载收益归作者所有